View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips
 
Posts: n/a
Default In Excel find characters when multiple characters exist w/i a cel

You count the characters, and then count the characters with the letter
substituted by "".

=LEN(B4)-LEN(SUBSTITUTE(B4,"A",""))

or

=(LEN(B4)-LEN(SUBSTITUTE(B4,"or","")))/LEN("or")

for a string orf characters


--

HTH

RP
(remove nothere from the email address if mailing direct)


"teacher-deburg" wrote in message
...
I want to be able to find the number of occurrances of a particular
alpha-numeric character in a specified range when there can be multiple
characters in any one cell. (More over, I want to be able to find the

number
of occurrances of an array of charcters within a specified range.)

----------------
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/comm...et.f unctions