This seems to do the trick =IFERROR(LOOKUP(9,999E+307;SEARCH($E$4:$E$15;A2);$F$4:$F$15);"-")

Thre is one difference on row 6. Working on it