archiveinvestment formulas