You can:
Insert one more column in A (for result)
Switch (former) A and B column (now B and C) so B became C and viceversa.
Select C column and Data -> Text to columns -> Delimited and use space for delimiter
in A column write: =SUMPRODUCT(--(C1:L1<>""), COUNTIF(B:B;"*"&C1:L1&"*")) and pull down.
If result is greater then 0 you have match.
I left number so you can hoe many matches you get.
Never use Merged Cells in Excel
This formula is C2 might work for what you want...
In your case the word "die" exists in all the column A entries, and therefore they will all have matches in column B![]()
=IF(SUMPRODUCT(--ISNUMBER(MATCH("*"&TRIM(MID(SUBSTITUTE(A2," ",REPT(" ",100)),1+(100*(ROW(INDIRECT("1:"&LEN(A2)-LEN(SUBSTITUTE(A2," ",""))+1))-1)),100))&"*",$B$2:$B$5,0))),"similar","no match")
Where there is a will there are many ways.
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
I don't. See attached.
Note that the first 3 matched, but Curved" didn't due to the " at the end of the word.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks