find string and return true

  • Thread starter Thread starter icestationzbra
  • Start date Start date
I

icestationzbra

hi,

i am trying to figure out a worksheet function, which would look for
particular string, say "hi", in a cell which would have a sentence, sa
"hi my name is joe doe", and return true. find and search would retur
the positions.

basically, my requirement is to look for a particular string in colum
A and return "true" in column B if the string exists.

please help.

thanks,

mac
 
Hi
one way:
=ISNUMBER(FIND("hi",A1))
another way:
=COUNTIF(A1,"*hi*")>0
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top