IF cell contains part of text

S

Supe

Want to create an if fuction that will give a result of "Yes" if any part of
the cell cotains 16Z.
 
M

Mike H

Try

=IF(ISERROR(SEARCH("16Z",A1)),"","Yes")

If you want (for example) to say No if it isn't there try

=IF(ISERROR(SEARCH("16Z",A1)),"No","Yes")

If you want it to be case sensitive change SEARCH to FIND


Mike
 
Top