charlesstricklin
Board Regular
- Joined
- May 6, 2013
- Messages
- 67
- Office Version
-
- 2010
- Platform
-
- Windows
Maybe it's just morning and my brain isn't working yet, but I'm struggling with the SEARCH function. I want to search a cell for a text snippet, and if it's found return "Yes"and if not, simply a null string/leave a blank. I.e.:
C2 being equal to "Foobar"
=IF(SEARCH("Foo",C2),"Yes",""))
However, when the text is not found, it returns #VALUE! instead.
I'm certain I'm not doing something extremely simple, but I can't seem to wrap my brain around it this morning. Please help?
C2 being equal to "Foobar"
=IF(SEARCH("Foo",C2),"Yes",""))
However, when the text is not found, it returns #VALUE! instead.
I'm certain I'm not doing something extremely simple, but I can't seem to wrap my brain around it this morning. Please help?