Better: Fuzzy Match Jane Doe to Doe Jane - 2301

If you like this content, please consider visiting the video on YouTube and subscribe to the MrExcel Channel to show your support!
This video has been published on Nov 20, 2019.
Back in episode 2297, Evan asked how to VLOOKUP between two lists where one had DOE, JANE and the other had Jane Doe. This video solves it with Power Query's new Fuzzy Match. Thanks to @XLarium @Daniel Dion and @Bart Titulaer for their suggestions that made this solution twice as quick as before.
maxresdefault.jpg


Transcript of the video:
Learn Excel from MrExcel Podcast Episode 2301.
Fuzzy Match for Jane Doe matching to Doe, Jane.
Hey, welcome back to the MrExcel Netcast.
I'm Bill Jelen. We're going to revisit my solution to episode 2297.
I love putting videos on YouTube because the comments that come along XLarium am Daniel Dion, both came along and said What about a fuzzy match, and sure enough, Wow! I tried it and it worked.
Also, going to use Bart's comment from another video that I could save a couple of clicks.
Alright, so revisiting the problem.
This was Evan who I ran into one of my seminars has data like this with first name, comma, last name, in proper case and he needs to match that to this other list that is last name, comma, first name.
Now we're going to use Power Query to solve this.
Both of these have to be formatted as table.
I've renamed the tables this one to be called RightTable.
This would be called LeftTable right?
And we're going to start with the look up table. The second table over here.
On the Data tab select From Table or Range.
And that's it. That's all we have to do. Choose Close and Load..., Close and Load To...
Only Create a Connection.
Now back in 2297 there were a whole bunch of gyrations I did there to split it at the comma, rearrange the data, convert to proper case.
All that goes away. Then over here Data, From Table or Range.
Right, and then once we have this query, we're going to come up here and Merge this query.
This is Bart's idea.
The merge says we take the left table and I'm going to merge it with the connection that we created for the right table.
This is the field name and this is the field name and then right here this box is new box.
Use Fuzzy Matching To Perform The Merge.
Now on the podcast before we talked about the fuzzy match at in that tool from Microsoft Labs, this is now kind of built-in.
That functionality is built and been built into Power Query and we get the exact same results that we had before the selection matches 104 of 109 rows from the first table. So we choose OK.
And then expand the table here.
And Adam Weaver is now matched up to Weaver comma Adam.
Exact same four items that were missing from the other episode.
Ann Bowman. There was no Bowman comma Ann right?
So you just get nulls there. Finally close and load.
And we have our update like that, right? So it's beautiful.
It works. It's much much faster.
So again my shout-out to XLarium, Daniel, and Bart - really appreciate those comments.
And if you have comments, questions, anything please feel free to leave it in below the YouTube video.
Check out my new book MrExcel LX, the Holy Grail Excel tips filled with all my favorite Excel tips.
And if you like what you see here, please subscribe and ring that Bell.
I want to thank you for stopping by and we'll see you next time for another netcast from MrExcel.
 

Forum statistics

Threads
1,221,553
Messages
6,160,468
Members
451,649
Latest member
fahad_ibnfurjan

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