How to compare Cells that have multiple names for match and mismatch

%3CLINGO-SUB%20id%3D%22lingo-sub-1711081%22%20slang%3D%22en-US%22%3EHow%20to%20compare%20Cells%20that%20have%20multiple%20names%20for%20match%20and%20mismatch%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1711081%22%20slang%3D%22en-US%22%3E%3CP%3EHello%3C%2FP%3E%3CP%3EPlease%20what%20formula%20should%20i%20use%20to%20compare%20two%20cells%20that%20have%20more%20than%20one%20name.%20I%20want%20to%20compare%20names%20in%20two%20columns%20but%20the%20cells%20have%20both%20the%20first%20name%2C%20middle%20name%20and%20last.%20Is%20there%20any%20formula%20i%20can%20use%20to%20make%20this%20easy.%20Also%20some%20cells%20have%20the%20same%20names%20but%20some%20were%20mispelt%2C%20hence%20it%20returning%20a%20mismatch%20result%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1711081%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1713318%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20compare%20Cells%20that%20have%20multiple%20names%20for%20match%20and%20mismatch%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1713318%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F808288%22%20target%3D%22_blank%22%3E%40alexike%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESo%20much%20here%2C%20I%20would%20think%2C%20depends%20on%20the%20magnitude%20of%20the%20issue%3A%20How%20may%20rows%20of%20names%20are%20we%20talking%20about%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAnyway%2C%20if%20I%20were%20in%20your%20place%2C%20I'd%20look%20at%20some%20combination%20of%3A%3C%2FP%3E%3CUL%3E%3CLI%3Eparsing%20out%20first%2C%20middle%20and%20last%20names%20into%20their%20own%20columns%20(using%20some%20of%20the%20text%20manipulation%20functions%20like%20FIND%2C%20MID%2C%20RIGHT%20and%20LEFT)%2C%20the%20purpose%20being%20to%20compare%20Last%20with%20Last%2C%20First%20with%20First%2C%20etc.%20because%20you%20probably%20have%20not%20only%20misspellings%20but%20some%20who%20use%20periods%20after%20middle%20initials%2C%20some%20who%20don't%2C%20etc.%3C%2FLI%3E%3CLI%3Ecomparing%20based%20not%20on%20the%20whole%20of%20a%20name%20but%20only%20on%20the%20first%2C%20say%2C%20four%20characters.%20And%20if%20you've%20separated%20the%20names%20into%20three%20columns%20each%2C%20you%20could%20do%20this%20and%20give%20the%20comparisons%20%22scores%22%20on%20whether%20all%20three%20matched%2C%20or%20only%20two%20of%20three%20etc.%3C%2FLI%3E%3C%2FUL%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThat's%20just%20for%20starters.%20There%20may%20be%20ways%20you%20could%20use%20wildcard%20characters%20as%20well.%20But%20as%20I%20said%20at%20the%20start%2C%20it%20all%20depends%20on%20magnitude.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20sure%20you'll%20get%20some%20other%20suggestions%3B%20let's%20home%20some%20are%20more%20helpful.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Visitor

Hello

Please what formula should i use to compare two cells that have more than one name. I want to compare names in two columns but the cells have both the first name, middle name and last. Is there any formula i can use to make this easy. Also some cells have the same names but some were mispelt, hence it returning a mismatch result

1 Reply

@alexike 

 

So much here, I would think, depends on the magnitude of the issue: How may rows of names are we talking about?

 

Anyway, if I were in your place, I'd look at some combination of:

  • parsing out first, middle and last names into their own columns (using some of the text manipulation functions like FIND, MID, RIGHT and LEFT), the purpose being to compare Last with Last, First with First, etc. because you probably have not only misspellings but some who use periods after middle initials, some who don't, etc.
  • comparing based not on the whole of a name but only on the first, say, four characters. And if you've separated the names into three columns each, you could do this and give the comparisons "scores" on whether all three matched, or only two of three etc.

 

That's just for starters. There may be ways you could use wildcard characters as well. But as I said at the start, it all depends on magnitude.

 

I'm sure you'll get some other suggestions; let's home some are more helpful.