+ Reply to Thread
Results 1 to 3 of 3

Count age range formula

  1. #1
    Registered User
    Join Date
    05-30-2008
    Posts
    32

    Count age range formula

    I have a 2007 spreadsheet where a person's age is entered into a cell. I need to count how many are between 26-30, 31-35, 36-40, etc. Please tell me what formula I should use? Thanks.
    Last edited by cpope; 02-11-2010 at 02:46 PM.

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

    Re: Count age range formula

    One route given use of 2007 would be to use COUNTIFS

    =COUNTIFS($A$2:$A$100,">=26",$A$2:$A$100,"<31")

    You could also consider using a Pivot Table ...

    Assuming Ages are in Column A (header Age in A1) ... go to Insert -> Pivot Table -> highlight your data...

    Then:

    Set Age as Row Label

    Set Age as Data Field set to COUNT (ie using field twice over)

    Now Right click on any Age value and select Group ...
    Set Min to be the lowest age you're interested in (ie lowest boundary - eg 26)
    Set Max to be the highest boundary point you're interest in (eg 80)
    Set Interval (eg 5)

  3. #3
    Registered User
    Join Date
    05-30-2008
    Posts
    32

    Re: Count age range formula

    Thank you!

+ 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