View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Teethless mama Teethless mama is offline
external usenet poster
 
Posts: 3,718
Default Find certain text in a cell

=COUNTIF(A3,"* hate *")0

"Elton Law" wrote:

Hi all,
Wanna use a formula so that it can give logical result (True or False) if
that cell contains certain words.
Say cell A1 contains a text "I love you".
Say cell A2 contains a text "I miss you".
Say cell A3 contains a text "I hate you".
Is there an "IF" function or formula that can give logical result (True or
False) if that cell contains a word "hate".
In this case, A3 should come up with True while A1 and A2 are false.
Thanks