I have a sheet which keeps a tally of profit, drawdown and the like and I am trying to do a simple calculation, but the answer seems way off.
In column CU, drawdown % is calculated. At present there are only 59,200 rows and row 22 is the first row of data.
This is the formula to work out the maximum drawdown. It is really just taking a maximum of the column
The response showing is 1724.57%, yet when I examine the CU column, the largest number in there is only 711.71%. How is it possible that the Max function of Aggregate can get this so wrong? Even if I change the formula to reflect just to the last current row of data, 59200, the answer is the same and wrong.
The formula in CU is a simple one to calculate the drawdown % from the drawdown $ amount in CT and the peak $ amount in CS
Here is a sample
In column CU, drawdown % is calculated. At present there are only 59,200 rows and row 22 is the first row of data.
This is the formula to work out the maximum drawdown. It is really just taking a maximum of the column
=AGGREGATE(4,5,$CU$22:CU300000)
The response showing is 1724.57%, yet when I examine the CU column, the largest number in there is only 711.71%. How is it possible that the Max function of Aggregate can get this so wrong? Even if I change the formula to reflect just to the last current row of data, 59200, the answer is the same and wrong.
The formula in CU is a simple one to calculate the drawdown % from the drawdown $ amount in CT and the peak $ amount in CS
=IF(CT22<>"",-CT23/CS23,"")
Here is a sample
Cell Formulas | ||
---|---|---|
Range | Formula | |
CR22:CR78 | CR22 | =AGGREGATE(9,5,$AD$21:AD22)+$CR$4 |
CS22:CS78 | CS22 | =AGGREGATE(4,5,$CR$21:CR22) |
CT22:CT78 | CT22 | =CR22-CS22 |
CU22:CU78 | CU22 | =IF(CT22<>"",-CT22/CS22,"") |