help in counting a single character

J

Jim

Is there a formula to count every occurence of a
character. The following formula counts the number of
cells with the letter 's'. =COUNTIF(A1:F35,"*s*"). I need
to have a count of all occurences of the letter 's'. So
if there is 2 's' in one cell, the count will show this.
Thanks for any help.
 
J

JIM

Thanks, that worked great.

-----Original Message-----
Hi
try
=SUMPRODUCT(LEN(A1:F35)-LEN(SUBSTITUTE(A1:F355,"s","")))

--
Regards
Frank Kabel
Frankfurt, Germany


.
 

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