ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   countif function?? (https://www.excelbanter.com/excel-worksheet-functions/15418-countif-function.html)

sbrimley

countif function??
 
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




Dave R.

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)


"sbrimley" wrote in message
...
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






Bob Phillips

or

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

--

HTH

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


"Dave R." wrote in message
...
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)


"sbrimley" wrote in message
...
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








Bob Phillips

Don't need the &s

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

--

HTH

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


"Dave R." wrote in message
...
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)


"sbrimley" wrote in message
...
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








sbrimley

Thank you Bob, your formula worked perfect!

"Bob Phillips" wrote:

Don't need the &s

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

--

HTH

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


"Dave R." wrote in message
...
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)


"sbrimley" wrote in message
...
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










All times are GMT +1. The time now is 03:07 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com