Counting partial info within a cell

A

ArtBuyer7

Hi,
Can someone please help me with the formula to count part of info in a
column? Ex: All cells contain combinations of colors "red blue green"
and "green yellow red" and I only need to count the ones that have
"red" in them. Is this a version of a "countif" formula? Any help is
appreciated!Thanks very much!
 
D

Domenic

Yes, you can use COUNTIF...

=COUNTIF(A1:A100,"*red*")

or

=COUNTIF(A1:A100,"*"&B1&"*")

....where B1 contains the criteria, such as red.

Hope this helps!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top