+ Reply to Thread
Results 1 to 9 of 9

Standard Deviation W/O Max+Min

  1. #1
    Registered User
    Join Date
    03-26-2007
    Location
    USA
    MS-Off Ver
    2000
    Posts
    32

    Standard Deviation W/O Max+Min

    Is there anyway to do a standard dev w/o the max + min in a range of numbers?
    Last edited by snapa; 06-22-2009 at 09:59 AM.

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Standard Deviation W/O Max+Min

    If we assume values are potentially in A1:A10

    =STDEV(LARGE($A$1:$A$10,ROW(INDIRECT("2:"&COUNT($A$1:$A$10)-1))))
    committed with CTRL + SHIFT + ENTER

  3. #3
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Standard Deviation W/O Max+Min

    Try:

    =STDEV(IF(A1:A10<>MAX(A1:A10),IF(A1:A10<>MIN(A1:A10),A1:A10)))

    where A1:A10 contain your number list

    Confirmed with CTRL+SHIFT+ENTER not just ENTER... you will see { } brackets appear.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  4. #4
    Registered User
    Join Date
    03-26-2007
    Location
    USA
    MS-Off Ver
    2000
    Posts
    32

    Re: Standard Deviation W/O Max+Min

    Worked! Much thanks!

    If you don't mind, could you explain the formula to me?

  5. #5
    Registered User
    Join Date
    03-26-2007
    Location
    USA
    MS-Off Ver
    2000
    Posts
    32

    Re: Standard Deviation W/O Max+Min

    NBVC, your method also worked. Thank you!

  6. #6
    Registered User
    Join Date
    03-26-2007
    Location
    USA
    MS-Off Ver
    2000
    Posts
    32

    Re: Standard Deviation W/O Max+Min

    Odd, using the two formulas, I'm getting two different sets of numbers.

  7. #7
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Standard Deviation W/O Max+Min

    NBVCs omits multiple values if there are several that are the max or min.
    Entia non sunt multiplicanda sine necessitate

  8. #8
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Standard Deviation W/O Max+Min

    If your values in A1:A10 are unique or you want to exclude all instances of the MAX / MIN number (ie if Max / Min value appears twice ignore all instances of said value) then I'd recommend NBVC's approach... my variant of the approach is to use the Largest x values... from 2nd largest to all but the smallest value.

  9. #9
    Registered User
    Join Date
    03-26-2007
    Location
    USA
    MS-Off Ver
    2000
    Posts
    32

    Re: Standard Deviation W/O Max+Min

    Ah thanks for the explanation DonkeyOte, your formula is exactly the one I need then.

+ 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