Power Query Problems

How to Compare Large Excel Lists with Fuzzy Matching

Camila MilosovichCamila Milosovich Nov 11, 2026 869 views

Question details

The user needs to compare large data lists to find approximate matches where exact names differ due to spelling errors or missing words.

How to Compare Large Excel Lists with Fuzzy Matching
Product
Microsoft Excel
Device & OS
not provided
Scenario
Comparing extensive databases or lists (e.g., thousands of rows) to identify similar organization names, customer records, or text strings that do not match exactly.
Observed behavior
Standard lookup functions fail to return matches for items with slight spelling discrepancies, requiring a fuzzy matching approach to bridge the gap and calculate similarity scores.
Before you start

Ensure your data lists are properly formatted as Excel Tables (Ctrl + T) and that you have a basic idea of what similarity threshold (e.g., 80% match) is acceptable for your analysis.

Solution 1Recommended

Use Power Query Fuzzy Merge

Leverage Power Query's built-in Fuzzy Merge feature to combine and compare tables based on approximate matches natively within Excel.

Power Query offers a native 'Fuzzy Matching' option when merging queries. This allows you to set a similarity threshold between 0.00 and 1.00 and ignore case or text parts, making it ideal for cleaning dirty data.

1
Load tables into Power Query

Select your first table, go to the Data tab, and click 'From Table/Range'. Once the Power Query Editor opens, choose 'Close & Load To...' and select 'Only Create Connection'. Repeat this for your second table.

2
Merge the queries

In Excel, go to Data > Get Data > Combine Queries > Merge. In the Merge dialog box, select your primary table from the first drop-down and your secondary table from the second drop-down.

3
Enable fuzzy matching

Click on the column headers you want to compare in both table previews. Check the box that says 'Use fuzzy matching to perform the merge'.

4
Adjust fuzzy matching options

Expand the 'Fuzzy matching options' to adjust the similarity threshold (default is 0.80). A lower number yields more matches but higher false positives. Click OK to proceed.

5
Expand and load the data

In the Power Query Editor, click the expand icon on the newly merged column header to select the specific data you want to display, then click 'Close & Load' to return the cleaned list to Excel.

Use Power Query Fuzzy Merge
Tip: You can also specify a Transformation Table in the fuzzy matching options to automatically map known abbreviations (e.g., mapping 'Inc.' to 'Incorporated').
Free Microsoft Office alternative

Try WPS Office for Your Data Processing Needs

While advanced features like Power Query's Fuzzy Join are specific to Microsoft Excel, WPS Spreadsheet provides a powerful, fast, and free alternative for standard data cleaning, lookup functions, and everyday spreadsheet management.

  1. 1. Download and Install: Get WPS Office from the official website and install the lightweight suite on your device.
  2. 2. Open Your Excel File: Launch WPS Spreadsheet and open your existing .xlsx file without worrying about formatting loss.
  3. 3. Process Your Data: Utilize built-in data handling tools, filters, and standard lookup formulas to clean and organize your lists effectively.
100% compatible with Microsoft Excel formats (.xlsx, .xls, .csv)Supports robust built-in lookup functions like XLOOKUP, VLOOKUP, and INDEX/MATCHLightweight architecture ensures fast performance when handling large data listsCompletely free to download with a familiar, user-friendly tabbed interface
microsoft office alternative - wps office

Frequently Asked Questions

What is the similarity threshold in Power Query Fuzzy Matching?

The similarity threshold is a value between 0.00 and 1.00 that determines how closely text strings must match. A threshold of 1.00 requires an exact match, while lower values (like 0.70) allow for more spelling differences and missing words, though this may increase false positives.

Does fuzzy matching guarantee 100% accuracy?

No. Fuzzy matching relies on algorithms to guess similarities based on character and word overlap. It is highly recommended to manually validate the results, especially for data points with lower similarity scores.

Can I use wildcard characters instead of Fuzzy Merge?

Yes, for simple approximate matches, you can use wildcard characters (such as '*' or '?') combined with functions like VLOOKUP or XLOOKUP. However, wildcards are best for strings that contain a known pattern, whereas fuzzy matching is better for random typos or inverted word orders.

Why didn't Power Query find a match even with a low threshold?

If the textual differences are too severe (for example, comparing 'IBM' to 'International Business Machines'), the algorithm won't connect them regardless of the threshold. You will need to use a Transformation Table to define these custom mappings before merging.