Multiple count IFs

dowcraig

New Member
Joined
Jan 14, 2009
Messages
36
I am trying to do an auto-stats sheet and need some help. We have assigned a value of HIGH and LOW based on a specific set of criteria.

I'm trying to get a formula that will count how many cells apply in the given criteria:

Count the number of sells in range of $Y$7:$Y$2478 that equals the sentence "LOW" but also falls within a specific date range in cells G1 and G2

G1= the beginning date of the range
G2= the end date of the range

Thanks for any help you can provide
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
Where are the dates? Assuming those are in column A you can use COUNTIFS like this:

=COUNTIFS($Y$7:$Y$2478,"LOW",$A$7:$A$2478,">="&G1,$A$7:$A$2478,"<="&G2)
 
Upvote 0
Thanks so much for the info. That really helped.

I'm now looking for a way to count how many things apply to this formula, but have a non-blank cell in column AO7 to AO2506. The non-blank cell would have have words in it, rather than numbers. My research is telling me that's not possible with a COUNTIFS formula, so if it's not, then I'd need to locate the number of cells within that range that have the words Dog or Cat.

Thanks again
 
Upvote 0
You can use a non-blank condition in COUNTIFS, using the criterion "<>" like this

=COUNTIFS($Y$7:$Y$2478,"LOW",$A$7:$A$2478,">="&G1,$A$7:$A$2478,"<="&G2,$AO$7:$AO$2478,"<>")

extend ranges as required but they all need to be the same size
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,820
Messages
6,181,154
Members
453,021
Latest member
Justyna P

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