Count occurrences of text within a cell
Try this:
=SUMPRODUCT(LEN(A1)-LEN(SUBSTITUTE(UPPER(A1),"E","")))
--
Biff
Microsoft Excel MVP
"Stan Sitek" wrote in message
...
I need to count the number of characters repeating within a cell. For
example, assuming the following in range A1 through A4:
eee
ee
aaaae
af
A count of "e" would return
3
2
1
0
|