Forum Discussion
Shahks
May 15, 2023Copper Contributor
Compare similarity between two columns
Hi all, I am currently trying to compare similarities between columns A and B. Both columns have names of companies and I want to check whether one is a subsidiary or sister company of another. A...
Harun24HR
May 15, 2023Bronze Contributor
Shahks You could try the following formula-
=OR(ISNUMBER(XMATCH("*"&TEXTSPLIT(A2,," ")&"*",B2,2)))
Few questions, how excel will know what is your company name (which part of string)? Above formula will return false positive if both column has same company type like LLC, Ltd, Gmbh? Suppose you have xyz LLC and abc LLC. In this case the formula will return TRUE.