View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Rick Rothstein \(MVP - VB\)[_168_] Rick Rothstein \(MVP - VB\)[_168_] is offline
external usenet poster
 
Posts: 1
Default Count the number of appearance within a cell

See inline comments...

A1 = St. Louis

=LEN(A1)-LEN(SUBSTITUTE(A1,{"S","s"},""))

Fails


I'm not sure why you posted the above comment... no one posted that formula.

=SUM(LEN(A1)-LEN(SUBSTITUTE(A1,{"S","s"},"")))


The above formula which you posted is the formula that Teethless mama posted
in the message you responded to.


Rick