Drawdown Nightmare

oskarrakso

New Member
Joined
Dec 2, 2023
Messages
7
Office Version
  1. 2021
Platform
  1. Windows
Before I start - sorry for my mistakes in English.

In C1 I would like count drawdown from fixed range (offset from A10), I would like to copy that formula to C2 etc.

If A10 = 3 range would be B1:B4 that's easy (40-20) = 50% drawdown. What if A10 = 6? (Range would be B1:B7. Simple max or mins will not work because lowest value is older than peak.

That drives me crazy. Help please.
Screenshot_20231203-023749.png
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
It is not clear from your example what you are trying to do.
Is the minus 20 always the row ?
How are you deciding what other number to use ? What was the expected result of your 2nd Example with the range B1:B7 ?
 
Upvote 0
It is not clear from your example what you are trying to do.
Is the minus 20 always the row ?
How are you deciding what other number to use ? What was the expected result of your 2nd Example with the range B1:B7 ?
Hello Alex, Result from range B1:B7(formula typed into C1, and $a$10=6) is 100 --> 19 (81% stop)
Another example - $A$10 = 2, formula typed into C2. (Range is C2:C4(C2+A10), result is 0.
 
Upvote 0
I afraid that unless you are able to explain the actual logic, I am not going to be able to provide a way of doing it in Excel.
(I am also guessing that the C2:C4 is meant to be B2:B4)
 
Upvote 0
I afraid that unless you are able to explain the actual logic, I am not going to be able to provide a way of doing it in Excel.
(I am also guessing that the C2:C4 is meant to be B2:B4)
Yes sorry about that. Basically this formula need to find biggest possibile percentage drop. It cannot go back on time.
 
Upvote 0
See if this is along the lines of what you are after:

20231204 Drawdown calc oskarrakso.xlsx
ABC
1New Data2081.0%
2Older -140
3Older -219
4Older -319
5Older -4100
6Older -5100
7Older -62
8
9offset
106
Sheet1
Cell Formulas
RangeFormula
C1C1=LET(rInit,B$1:B$7, rEnd,INDEX(rInit,$A$10), rFull,B$1:rEnd, maxVal,MAX(rFull), rowMax,MATCH(maxVal,rFull,0), minVal,MIN(B$1:INDEX(rInit,rowMax)), (maxVal-minVal)/maxVal)
 
Upvote 0

Forum statistics

Threads
1,215,101
Messages
6,123,095
Members
449,095
Latest member
gwguy

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