As the picture shows, I have 3 keywords from cell A2 to A4: a
, bb
, and ccc
.
I have 5 words to check, listed in B2:B6: aa
, bb
, bc
, cc
and d
.
I'd like to check, for each word in Column B, that if it starts with one of the keyword. The expected result is shown in Column C.
However I could not come out with a formula for that.
What I've tried
I tried the match function in Column D and E but it can only do an exact match, not a "begin with" logic.
I tried the CountIf function in Column F and G. It actually can do the reverse match - if any keyword start with the word in column B - but it cannot do the match I want.
So, how can I check a range of words if they contain a value from a given keyword list