View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Charlotte E.[_2_] Charlotte E.[_2_] is offline
external usenet poster
 
Posts: 70
Default count number of times a particular letter appears in a cell


NumberOfEs = Len(Text) - Len(Replace(Text, "E", ""))


CE



fallowfz wrote:
Is there a function which will return the number of times, for
example, the letter "E" appears in a cell containing a mix of text,
numbers, and other characters, e.g. (), :, etc?


Thanks!