From:
http://support.microsoft.com/kb/213889
Formula to Count the Number of Occurrences of a Single Character in a
Range
=SUM(LEN(range)-LEN(SUBSTITUTE(range,"a","")))
where range is the cell range in question, and "a" is replaced by the
character you want to count.
Note The above formula must be entered as an array formula. To enter a
formula as an array formula in Excel, press CTRL+SHIFT+ENTER.
(note this will only find "Z", not "z")
HTH,
JP
On Jan 8, 2:58*pm, ryguy7272
wrote:
I know this function will work on a specific cell:
=LEN(A1)-LEN(SUBSTITUTE(A1,"Z",""))
What about counting all letters Z in range A1:A10?
Seems simple. *I tried a few things; nothing has worked yet...
Thanks,
Ryan--
--
RyGuy