View Single Post
 
Old 11-05-2015, 11:03 AM
MaineLady MaineLady is offline Windows 7 32bit Office 2013
Advanced Beginner
 
Join Date: Sep 2014
Posts: 54
MaineLady is on a distinguished road
Default find a set of characters in a string and return a 0 (zero) if not found

I am trying to look for a set of characters in a cell. If the characters are found, enter "CB" in the cell and return a 0 (zero) if the characters are not found.

In a separate column, I entered the formula:

=IF(FIND("CACIWC",G4,1)>0,"CB",0)

With the above formula, if the characters are found it works... if they're not found in end up with #VALUE!

What am I doing wrong?
Reply With Quote