count characters

R

Rich

is their a formula to count how many times a character appears in on cell

thanks

----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.

http://www.microsoft.com/office/com...d-30d996a05308&dg=microsoft.public.excel.misc
 
L

Lars-Åke Aspelin

is their a formula to count how many times a character appears in on cell

thanks

----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.

http://www.microsoft.com/office/com...d-30d996a05308&dg=microsoft.public.excel.misc


Try this formula:

=SUMPRODUCT(--(MID(A1,ROW(1:100),1)="x"))

where "x" is the character and A1 is the cell you are investigating.
Change the 100 if your data is longer than 100 characters.

Hope this helps / Lars-Åke
 
S

Sandy Mann

Count how many letters are missing which will be the number of occurrences
of that letter:

=LEN(A1)-LEN(SUBSTITUTE(A1,"a",""))

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings

(e-mail address removed)
Replace @mailinator.com with @tiscali.co.uk
 

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