countif question

Brown

Board Regular
Joined
Sep 14, 2009
Messages
200
Office Version
  1. 365
Good Morning, and thanks for the help.

I am working with a string of 169 grades (numbers), >90, <70, 80-89, 70-79
I am good with countif on the >, < but need help with those two ranges.
Is countif the best formula to use, and if so how to i use it for the ranges, and if not what would you suggest?

Thanks again for the help, you guys always come through and I have learned so much on here.
Have a nice day
Brown
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
Something like
=COUNTIFS(A:A,">=80",A:A,"<=89")
 
Upvote 0
Hey,

For ranges like that I prefer SUMPRODUCT,

=SUMPRODUCT((A:A>=80)*(A:A<=89))

Will return how many numbers in column A are between 80 and 89
 
Upvote 0
AWESOME!!
Thank you guys so very much.
I will give these a try right now.

Have a great day and thanks for the help
Brown
 
Upvote 0
Glad we could help & thanks for the feedback
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,240
Members
452,621
Latest member
Laura_PinksBTHFT

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