+ Reply to Thread
Results 1 to 8 of 8

count age ranges

  1. #1
    Forum Contributor
    Join Date
    01-25-2005
    Location
    Cardiff, Wales
    MS-Off Ver
    Mac 365 & M/S 365
    Posts
    107

    count age ranges

    Hi all,

    can someone please help, I'm trying to count the number of 18-21, 22-26, etc in a column. My attempt is =COUNTIF($I$3:$I$10,">=18") which counts the 18 y.o's and above, but not each oh the age ranges.
    I don't know how to get the other ages to calculate.

    many thanks
    Last edited by Clash; 06-13-2006 at 09:35 AM.

  2. #2
    Miguel Zapico
    Guest

    RE: count age ranges

    You may use try:
    =SUMPRODUCT(--($I$3:$I$10>=18),--($I$3:$I$10<22))
    Change the ranges and values as appropiate

    Hope this helps,
    Miguel.

    "Clash" wrote:

    >
    > Hi all,
    >
    > can someone please help, I'm trying to count the number of 18-21,
    > 22-26, etc in a column. My attempt is =COUNTIF($I$3:$I$10,">=18") which
    > counts the 18 y.o's and above, but not each oh the age ranges.
    > I don't know how to get the other ages to calculate.
    >
    > many thanks
    >
    >
    > --
    > Clash
    > ------------------------------------------------------------------------
    > Clash's Profile: http://www.excelforum.com/member.php...o&userid=18951
    > View this thread: http://www.excelforum.com/showthread...hreadid=551400
    >
    >


  3. #3
    Arvi Laanemets
    Guest

    Re: count age ranges

    Hi

    =COUNTIF($I$3:$I$10,">=18")-COUNTIF($I$3:$I$10,"<=21")


    --
    Arvi Laanemets
    ( My real mail address: arvi.laanemets<at>tarkon.ee )



    "Clash" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Hi all,
    >
    > can someone please help, I'm trying to count the number of 18-21,
    > 22-26, etc in a column. My attempt is =COUNTIF($I$3:$I$10,">=18") which
    > counts the 18 y.o's and above, but not each oh the age ranges.
    > I don't know how to get the other ages to calculate.
    >
    > many thanks
    >
    >
    > --
    > Clash
    > ------------------------------------------------------------------------
    > Clash's Profile:
    > http://www.excelforum.com/member.php...o&userid=18951
    > View this thread: http://www.excelforum.com/showthread...hreadid=551400
    >




  4. #4
    Bob Phillips
    Guest

    Re: count age ranges

    =COUNTIF($I$3:$I$10,">=18") -COUNTIF($I$3:$I$10,">21")

    etc.

    --

    HTH

    Bob Phillips

    (replace xxxx in the email address with gmail if mailing direct)

    "Clash" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Hi all,
    >
    > can someone please help, I'm trying to count the number of 18-21,
    > 22-26, etc in a column. My attempt is =COUNTIF($I$3:$I$10,">=18") which
    > counts the 18 y.o's and above, but not each oh the age ranges.
    > I don't know how to get the other ages to calculate.
    >
    > many thanks
    >
    >
    > --
    > Clash
    > ------------------------------------------------------------------------
    > Clash's Profile:

    http://www.excelforum.com/member.php...o&userid=18951
    > View this thread: http://www.excelforum.com/showthread...hreadid=551400
    >




  5. #5
    Arvi Laanemets
    Guest

    Re: count age ranges

    Hi

    =COUNTIF($I$3:$I$10,">=18")-COUNTIF($I$3:$I$10,"<=21")


    --
    Arvi Laanemets
    ( My real mail address: arvi.laanemets<at>tarkon.ee )



    "Clash" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Hi all,
    >
    > can someone please help, I'm trying to count the number of 18-21,
    > 22-26, etc in a column. My attempt is =COUNTIF($I$3:$I$10,">=18") which
    > counts the 18 y.o's and above, but not each oh the age ranges.
    > I don't know how to get the other ages to calculate.
    >
    > many thanks
    >
    >
    > --
    > Clash
    > ------------------------------------------------------------------------
    > Clash's Profile:
    > http://www.excelforum.com/member.php...o&userid=18951
    > View this thread: http://www.excelforum.com/showthread...hreadid=551400
    >




  6. #6
    Bob Phillips
    Guest

    Re: count age ranges

    =COUNTIF($I$3:$I$10,">=18") -COUNTIF($I$3:$I$10,">21")

    etc.

    --

    HTH

    Bob Phillips

    (replace xxxx in the email address with gmail if mailing direct)

    "Clash" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Hi all,
    >
    > can someone please help, I'm trying to count the number of 18-21,
    > 22-26, etc in a column. My attempt is =COUNTIF($I$3:$I$10,">=18") which
    > counts the 18 y.o's and above, but not each oh the age ranges.
    > I don't know how to get the other ages to calculate.
    >
    > many thanks
    >
    >
    > --
    > Clash
    > ------------------------------------------------------------------------
    > Clash's Profile:

    http://www.excelforum.com/member.php...o&userid=18951
    > View this thread: http://www.excelforum.com/showthread...hreadid=551400
    >




  7. #7
    Arvi Laanemets
    Guest

    Re: count age ranges

    Hi

    =COUNTIF($I$3:$I$10,">=18")-COUNTIF($I$3:$I$10,"<=21")


    --
    Arvi Laanemets
    ( My real mail address: arvi.laanemets<at>tarkon.ee )



    "Clash" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Hi all,
    >
    > can someone please help, I'm trying to count the number of 18-21,
    > 22-26, etc in a column. My attempt is =COUNTIF($I$3:$I$10,">=18") which
    > counts the 18 y.o's and above, but not each oh the age ranges.
    > I don't know how to get the other ages to calculate.
    >
    > many thanks
    >
    >
    > --
    > Clash
    > ------------------------------------------------------------------------
    > Clash's Profile:
    > http://www.excelforum.com/member.php...o&userid=18951
    > View this thread: http://www.excelforum.com/showthread...hreadid=551400
    >




  8. #8
    Bob Phillips
    Guest

    Re: count age ranges

    =COUNTIF($I$3:$I$10,">=18") -COUNTIF($I$3:$I$10,">21")

    etc.

    --

    HTH

    Bob Phillips

    (replace xxxx in the email address with gmail if mailing direct)

    "Clash" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Hi all,
    >
    > can someone please help, I'm trying to count the number of 18-21,
    > 22-26, etc in a column. My attempt is =COUNTIF($I$3:$I$10,">=18") which
    > counts the 18 y.o's and above, but not each oh the age ranges.
    > I don't know how to get the other ages to calculate.
    >
    > many thanks
    >
    >
    > --
    > Clash
    > ------------------------------------------------------------------------
    > Clash's Profile:

    http://www.excelforum.com/member.php...o&userid=18951
    > View this thread: http://www.excelforum.com/showthread...hreadid=551400
    >




+ 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