Searching for a specific word in a table and counting the occurences.

D

DiamondMan

I need help on counting how many times specific word appears in
particular column or range of cells?
CountIf gets close but no cigar
 
D

Don Guillett

"no cigar" is not very descriptive. Post your formula and tell us what
happens.
 
J

Jason Morin

=COUNTIF(A:A,"*myword*")

will count "myword" in a cell as 1 occurrence, even if
it's buried within other text. However, if "myword" can
appear more than once in cell and each occurrence in the
cell needs to be counted, then use:

=SUMPRODUCT((LEN(A1:A10)-LEN(SUBSTITUTE
(A1:A10,"myword","")))/LEN("myword"))

HTH
Jason
Atlanta, GA
 
P

Paul Lautman

Any clues as to why it fails to get the cigar, it'll help us to tell you how
to fix it.
 

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