countif function??

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am needing a formula that will count how many children received a certain
test score within a specific range. I was thinking to use the countif
function but how do you include ranges
For example:
Level 1 would be children who received a test score between 0-11 (so I am
looking for how many children received a score within that range)

Using excel 2002

Thanks
 
You can use the countif function by counting the number 0 and above, then
subtracting the count of those over 11.

=COUNTIF(A1:A10,">="&0)-COUNTIF(A1:A10,">"&11)
 
or

=SUMPRODUCT(--(A1:A10>=0),--(A1:A10< =11))

--

HTH

RP
(remove nothere from the email address if mailing direct)
 
Don't need the &s

=COUNTIF(A1:A10,">=0")-COUNTIF(A1:A10,">11")

--

HTH

RP
(remove nothere from the email address if mailing direct)
 
Thank you Bob, your formula worked perfect!

Bob Phillips said:
Don't need the &s

=COUNTIF(A1:A10,">=0")-COUNTIF(A1:A10,">11")

--

HTH

RP
(remove nothere from the email address if mailing direct)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top