countif formula for text

S

steveo

Hi, does anyone know of a formula to count the occurances of text
within a range? the problem is there are more than one word in a cell
and I need to count the occurances of multiple words in the range.
Normally excel 2004(mac) will ignore the occurance of a word in a cell
if there is more than 1 word in a cell. Also how can I ignore the cells
that have a word i'm looking for if there are certain other words in
the cell that I do not wish to count? Yeah that would probably be
another formula.
any help would be appreciated. Thanks steveo
 
B

Bob Phillips

=SUMPRODUCT(--(ISNUMBER(SEARCH("Bill",A1:A100))))

if you want it case sensitive, use Find not Search.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)
 

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