Count If Formula Three Criteria

mdonovan890

New Member
Joined
Dec 22, 2016
Messages
24
I am trying to create a formula that will count the number of results that fall within a certain range with text. For example all Canine results that are greater than 1 but less than 7
the formula I am looking for would return a value of 2 in Cell H2.

The formula I have returns an error: =COUNTIFS(D1:D1000,"Canine", B1:B1000,">="&1,B1:B10000,">"&7)

1qpyc0.jpg
 
Last edited:

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
Close

=COUNTIFS(D1:D1000,"Canine", B1:B1000,">="&1,B1:B10000,">"&7)
Probably should be
=COUNTIFS(D1:D1000,"Canine", B1:B1000,">="&1,B1:B10000,"<"&7)
 
Upvote 0

Forum statistics

Threads
1,223,882
Messages
6,175,166
Members
452,615
Latest member
bogeys2birdies

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