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

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
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,223,911
Messages
6,175,327
Members
452,635
Latest member
laura12345

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