ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   In Excel find characters when multiple characters exist w/i a cel (https://www.excelbanter.com/excel-worksheet-functions/58866-excel-find-characters-when-multiple-characters-exist-w-i-cel.html)

teacher-deburg

In Excel find characters when multiple characters exist w/i a cel
 
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

Bob Phillips

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




All times are GMT +1. The time now is 03:50 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com