+ Reply to Thread
Results 1 to 6 of 6

Standard Deviation removing Max & Min

Hybrid View

  1. #1
    Registered User
    Join Date
    01-17-2014
    Location
    Seattle
    MS-Off Ver
    excel 2010
    Posts
    3

    Standard Deviation removing Max & Min

    Looking for a formula to pull the standard deviation of a series of numbers after removing the highest and lowest value from the series.

    Thanks!

  2. #2
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,864

    Re: Standard Deviation removing Max & Min

    Array (committed Ctrl+Shift+Enter) formula:
    =STDEV.S(IF((A1:A5=MAX(A1:A5))+(A1:A5=MIN(A1:A5))=0,A1:A5,""))
    see attachement
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    01-17-2014
    Location
    Seattle
    MS-Off Ver
    excel 2010
    Posts
    3

    Re: Standard Deviation removing Max & Min

    Thank you very much! I do, however, receive a different answer when I manually remove the high and low numbers from the array using STDEV.S alone without Min and Max. Could you help explain this for me?

    16 19 39 35 55 29 29 66(high) 24 35 57 21 14 62 7 (low) =STDEV.S(IF((A1:O1=MAX(A1:O1))+(A1:O1=MIN(A1:O1))=0,A1:O1,"")) = 17.7264

    16 19 39 35 55 29 29 24 35 57 21 14 62 = STDEV.S(A1:M1) = 15.9301

  4. #4
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,864

    Re: Standard Deviation removing Max & Min

    Hi, you simply not used all of my answer (this part bold below IS important).
    Quote Originally Posted by Kaper View Post
    Array (committed Ctrl+Shift+Enter) formula
    see again new attached file and note that if you position cursor in A7 in the formula line you will see {=...}

    PS. Check if this number (here 15.93...) is what you expect - in excel you have several STD DEV functions like Sample std dev used above, but also STDEV.P for Population std dev, etc.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    01-17-2014
    Location
    Seattle
    MS-Off Ver
    excel 2010
    Posts
    3

    Re: Standard Deviation removing Max & Min

    Thank you both. Both formulas work fine.

    What I failed to include in my criteria is that each row of data has a minimum of one single cell left blank appearing randomly throughout which should be interpreted as a non-number/text ("") rather than zero. In other words there are sixteen columns in each row of data but only a maximum of fifteen instances of actual data to count in each row. There can be as many as 14 blank cells in each row which should not be counted.


    I should tell you what I am using this for in my very important research project!.... This is to analyze fantasy football data on the 2013 NFL regular season to pull the standard deviations of things like number of receptions per game played, number of rush attempts per game, etc etc. The idea being with each relevant stat, I want to locate the top performers of the season who had the most consistent output from game to game rather than the players who had a few monster games mixed in with several duds who posted high season totals but had high volatility/std deviations.

    I need to pull out the high and low games of the year to smooth the number and also treat games they didn't play in due to injury or the bye week as non-qualifiers for the formula.

    Thanks so much!
    John

  6. #6
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,710

    Re: Standard Deviation removing Max & Min

    Try this

    =STDEV.S(IF((A1:O1<>MAX(A1:O1))*(A1:O1<>MIN(A1:O1)),A1:O1,""))

+ 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. Standard Deviation
    By jackinv in forum Excel General
    Replies: 2
    Last Post: 07-08-2012, 03:54 AM
  2. Excel 2007 : standard deviation
    By Jerseynjphillypa in forum Excel General
    Replies: 6
    Last Post: 06-15-2012, 12:21 PM
  3. Standard Deviation
    By mar_bun in forum Excel General
    Replies: 1
    Last Post: 06-29-2010, 03:19 AM
  4. Standard Deviation
    By King_Junior in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-16-2009, 03:53 PM
  5. [SOLVED] standard deviation
    By Arne Hegefors in forum Excel General
    Replies: 7
    Last Post: 08-06-2006, 08:15 AM

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