+ Reply to Thread
Results 1 to 7 of 7

Issue annualizing returns

  1. #1
    Registered User
    Join Date
    05-26-2018
    Location
    London
    MS-Off Ver
    2010
    Posts
    3

    Issue annualizing returns

    Hello,

    I currently have a spreadsheet that consist of monthly returns from 1993 - 1998. However, the data is categorised into different period of which some do not reach a year of longevity and/or transition into another period before the calendar year is over?

    How can I go about calculating the annualised returns in this case? I have attached an example of the file that I am working with
    Attached Files Attached Files

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: Issue annualizing returns

    Hi, welcome to the forum

    what would some sample answers look like?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Expert
    Join Date
    05-01-2014
    Location
    California, US
    MS-Off Ver
    Excel 2010
    Posts
    1,795

    Re: Issue annualizing returns

    @mena137.... I think you want to calculate the annualized return in each category for each period.

    For example, for category 1 in period 1, ostensibly the annualized return is:

    =(B33/B8) ^ (12 / DATEDIF($A$8,$A$33,"m")) - 1

    or

    { =PRODUCT(1+H8:H33) ^ (12 / DATEDIF($A$8,$A$33,"m")) - 1 }

    Formulas displayed with curly brackets {...} are array-entered. Type the formulas without the curly brackets, then press ctrl+shift+Enter instead of just Enter. Excel displays the curly brackets in the Formula Bar to indicate that the formula is array-entered.

    If the formulas in column H were of the form =B9/B8, the second formula can simplified to the following normally-entered formula (just press Enter as usual): =PRODUCT(H8:H33) ^ (12 / DATEDIF($A$8,$A$33,"m")) - 1 .

    I prefer the first formula, if you have the monthly prices.

    However, DATEDIF might too precise when calculating the number of months. For example, for period 2, =DATEDIF($A$33,$A$41,"m") returns 7, whereas I suspect you would like 8. To correct for that, use the following pradigm for all DATEDIF calculations:

    =DATEDIF(EOMONTH($A$33,-1)+1, EOMONTH($A$41,-1)+1, "m")

    So, the annualized returns for category 1 in each period is:

    period 1, N8: =(B33/B8) ^ (12 / DATEDIF(EOMONTH($A$8,-1)+1, EOMONTH($A$33,-1)+1, "m")) - 1
    period 2, N34: =(B41/B33) ^ (12 / DATEDIF(EOMONTH($A$33,-1)+1, EOMONTH($A$41,-1)+1, "m")) - 1
    period 3, N42: =(B57/B41) ^ (12 / DATEDIF(EOMONTH($A$41,-1)+1, EOMONTH($A$57,-1)+1, "m")) - 1
    period 4, N58: =(B64/B57) ^ (12 / DATEDIF(EOMONTH($A$57,-1)+1, EOMONTH($A$64,-1)+1, "m")) - 1

    You might need to reset the cell format after entering the formula.

    For each period, copy the formula in column N into columns M:R for categories 2 through 5.

    IMHO, it is inconsistent to include row 33 in period 1, since there is no price before that period, as there is for the other periods. Instead, I would start period 1 in row 34. Alternatively, of course, insert the prices for May 31 1993 before row 33, and alter the return calculations appropriately.
    Last edited by joeu2004; 06-01-2018 at 02:52 PM. Reason: minor

  4. #4
    Registered User
    Join Date
    05-26-2018
    Location
    London
    MS-Off Ver
    2010
    Posts
    3

    Re: Issue annualizing returns

    Thanks joeu2004. I think that is exactly what I what is looking for.

    However, I have come one more issue I would like to calculate the Maximum Drawdown for a noncontinuous data set which contains different states (very bad, bad, gok, good).

    So basically I would like to calculate the Maximum Drawdown for the each state but as you can see the dates are not continuous so I cannot figure out how to get around this without having to manually do this?

    I have attached the example file for ease.

    Thanks
    Attached Files Attached Files

  5. #5
    Forum Expert
    Join Date
    05-01-2014
    Location
    California, US
    MS-Off Ver
    Excel 2010
    Posts
    1,795

    Re: Issue annualizing returns

    I wonder if the following would be sufficient for your purposes:

    { =MIN(IF($B$2:$B$360=1,F2:F360)) - MAX(IF($B$2:$B$360=1,F2:F360)) }


    Formulas displayed with curly brackets {...} are array-entered. Type the formulas without the curly brackets, then press ctrl+shift+Enter instead of just Enter. Excel displays the curly brackets in the Formula Bar to indicate that the formula is array-entered.

    Technically, that is not the correct calculation of MDD, as I understand it, to wit (per Investopedia): "A maximum drawdown (MDD) is the maximum loss from a peak to a trough of a portfolio, before a new peak is attained. Maximum Drawdown (MDD) is an indicator of downside risk over a specified time period".

    In other words, I believe we should look at each peak-to-trough series separately. That goes beyond the scope of what I willing to handle right now. And I'm not sure how that fits with your selection methodology for each state.

  6. #6
    Registered User
    Join Date
    05-26-2018
    Location
    London
    MS-Off Ver
    2010
    Posts
    3

    Re: Issue annualizing returns

    Ok yes in the past I have used a helper column and have done for example for each of the states (assuming data runs from B2 to B55)

    Drawdwon = B2/(MAX($B$2:B2)-1
    Drawdwon = B2/(MAX($B$2:B3)-1
    ....etc
    Drawdown = B55/(MAX($B$2:B55)-1

    And then from the results obtained I have done MIN(Drawdown). The issue here is the fact that data is not continuous for the different states so there would need to be a way to incorporate in the formula wether the following date is continous or not

  7. #7
    Forum Expert
    Join Date
    05-01-2014
    Location
    California, US
    MS-Off Ver
    Excel 2010
    Posts
    1,795

    Re: Issue annualizing returns

    Errata....
    Quote Originally Posted by joeu2004 View Post
    { =MIN(IF($B$2:$B$360=1,F2:F360)) - MAX(IF($B$2:$B$360=1,F2:F360)) }
    After reading about MDD in more detail, the "possibly applicable" formula would be:

    { =MIN(IF($B$2:$B$360=1,F2:F360)) / MAX(IF($B$2:$B$360=1,F2:F360)) - 1 }

    But as I noted previously, that might not be the appropriate MDD formula. It depends on how the subset of rows 2:360 (defined by 1 in column B, I presume) is selected.


    Quote Originally Posted by mena137 View Post
    I have used a helper column and have done for example for each of the states (assuming data runs from B2 to B55) [corrected]

    Drawdwon = B2/(MAX($B$2:B2)-1
    Drawdwon = B3/(MAX($B$2:B3)-1
    ....etc
    Drawdown = B55/(MAX($B$2:B55)-1

    And then from the results obtained I have done MIN(Drawdown). The issue here is the fact that data is not continuous
    Again, I am not entirely gronking how you are selecting rows based on column B, and whether the data fits the MDD model. I have not looked at the numbers in detail. Off-hand, I do not believe your method calculates the MDD, even if the data were continuous. Refer to the example in https://www.investopedia.com/terms/m/maximum-drawdown-mdd.asp.

    Nevertheless, for your calculation, I wonder (wild guess) if the following would do the trick.

    The helper formula for "very bad" (column B) category 1 (column F) should be:

    L2: { =IF(B2=1, F2 / MAX(IF($B$2:B2=1, F$2:F2)) - 1, "") }

    Copy L2 down through L360.

    Then =MIN(L2:L360) ignores the rows that are not selected by column B because MIN ignores text (the null string).

    The use of F$2 instead of $F$2 allows for copying L2:L360 into M2:M360 for "very bad" category 2 (column G).

+ 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. Excel SUM function always returns a zero issue.
    By TinyDamooge in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-03-2015, 03:41 PM
  2. userform checkboxes for calculations of annualizing income and expenses
    By union in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-22-2014, 11:49 PM
  3. Help needed with annualizing data - urgent - Excel 2010
    By pcoty1953 in forum Excel General
    Replies: 0
    Last Post: 05-15-2012, 02:32 PM
  4. Annualizing 6 mos. of data
    By amsth in forum Outlook Formatting & Functions
    Replies: 1
    Last Post: 08-23-2011, 12:41 PM
  5. IF Statement Issue - returns another number
    By jonnya in forum Excel General
    Replies: 1
    Last Post: 01-25-2011, 06:29 AM
  6. Annualizing Data
    By Brandy in forum Excel General
    Replies: 3
    Last Post: 02-01-2010, 02:51 PM
  7. [SOLVED] Annualizing data
    By Julie in forum Excel General
    Replies: 7
    Last Post: 12-10-2005, 01:40 PM

Tags for this Thread

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