+ Reply to Thread
Results 1 to 5 of 5

Count number of people between certain ages.

  1. #1
    Registered User
    Join Date
    05-19-2010
    Location
    Dhaka, Bangladesh
    MS-Off Ver
    Excel 2003
    Posts
    59

    Count number of people between certain ages.

    Dear all,

    Good noon. I've a group of people of different ages. Now I want count how many number people are in age between 05-10, 10-15, 15-20, 20-25 etc. What will be the formula in this regard, please help.

  2. #2
    Registered User
    Join Date
    01-23-2020
    Location
    Spain
    MS-Off Ver
    2007
    Posts
    22

    Re: Count number of people between certain ages.

    Say Ages are in column B:B

    =sumifs($B:$B,">"&5,$B:$B,"<="&10)
    note. this counts if age = 10 but does not count if age = 5

    =sumifs($B:$B,">"&10,$B:$B,"<="&15)
    note. this counts if age = 15 but does not count if age = 10

  3. #3
    Forum Contributor
    Join Date
    03-18-2014
    Location
    Singapore
    MS-Off Ver
    Excel 2016 / 2019
    Posts
    251

    Re: Count number of people between certain ages.

    Use lookup

    =LOOKUP(F2,$B$2:$B$5,$A$2:$A$5)
    Attached Files Attached Files
    Christopher Yap

  4. #4
    Registered User
    Join Date
    05-19-2010
    Location
    Dhaka, Bangladesh
    MS-Off Ver
    Excel 2003
    Posts
    59

    Re: Count number of people between certain ages.

    Thanks a lot.

  5. #5
    Forum Expert
    Join Date
    10-15-2018
    Location
    MA, USA
    MS-Off Ver
    2010, 2019
    Posts
    1,616

    Re: Count number of people between certain ages.

    If I am understanding correctly this is tailor made for using the frequency() function.

    Ages are randomly set within the range 1 to 80 in cells B2: B26 (extend this range as far as you need)
    C2:C17 are the age bins per your 5 year requirement from 0-5 through 75-80

    Select D2:D18, click on the formula bar and CTRL-SHIFT-ENTER: (is an array formula)

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    That's it. Counts per bin are now in D2:D18.

    See attached
    Attached Files Attached Files
    Last edited by GeoffW283; 08-07-2020 at 03:13 PM.
    Geoff

    Did I help significantly? If you wish, click on * Add Reputation to say thanks.
    If your problem has been resolved please select ?Solved? from the Thread Tools menu

+ 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. [SOLVED] How to count the number of people in two different columns
    By Croprock in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 11-27-2019, 10:28 PM
  2. Count the number of people per classification between two dates
    By Philipdjhd in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-21-2014, 01:08 AM
  3. Replies: 1
    Last Post: 05-30-2013, 01:32 PM
  4. I need to count the number of people who work before a certain time.
    By nickmessick1 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 10-15-2012, 04:02 PM
  5. How to count number of people per time interval
    By chinkygirl in forum Excel General
    Replies: 1
    Last Post: 02-11-2012, 01:33 PM
  6. Sumproduct-count the number of people
    By Zippy2005 in forum Excel General
    Replies: 3
    Last Post: 04-19-2007, 02:49 AM
  7. Replies: 6
    Last Post: 01-20-2006, 01:45 PM

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