+ Reply to Thread
Results 1 to 2 of 2

Using Statistics on Segmented Data

  1. #1
    Registered User
    Join Date
    04-15-2013
    Location
    NYC
    MS-Off Ver
    Excel 2007
    Posts
    84

    Using Statistics on Segmented Data

    I have a large data set with people's age and weight. How would I get the standard deviation for every 5 year cohort (ie 0-4, 5-9, etc).

    Is there any smart way of doing this?

  2. #2
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591

    Re: Using Statistics on Segmented Data

    Hi

    Assuming that your data is in the range A2:B93 then
    0-4: =STDEV(IF(A2:A93<=4,B2:B93,""))
    5-9: =STDEV(IF((A2:A93>=5)*(A2:A93<=9),B2:B93,""))
    10-14: =STDEV(IF((A2:A93>=10)*(A2:A93<=14),B2:B93,""))

    Note that these formulas have to be array entered (ctrl, shift, enter).

    HTH

    rylo

+ 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