View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Teethless mama Teethless mama is offline
external usenet poster
 
Posts: 3,718
Default How to count occurence of multiple characters in a cell

=COUNTIF(A1:A100,"*1234*")


"MLK" wrote:

Is there a way to count the occurences of multiple characters in a cell?
For example, the cell might contain: smith,john(1234), smith,mary(1234),
doe,john(2345), etc etc.

I would like to be able to count how many times (1234) appears in the cell.
I tried using LEN, but that only counts one character.

Mary-Lou