+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    03-13-2009
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    66

    High Water Mark(Draw down Calculation)

    Trying to use the High water Mark method in order to establish a draw down, from new high to low.In the sheet attached looking at "Simple Example" Column V gives the Time series. So the highs occur at 36,48,56,61,70 and 75.What I am trying to calculate is the lowest values between 2 highs. For example between 1st High(36) and 2nd High(48) the minimum value was 12.Between the 2nd High (48) and 3rd High(56) the minimum value was 20 and so on. Thus the draw down between 1st and 2nd High was 1st High-Min value(1st high-2ndhigh)=36-12=24.

    Thus in a whole time series I need to produce an automated calculation rather than manually looking at the values and by hand selecting the ranges.

    I have made an attempt with the complex example side.
    Attached Files Attached Files

  2. #2
    Forum Moderator DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Suffolk, UK
    MS-Off Ver
    2002, 2007 & 2010
    Posts
    21,379

    Re: High Water Mark(Draw down Calculation)

    It's not clear to me if you were looking to compress all of your calcs into one calculation... that was my take...

    If we use the data in A & B in your sample file then set:

    Code:
    C3: 1
    
    C4:
    =IF($B4>IF(COUNT($C$3:$C3)=1,$B3,LOOKUP(9.99999999999999E+307,$C$3:$C3,$B$3:$B3)),IF(COUNT($C$3:$C3)=1,$B4,LOOKUP(9.99999999999999E+307,$C$3:$C3,$B$3:$B3))-MIN(INDEX($B$3:$B3,MATCH(9.99999999999999E+307,$C$3:$C3)):$B3),"")
    copied down
    Based on my analysis C will replicate your results in N without need for any data other than that stored in B.

    Was the above approach your intention ?
    Last edited by DonkeyOte; 07-02-2009 at 04:02 PM.

  3. #3
    Forum Moderator DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Suffolk, UK
    MS-Off Ver
    2002, 2007 & 2010
    Posts
    21,379

    Re: High Water Mark(Draw down Calculation)

    In hindsight this is a little simpler than most Local Min / Max analysis given the new Max is not determined by a threshold from the last Local Min rather it is simply when the value exceeds last Max, meaning it must always be the biggest number thus far... we can therefore simplify somewhat to:

    Code:
    C4
    =IF(AND($A4>1,$B4>MAX($B$3:$B3)),MAX($B$3:$B3)-MIN(INDEX($B$3:$B3,MATCH(9.99999999999999E+307,$C$3:$C3)):$B3),"") 
    copied down

  4. #4
    Registered User
    Join Date
    03-13-2009
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    66

    Re: High Water Mark(Draw down Calculation)

    Thanks a lot works perfectly!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.2.0