+ Reply to Thread
Results 1 to 6 of 6

Geomean range

  1. #1
    Stephen
    Guest

    Geomean range

    Hi,

    I am using this formula to calculate a geomean, but would like to omit line
    13 and 17 and 19 in the o9:o24 range.

    {=EXP(AVERAGE(LN(1+O9:O24)))-1}

    --
    Stephen

  2. #2
    N Harkawat
    Guest

    Re: Geomean range

    Stephen
    Will this work
    =geomean(O9:O12,O14:O16,O18,O20:O24)

    Or is there a criterion to exclude those(like exclude all negatives etc..)


    "Stephen" <[email protected]> wrote in message
    news:[email protected]...
    > Hi,
    >
    > I am using this formula to calculate a geomean, but would like to omit
    > line
    > 13 and 17 and 19 in the o9:o24 range.
    >
    > {=EXP(AVERAGE(LN(1+O9:O24)))-1}
    >
    > --
    > Stephen




  3. #3
    Stephen
    Guest

    Re: Geomean range

    I have tried that, but I do have negatives and therefore need the original
    formula

    "N Harkawat" wrote:

    > Stephen
    > Will this work
    > =geomean(O9:O12,O14:O16,O18,O20:O24)
    >
    > Or is there a criterion to exclude those(like exclude all negatives etc..)
    >
    >
    > "Stephen" <[email protected]> wrote in message
    > news:[email protected]...
    > > Hi,
    > >
    > > I am using this formula to calculate a geomean, but would like to omit
    > > line
    > > 13 and 17 and 19 in the o9:o24 range.
    > >
    > > {=EXP(AVERAGE(LN(1+O9:O24)))-1}
    > >
    > > --
    > > Stephen

    >
    >
    >


  4. #4
    Stephen
    Guest

    Re: Geomean range

    I don't understand why the formula won't allow me to add several ranges after
    each other?

    "N Harkawat" wrote:

    > Stephen
    > Will this work
    > =geomean(O9:O12,O14:O16,O18,O20:O24)
    >
    > Or is there a criterion to exclude those(like exclude all negatives etc..)
    >
    >
    > "Stephen" <[email protected]> wrote in message
    > news:[email protected]...
    > > Hi,
    > >
    > > I am using this formula to calculate a geomean, but would like to omit
    > > line
    > > 13 and 17 and 19 in the o9:o24 range.
    > >
    > > {=EXP(AVERAGE(LN(1+O9:O24)))-1}
    > >
    > > --
    > > Stephen

    >
    >
    >


  5. #5
    N Harkawat
    Guest

    Re: Geomean range

    To exclude the negatives from your formula try this :

    {=PRODUCT(1+IF(O9:O24>0,O9:O24))^(1/COUNTIF(O9:O24,">0"))-1}
    array entered



    "Stephen" <[email protected]> wrote in message
    news:[email protected]...
    >I don't understand why the formula won't allow me to add several ranges
    >after
    > each other?
    >
    > "N Harkawat" wrote:
    >
    >> Stephen
    >> Will this work
    >> =geomean(O9:O12,O14:O16,O18,O20:O24)
    >>
    >> Or is there a criterion to exclude those(like exclude all negatives
    >> etc..)
    >>
    >>
    >> "Stephen" <[email protected]> wrote in message
    >> news:[email protected]...
    >> > Hi,
    >> >
    >> > I am using this formula to calculate a geomean, but would like to omit
    >> > line
    >> > 13 and 17 and 19 in the o9:o24 range.
    >> >
    >> > {=EXP(AVERAGE(LN(1+O9:O24)))-1}
    >> >
    >> > --
    >> > Stephen

    >>
    >>
    >>




  6. #6
    Harlan Grove
    Guest

    Re: Geomean range

    Stephen wrote...
    >I am using this formula to calculate a geomean, but would like to omit

    line
    >13 and 17 and 19 in the o9:o24 range.
    >
    >{=EXP(AVERAGE(LN(1+O9:O24)))-1}


    =EXP(AVERAGE(LN(1+O9:012),LN(1+O14:O16),LN(1+O18),LN(1+O20:O24)))-1
    or

    =EXP(SUM(LN(1+O9:O24)*{1;1;1;1;0;1;1;1;0;1;0;1;1;1;1;1})/13)-1


+ 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