Fuzzy match with similarity column

drop05

Active Member
Joined
Mar 23, 2021
Messages
285
Office Version
  1. 365
Platform
  1. Windows
Hello, i created a power query fuzzy match merge. And I am wondering either with VBA or power query if there is a way to add a column to give a number to represent the similarity of the two columns I am doing a fuzzy match. With 1 being exact and 0 being either its empty or doesnt match at all and anything lower than 1 like .8 means it is some what similar
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
Have you investigated using the SimilarityColumnName option?
 
Upvote 0
About halfway down this page, you'll see how you can invoke the "show score" option:
I'm not sure which function you're using that involves the fuzzy matching, but here is another link that describes the SimilarityColumnName option:
 
Upvote 0
I used to direct people to using the Fuzzy Match Add-in because Power Query did not show the threshold while the Add-In did.
You can get the Add-In from Microsoft here:
Download Fuzzy Lookup Add-In for Excel from Official Microsoft Download Center

@KRice's post is very helpful and looking further in to it, it looks the Power Query graphical interface still does not support Fuzzy Grouping. I gather it is only available in the Online Version.
You can however now get to it by modifying the M Code.
In the below the line was created using the interface and I added the part in < , SimilarityColumnName="Similarity" >inside the square brackets.
(where the final "Similarity" was my new column name.)

Rich (BB code):
    #"Merged Queries" = Table.FuzzyNestedJoin(Source, {"Name"}, qryTableMaster, {"Name"}, "qryTableMaster", JoinKind.LeftOuter,
                        [IgnoreCase=true, IgnoreSpace=true, Threshold=0.3, SimilarityColumnName="Similarity"]),

This video shows what it looks like in the Online version with the graphical interface updated.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,389
Messages
6,124,662
Members
449,178
Latest member
Emilou

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