+ Reply to Thread
Results 1 to 7 of 7

Excel 2007 : standard deviation

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    10-16-2011
    Location
    US
    MS-Off Ver
    Excel 2007
    Posts
    112

    standard deviation

    I would like to calculate the standard deviation for Total for all the capture date by item.

    So if the item name is the same, it should take the Total for all the Capture Date and calculate the standard deviation.

    I would like to figure out a way to do this with a formula. So I can copy the formula all the way down

    Is there a function similar to sumif for standard deviation
    Attached Files Attached Files
    Last edited by Jerseynjphillypa; 06-14-2012 at 02:27 PM.

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

    Re: standard deviation

    You want the standard deviation of the dates for a given item? That seems odd ...

    In any convenient cell, confirmed with Ctrl+Shift+Enter

    =STDEV(IF(B2:B31="A", A2:A31)) (returns 92.22)
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Forum Contributor
    Join Date
    10-16-2011
    Location
    US
    MS-Off Ver
    Excel 2007
    Posts
    112

    Re: standard deviation

    Thanks for all your help

  4. #4
    Forum Contributor
    Join Date
    10-16-2011
    Location
    US
    MS-Off Ver
    Excel 2007
    Posts
    112

    Re: standard deviation

    How would I be able to recalculate the standard deviation automatically if I filter by Name1 or Name2.

    So for example, if I filter by Name 2 by Brown, I want only the items that are filter by Name 2.

    So the standard deviation for Item B should be 52 and not 47.9 when Brown is filter.

    I would assume you use subtotal and your function above but I can't get it to work
    Attached Files Attached Files
    Last edited by Jerseynjphillypa; 06-14-2012 at 02:59 PM.

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

    Re: standard deviation

    If you filter col B on "B" (or whatever item you like), you can use

    =SUBTOTAL(7, Total)

  6. #6
    Forum Contributor
    Join Date
    10-16-2011
    Location
    US
    MS-Off Ver
    Excel 2007
    Posts
    112

    Re: standard deviation

    Thanks for the help again shg.

    Is there a way you can ONLY filter by Brown and then get the stdv calculated for each item under Brown

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

    Re: standard deviation

    Maybe, probably, but it seems like you're trying for some tortured hybrid of formulas and Autofilter.

    Maybe a calculated field for a pivot table, dunno.

+ 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