To count an alphabet in a cell

  • Thread starter Thread starter Rajesh Kamath
  • Start date Start date
R

Rajesh Kamath

Hi,

Can someone help me,

my issue is, if for example there is text entered in one cell like
"aabcd" .I want to count the number time "a" appearing in the cell.

Thanks

Rajesh Kamath
 
Try using

=(LEN(A1) - LEN(SUBSTITUTE(A1, B1, ""))) / LEN(B1)

where A1 contains the cell you want to check, and B1 the letter that you
want to count.
 

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

Back
Top