Can't figure out what is wrong with this formula.
What I need it to do:
Look in cell C2. If C2 contains the letters "abc" anywhere in the string then 0 is the result.
If c2 does not contain "abc" then, use lookup this table on worksheet named "data" the result is the second column.
=IF(C2 = "*abc*", 0, IF(ISNA(VLOOKUP(I4, Data!$E$2:$F$13, 2)),0, VLOOKUP(I4, Data!$E$2:$F$13,2,)))
The problem I am having is in the first part of the formula...when I evaluate the formula, c2 is evaluating as false when "abc" or "abcdef" is the value of c2.
Any suggestions? Thanks.
Bookmarks