View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Bob Phillips Bob Phillips is offline
external usenet poster
 
Posts: 10,593
Default If cell contains any of the following letters, then..

=IF(ISNUMBER(SEARCH("procedure",A1)),"x","y")


--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Darin Kramer" wrote in message
...

Hi there,

I need an if formulae in a2 that says if cell a1 contains the word
"procedure" then put "x", if not put a "y".

ie an x would be the result if cell a1 stated:
"this is the procedure", or
"procedure is this", or
"this is the only procedure required"

Any ideas...?

Thanks

D


*** Sent via Developersdex http://www.developersdex.com ***