IF Contains Specific Text
Hello, I would to write an IF statement where it looks for specific text.
In essence I am looking for a way to write CONTAINS instead of = when searching a referenced cell.
I do not want a true or false formula, nor do I want to count occurrences of said text.
A1 will contain the word Dog, Frog, or Cat.
The formula cell, B1, should look for the letters "og" together in A1.
If Dog or Frog are in A1, I want B1's cell to answer Yes, but No, for Cat.
Here is what I have found does not work:
IF(A1="og","Yes","No")
IF(A1="*og","Yes","No")
IF(A1=*"og","Yes","No")
This works if the criteria is found, but returns an error if Cat (anything without "og") is in A1:
IF(SEARCH("og",A1),"Yes","No")
Please help me write the correct syntax.
IF this cell contains __, then do this, if not, then do that.
MacBook Air (11-inch Mid 2011), iOS 10.1.1, Numbers