count number of letters in a string

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How do I count the number of letters in a string? For example, the number
"W" in this string "WWWEEERRRWWDDR" is 5.
 
=LEN(A1)-LEN(SUBSTITUTE(A1,"W",""))

--
HTH

Bob Phillips

(remove xxx from email address if mailing direct)
 
Try this:

With A1 containing WWWEEERRRWWDDR

B1: =LEN(A1)-LEN(SUBSTITUTE(A1,"W",""))

Does that help?
***********
Regards,
Ron

XL2002, WinXP
 

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