View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips Bob Phillips is offline
external usenet poster
 
Posts: 10,593
Default How to count a range of number to a given parameter or criteria.

=COUNTIF(A1:A20,"0")-COUNTIF(A1:A20,"1")

etc.

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)



"Saul" wrote in message
...
Hi,

I have a range (A1:A20) that contains numbers and I want to know how many
fall between 0 and 1, 1 and 2, 3 and 4, and greater than 4. I did the
countif
function but it does not let me use more than 1 criteria. Can someone let
me
know.

--
Thank you.