counting letters in excel cell

K

kas

I have a list of first names, such as Adam, Mary, Julie, etc in column A and
I want to find out how many of a specific letter is in each cell. I have put
in =COUNTIF(A1:A17,"*a*") and it returns all the letters except doubles in
the name like in Adam it only counts one. I need to count all of the letter
'a'. Please help.
 
J

JE McGimpsey

One way (array-entered: CTRL-SHIFT-ENTER or CMD-RETURN):

=SUM(LEN(A1:A17),-LEN(SUBSTITUTE(A1:A17,"a","")))
 

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