+ Reply to Thread
Results 1 to 5 of 5

Age Band Formula

  1. #1
    Registered User
    Join Date
    05-01-2008
    Location
    Sheffield
    Posts
    47

    Age Band Formula

    Hi,

    Help required.

    Looking to calculate the following age bands from a huge list of data;

    18 - 24
    25 - 34
    35 - 44

    Have tried most things, but am now stuck.

    This should be easy!

    Can anyone help?

    Please.

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675
    What do you have, dates of birth or ages?

    What do you want to do, count how many fall into each category?

    If you have ages in F2:F1000, for instance you can count how many fall between 18 and 24 with this formula

    =SUMPRODUCT((F2:F1000>=18)*(F2:F1000<=24))

  3. #3
    Registered User
    Join Date
    05-01-2008
    Location
    Sheffield
    Posts
    47
    I have a list of ages. The range is 18 - 40

    So would like to band them in the mentioned bands.

    Some like =if(F2>=18<=24,"18-24" & so on...


    What you have posted has helped. But isn't eactly what I need. But hey, something I've learnt.

    Any further help would be appreciated.

    newbie13.

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Try something like:

    Please Login or Register  to view this content.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  5. #5
    Registered User
    Join Date
    05-01-2008
    Location
    Sheffield
    Posts
    47

    Cool

    Thank you v.much dude.

    You are a genius.


+ 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