Greetings all -
I think I am close to having this right, but certainly am missing something. I am trying to calculate Max Drawdown of a portfolio, and have the following:
CS2 =(running total equity curve)
CT2 =max(CS2,CT1)
CU2 =IFERROR(IF(CS2=CT2,0,MAX(CU1,CT2-CS2)),"")
CV2 =if(and(CU1>0,CU2=0),CU1,"")
I then planned to use =Max(CV:CV) in a final cell to get the largest drawdown.
But something just isn't right….CT and CU appear to be doing what they should, but CV is producing no results at all. And just FYI, there are some blanks in CS, and row 1 are headers.
I am also open to doing this some other way entirely, though I do not wish to use VBA to do it.
Perhaps someone here will catch my mistake and I will be very grateful for the help if you do!
Thanks so much -
I think I am close to having this right, but certainly am missing something. I am trying to calculate Max Drawdown of a portfolio, and have the following:
CS2 =(running total equity curve)
CT2 =max(CS2,CT1)
CU2 =IFERROR(IF(CS2=CT2,0,MAX(CU1,CT2-CS2)),"")
CV2 =if(and(CU1>0,CU2=0),CU1,"")
I then planned to use =Max(CV:CV) in a final cell to get the largest drawdown.
But something just isn't right….CT and CU appear to be doing what they should, but CV is producing no results at all. And just FYI, there are some blanks in CS, and row 1 are headers.
I am also open to doing this some other way entirely, though I do not wish to use VBA to do it.
Perhaps someone here will catch my mistake and I will be very grateful for the help if you do!
Thanks so much -