Counting specific word occurences in a cell

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,
I have some data people put into cells.

For example I had 500 responses. I want to know how many cells have the word
SHRINK in them. Not all 500 people had trouble with Shrink. So in their
paragraph that they typed in the cell they may have mentioned shrink and I
would like to count it.
I tried =countif(A1:A500,"SHRINK") but that didn't work. Is there a way
that Excel can look at a number of words in a cell and just pick out the one.
Shrink is never mentioned more than once in a cell but there are other words
in that cell.

thanks
 
=COUNTIF(A1:A500,"*Shrink*")

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)
 
KenRamoska said:
Hi,
I have some data people put into cells.

For example I had 500 responses. I want to know how many cells have the
word
SHRINK in them. Not all 500 people had trouble with Shrink. So in
their
paragraph that they typed in the cell they may have mentioned shrink
and I
would like to count it.
I tried =countif(A1:A500,"SHRINK") but that didn't work. Is there a
way
that Excel can look at a number of words in a cell and just pick out
the one.
Shrink is never mentioned more than once in a cell but there are other
words
in that cell.

thanks

Try:

Case Sensitive:
=SUMPRODUCT(--NOT(ISERROR(FIND("Shrink",A1:A500,1))))

Case Insensitive:
=SUMPRODUCT(--NOT(ISERROR(SEARCH("Shrink",A1:A500,1))))

Scott
 

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

Back
Top