+ Reply to Thread
Results 1 to 9 of 9

Geometric Mean

Hybrid View

  1. #1
    Registered User
    Join Date
    02-04-2008
    Posts
    45

    Compound Average Return (geometric mean)

    Please help to find a single formula to calculate negative and positive stream of returns. The problem is that =geomean formula does not work with negative numbers.
    Here's an example on how to calculate geometric mean with 5 numbers:
    Stream of numbers: 0.5, -1.4, -6.5, 0.3, -2.7

    First step: I have to add 1 to all numbers (they are positive now)
    Second step: =Product (multiply all numbers)
    Third step (result): find 5th root(there are 5 numbers) of their product (or raise it to 1/5 power)

    I can substitute steps 2 & 3 with a formula =geomean() and the answer will be correct except it won't be negative...but i think there should be another solution, a single formula.
    Any idea? Thank you so much!
    Last edited by Sir08; 02-17-2008 at 09:07 PM. Reason: clarification

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320
    1 i believe that geometric mean only works with positive numbers
    2. how does adding 1 to -6.5 make it positive? it then = -5.5

  3. #3
    Forum Expert sweep's Avatar
    Join Date
    04-03-2007
    Location
    Great Sankey, Warrington, UK
    MS-Off Ver
    2003 / 2007 / 2010 / 2016 / 365
    Posts
    3,454
    Hi,

    You can calculate compound average return using the following array formula.

    Remember to use CTRL, SHIFT and ENTER to confirm it

    {=GEOMEAN(1+(A1:E1)/100)}

    NB This does assume that the numbers in the range A1:E1 are percentages.
    Rule 1: Never merge cells
    Rule 2: See rule 1

    "Tomorrow I'm going to be famous. All I need is a tennis racket and a hat".

  4. #4
    Registered User
    Join Date
    02-04-2008
    Posts
    45

    Compound average return

    Thank you Dave, the formula makes sense. For some reason i can't enter it even though i used your instructions....

  5. #5
    Forum Expert sweep's Avatar
    Join Date
    04-03-2007
    Location
    Great Sankey, Warrington, UK
    MS-Off Ver
    2003 / 2007 / 2010 / 2016 / 365
    Posts
    3,454
    No Worries,

    Type this into the cell:

    =GEOMEAN(1+(A1:E1)/100)

    Don't press enter yet. Hold down the CTRL and SHIFT keys, then tap ENTER. If done correctly, excel will display it like this:

    {=GEOMEAN(1+(A1:E1)/100)}

  6. #6
    Registered User
    Join Date
    02-04-2008
    Posts
    45
    Great, it works. One last thing: if my retures are negative (geomean formula does not accept 0s and negative #s), is there a way to go around it? thanks

+ Reply to Thread

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