How can I count the number of times a letter repeats in a string?

S

SteveG

Wiley,

If your string is in A1 and you are trying to count the occurences of
the letter "a" then:

=LEN(A1)-LEN(SUBSTITUTE(A1,"a",""))

HTH

Steve
 
S

SteveG

Wiley,

If your string is in A1 and you are trying to count the occurences of
the letter "a" then:

=LEN(A1)-LEN(SUBSTITUTE(A1,"a",""))

HTH

Steve
 
B

Bob Phillips

See other post.

--
HTH

Bob Phillips

(remove xxx from email address if mailing direct)
 
Top