Find the Maximum number in a series of Data

mayanksaini11

New Member
Joined
Aug 7, 2014
Messages
9
I have an Excel file in which I record my equity Portfolio value on a daily basis at the end of every day. I have a column named 'Drawdown' where I calculate the portfolio value from the peak portfolio value. When the value is below zero that means my portfolio is running below the peak. On the contrary, where the Drawdown value is zero, it means that the portfolio value is at its peak.
Now with this, I have a series of values in the Drawdown column. What I am trying to do is to find a minimum value in a series of values whenever I am in the drawdown phase. The output that I am trying to display in column E is mentioned below: Please suggest to me the formula to display the below output in column E in excel 2010.
A1B1C1D1E1
Trade DateDayPortfolio ValueDrawDownMax DrawDown
15/03/2023Wednesday16,848-
16/03/2023Thursday2,075-14,773
20/03/2023Monday-369-17,217Minimum
21/03/2023Tuesday1,313-15,535
23/03/2023Thursday5,900-10,948
24/03/2023Friday8,431-8,417
27/03/2023Monday4,929-11,919
28/03/2023Tuesday1,008-15,840
29/03/2023Wednesday6,295-10,553
31/03/2023Friday3,821-13,027
03/04/2023Monday18,594-
05/04/2023Wednesday20,683-
06/04/2023Thursday28,711-
11/04/2023Tuesday33,247-
12/04/2023Wednesday38,362-
18/04/2023Tuesday36,708-1,653
19/04/2023Wednesday35,694-2,667Minimum
20/04/2023Thursday43,699-
24/04/2023Monday38,567-5,132Minimum
25/04/2023Tuesday40,795-2,904
26/04/2023Wednesday43,977-
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
so you are asking for the "minimum" or "MaxDrawDown" to appear in Column E?
And just compare column C to column D?
 
Upvote 0
what determines how minimum is to appear, you only have one Value in column C that is negative, and many more than 3 in column D that are negative, but only 3 "minimum" in column E.
 
Upvote 0
so you are asking for the "minimum" or "MaxDrawDown" to appear in Column E?
And just compare column C to column D?
Yes, trying to calculate the max drawdown. Each DD phase has a separate minimum value 0 max DD. Like in my data, there are 3 DD phases that have 3 different max DD values.
 
Upvote 0
Yes, trying to calculate the max drawdown. Each DD phase has a separate minimum value 0 max DD. Like in my data, there are 3 DD phases that have 3 different max DD values.
Can you restate that, but using column numbers instead of DD, Value, or Phase? I just see column C and column D, and I cannot figure out what you want to have done.
 
Upvote 0
is the Max that is being compared somewhere else? I thought that is what you wanted calculated, but I don't know how to come up with something that says if C is less than D, then Mimimum, or D is less than C then Minimum because the examples do not fit that arithmetic.
 
Upvote 0
24/04/2023 Monday 38,567 -5,132 Minimum
25/04/2023 Tuesday 40,795 -2,904

For instance, why is 24/4 in minimum but 25/4 not in minimum? There is something missing in how you determinie the minimum that you have not explained very clearly.
 
Upvote 0
ach DD phase has a separate min
what determines how minimum is to appear, you only have one Value in column C that is negative, and many more than 3 in column D that are negative, but only 3 "minimum" in column E.
If you try to calculate based on Column C then in the 1st DD phase the peak was 16848 which came down to -369 (Max DD point in the 1st DD phase). Similarly, in the 2nd DD phase, the peak was 38362 which came down to 35694 (Max DD point in the 2nd DD phase) before it made another peak. Likewise in the 3rd DD phase, the peak was 43699 which came down to 38567 (Max DD point in the 3rd DD phase)
 
Upvote 0
is the Max that is being compared somewhere else? I thought that is what you wanted calculated, but I don't know how to come up with something that says if C is less than D, then Mimimum, or D is less than C then Minimum because the examples do not fit that arithmetic.
In the Excel file column D is derived from formulas =C3 - MAX(C$2:C3). The comparison is to happen within the series of DD, 1st phase of DD is within Cells D4 to D12, 2nd phase of DD is within Cells D18 to D19 and then 3rd phase of DD is within Cells D21 to D22.
Max DD.png
 
Upvote 0
24/04/2023 Monday 38,567 -5,132 Minimum
25/04/2023 Tuesday 40,795 -2,904

For instance, why is 24/4 in minimum but 25/4 not in minimum? There is something missing in how you determinie the minimum that you have not explained very clearly.
on 24/4 The portfolio value made a Max DD point or Lowest Point or Minimum point i.e. 38567 of Portfolio value in the 3rd DD phase. on 25/04 the Portfolio value recovered to 40795 which is up from the lowest point. Therefore 24/04 is the Max DD point and not 25/04. I hope I could make my point clear.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top