+ Reply to Thread
Results 1 to 3 of 3

Count if greater than but less than

Hybrid View

  1. #1
    Registered User
    Join Date
    01-09-2006
    Location
    Massachusetts
    MS-Off Ver
    Version 2402 Build 16.0.17328.20124)
    Posts
    61

    Count if greater than but less than

    Hi,
    I had posted this question earlier, but had not worded it as a count formula.
    What I want to do is count in a column numbers greater than 13 but less than 20.
    I am also trying to write another formula that counts numbers equal to or higher than 1 but less than 12. In other words, I do not want this count to include any cells that contain 0.

    Thank for you help in advance.
    Last edited by Janie; 08-10-2009 at 10:24 AM.

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

    Re: Count if greater than but less than

    Not clear which version of XL you're running but one way:

    =SUM(COUNTIF(A:A,{">13",">=20"})*{1,-1})

    Re: >=1 and < 12 as above but substitute >13 for >=1 and >=20 to >=13

    If you're using XL2007 you can use COUNTIFS

    =COUNTIFS(A:A,">13",A:A,"<20")

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

    Re: Count if greater than but less than

    You should continue on the other post anyways.. so that the original responder isn't left hanging...

    http://www.excelforum.com/excel-gene...less-than.html
    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.

+ 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