Count ifs

asaf27064

New Member
Joined
Jul 25, 2017
Messages
31
Hello
i have a list like this:(the list is an example)
yellow frog
green frog
frog
frog
special frog
frog with eyes
brown frog with eyes
frog with eyes
no frog with eyes

i want to use countifs to count all the cells with the word frog but if there is the word eyes in the cell dont count it
the value the need to be its 5
because the list has 9 frog but 4 are with the word "eyes" so its 5.
please help me!
Thanks
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
Re: Count ifs help!

Are those all one cell? "yellow frog" is in one single cell ?

Try
=COUNTIFS(A1:A100,"*frog*",A1:A100,"<>*eyes*")
 
Upvote 0
Re: Count ifs help!

Are those all one cell? "yellow frog" is in one single cell ?

Try
=COUNTIFS(A1:A100,"*frog*",A1:A100,"<>*eyes*")

Hello
Thank you very much for your quick answer.
yellow frog is in one single cell
it works but i want you to help me in this case also if you can:
instead of eyes i have the word ey"es (with quotation mark in the middle of the word
i want the same formula you gave me but now do not count ey"es instead of eyes

Thank you again!
 
Upvote 0

Forum statistics

Threads
1,224,827
Messages
6,181,194
Members
453,021
Latest member
pingpong7117

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