View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Function_Challenged Function_Challenged is offline
external usenet poster
 
Posts: 1
Default Need Excel count of 1 word if found in multi-word cells of column

I need a function that tests whether a cell containing multiple words
includes certain text. For example, test for the occurrence of the string
"alarm" and give me a count. One spreadsheet cell contains all of the
following text:

The event alarmed 3 times with 1 alarm being critical.

The text string "alarm" actually appears twice in that statement, one of
which was a word. What two sets of syntax will allow me to capture both
conditions...a string match or a word match.