View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
Steve
 
Posts: n/a
Default If then statement to search for text possible?

I was wondering if there is a way to write an if statement like this:

=if(a1="*HOU*", "Houston",0)

So that if the text in cell A1 contains "HOU" then it would return "Houston".

I know it works if the cell is an exact match, but what about if it only
contains the word???

HELP!

Thanks!