COUNTIFS function

cmboruch

New Member
Joined
Mar 12, 2014
Messages
5
For some reason, I just can't figure this out. I have a column with class grades and I need to count how many students fall between .63 and .77. I used a countifs formula, but it's not calculating it properly.

I am using the same range for both counts and I think it is counting some of the cells twice.

[TABLE="width: 387"]
<tbody>[TR]
[TD="align: right"]80%[/TD]
[TD][/TD]
[TD]>78%[/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD="align: right"]90%[/TD]
[TD][/TD]
[TD]between .63 and .77[/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD="align: right"]93%[/TD]
[TD][/TD]
[TD]between .48 and .62[/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD="align: right"]33%[/TD]
[TD][/TD]
[TD]<.61[/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD="align: right"]83%[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]83%[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD="align: right"]100%[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]0%[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]57%[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
If "B1:B100" contains your grade range comments.

=countif(B1:B100,"between .63 and .77")

If it's the 'range' of grades you're counting and not your comments and it's in "A1:A100"

=countif(A1:a100,"<=.77")-countif(a1:a100,"<=.63")
 
Last edited:
Upvote 0
Are you counting GRADES or counting COMMENTS of the Grades?

If your grades are more than 2 decimals like 77.1% or .771 then it won't count them.
 
Upvote 0
what count are you expecting to return?

=COUNTIFS($A$2:$A$10,">=.63",$A$2:$A$10,"<=0.71")

looking at your dataset zero would be correct
 
Upvote 0

Forum statistics

Threads
1,226,730
Messages
6,192,699
Members
453,747
Latest member
tylerhyatt04

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top