Matching Names with different criteria

kittymongo

New Member
Joined
Feb 6, 2018
Messages
16
I need help with a formula or set of formulas to match 2 columns of names. One column will have first and last name and the second column will have last comma first name and sometimes a middle initial. How can I compare the 2 to match the data sets without the middle names, suffixes, etc. I only want first and last name matches.


[TABLE="width: 216"]
<colgroup><col><col></colgroup><tbody>[TR]
[TD]Jane Smith[/TD]
[TD]Smith, Jane A[/TD]
[/TR]
[TR]
[TD]John Snow[/TD]
[TD]Snow, John Wick[/TD]
[/TR]
</tbody>[/TABLE]

Thank you -
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
Re: Need Excel Formula Help - Matching Names with different criteria

=isnumber(search(right(a2,len(a2)-find(" ",a2))&", "&left(a2,find(" ",a2)-1),b2))
 
Upvote 0
Re: Need Excel Formula Help - Matching Names with different criteria

Thank you so much! This worked perfectly! Life saver.
 
Upvote 0
OK, I have one more question. We just received a file to process and need to do the same name matching but this formula is not working because now we have first name, middle name, last name in column one and second column has last name comma first name middle initial or middle name. How can I tweak the formula to match the first and last names only between the 2 data sets?

I really appreciate your help with this.
 
Upvote 0
Re: Need Excel Formula Help - Matching Names with different criteria

=isnumber(search(right(a2,len(a2)-find(" ",a2))&", "&left(a2,find(" ",a2)-1),b2))

OK, I have one more question. We just received a file to process and need to do the same name matching but this formula is not working because now we have first name, middle name, last name in column one and second column has last name comma first name middle initial or middle name. How can I tweak the formula to match the first and last names only between the 2 data sets?

I really appreciate your help with this.
 
Upvote 0

Forum statistics

Threads
1,223,886
Messages
6,175,191
Members
452,616
Latest member
intern444

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top