+ Reply to Thread
Results 1 to 4 of 4

Max Drawdown + implementation

  1. #1
    Registered User
    Join Date
    06-29-2017
    Location
    UK
    MS-Off Ver
    2010
    Posts
    24

    Max Drawdown + implementation

    Hi,

    First things first, I have never used a macro/VBA before, so i do not know what im doing.
    I've searched for an answer to my problem (below), but don't know how to go about adding it to my worksheet, setting the correct range, putting it into a cell etc..- so i need help with the solution AND getting it into my sheet...

    it's just a simple maximum drawdown problem which i could do 'manually', but because the sheet im producing is meant to be saving time, it'd like to have a single cell that will calculate maximum drawdown for its own row - as part of a table.

    i've attached a sample sheet, but on my actuall worksheet the dates go back to Oct-86 and not every series goes back the same length of time

    any help is appreciated

    EDIT: Solved myself, just had to learn how to use VBA
    Attached Files Attached Files
    Last edited by ocannon1; 08-21-2017 at 05:35 AM.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Max Drawdown + implementation

    Not sure how VBA plays into this. But from the sample provided, the MAX functions seems straightforward:

    =MAX(Table1[@[Oct-12]:[Jun-13]])

    or

    =MAX(D8:L8)
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    06-29-2017
    Location
    UK
    MS-Off Ver
    2010
    Posts
    24

    Re: Max Drawdown + implementation

    Quote Originally Posted by JBeaucaire View Post
    Not sure how VBA plays into this. But from the sample provided, the MAX functions seems straightforward:

    =MAX(Table1[@[Oct-12]:[Jun-13]])

    or

    =MAX(D8:L8)
    because maximum drawdown is a measurement of peak-to-trough over time from the performance data and not simply the maximum/minimum number from a set of data.
    Last edited by ocannon1; 08-21-2017 at 09:26 AM. Reason: quote

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Max Drawdown + implementation

    Since the Questions and Answers serve as a learning tool for others, could you please post the VBA solution that solved your draw down puzzle?

    Thanks!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Drawdown- calculate size and length of multiple drawdown phases (non-VBA)
    By chipps24 in forum Excel Formulas & Functions
    Replies: 20
    Last Post: 04-01-2024, 09:06 AM
  2. Looking for implementation advice
    By Ethawks in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 06-13-2014, 04:56 AM
  3. LngCnt Implementation
    By stacys01 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-17-2013, 12:20 PM
  4. [SOLVED] Interface Implementation
    By KamilZet in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-28-2013, 08:32 AM
  5. Excel 2007 : Remove zero awaiting IF implementation
    By 13sydwest in forum Excel General
    Replies: 5
    Last Post: 06-02-2011, 04:11 AM
  6. if function implementation
    By core in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-09-2011, 05:32 AM

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.6.0 RC 1