Results 1 to 4 of 4
  1. #1
    mike02 is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jun 2012
    Posts
    245

    expression help (Drawdown)

    Hey,
    I have a query set up like this: (comes from internal table "Monthly_Returns")
    Code:
    CompanyName.....Return.....NAV....drawdown
    aaa............-0.829......91.71.....xxx (Ignore)
    aaa............0.0908.....100.79...Start
    aaa............0.001.......100.89
    aaa............0.051.......105.99
    aaa............0.0666.....112.65
    aaa...........-0.0029....125.39
    aaa...........-0.0921....125.10
    aaa...........-0.0628....115.89
    aaa...........-0.0457....109.61
    bbb...........-0.0021....99.79....xxx (Ignore)
    bbb...........-0.0021....99.58....Start Again
    bbb...........-0.0021....99.37
    bbb...........-0.0018....99.19
    bbb...........-0.0017....99.02
    bbb............0.0554.....104.56
    bbb...........-0.0514....99.42
    The Drawdown formula would be this in excel:
    first aaa Is cell A2
    =(A3/Max(A$2$:A2))-1
    My question is how would you reference the starting point, and for each drawdown value you continue to have you Max list selection growing by one:S
    Also, i need it to start over for each Company Name:S
    thanks in advance,

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    Don't really understand what you mean by Drawdown and can't figure out the calculation. I tried to create spreadsheet and test formula but it doesn't make sense. Cell A3 is text - company name.

    In plain English, what do you want to calculate? What would be the result in the drawdown column?
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    mike02 is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jun 2012
    Posts
    245
    my apologizes, It should be C not A in the formula, Also, I am calculating the Max Drawdown, Other words the Largest cummulative lost.

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    Should the range be reference to the Return column ($B$2:B2)?

    What would be the correct result? Show column with results of calc.

    Why is the first record for each company 'ignored'?
    Last edited by June7; 07-27-2012 at 05:16 PM.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 1
    Last Post: 01-05-2012, 05:10 PM
  2. LIKE '* [expression] '
    By melanie in forum Access
    Replies: 6
    Last Post: 12-28-2011, 04:03 AM
  3. Expression Help
    By bboyd in forum Access
    Replies: 3
    Last Post: 11-25-2011, 06:11 AM
  4. Expression
    By jltm8 in forum Access
    Replies: 5
    Last Post: 11-03-2011, 10:09 AM
  5. Looking for help with an expression
    By CoachBarker in forum Queries
    Replies: 3
    Last Post: 11-25-2010, 05:17 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums