Power Query Problems

How to Find Similar Text in Two Excel Columns with Fuzzy Matching

Elise WilliamsElise Williams Nov 11, 2026 869 views

Question details

The user needs to compare two Excel columns to identify near-exact matches, typos, missing words, or similar values.

How to Find Similar Text in Two Excel Columns with Fuzzy Matching
Product
Excel
Device & OS
not provided
Scenario
Comparing standardized database records against manually entered text to identify inconsistencies and partial matches.
Observed behavior
Standard duplicate checks fail to identify near matches, missing words, or slight typographical variations like DNC-2 and DNC-22.
Before you start

Ensure your data in both columns is formatted as an official Excel Table (press Ctrl+T). This is a required step before loading your data into Power Query.

Solution 1Recommended

Use Power Query Fuzzy Merge

Power Query includes a built-in Fuzzy Merge feature that identifies similar, but not exactly identical, text values based on a customizable similarity threshold.

Fuzzy matching relies on an algorithm to compare text strings and assign them a similarity score. It is highly effective for catching spelling mistakes, prefix variations, or formatting inconsistencies.

1
Load tables into Power Query

Select your first formatted table, go to the Data tab, and click 'From Table/Range'. Repeat this step for the second table so both are loaded in the Power Query Editor.

2
Initiate a Merge Query

In the Power Query Editor, navigate to the Home tab and click 'Merge Queries'.

3
Configure the Fuzzy Match

Select your primary table from the top dropdown, and your secondary table from the bottom dropdown. Click on the column headers in both preview windows that you wish to compare.

4
Enable Fuzzy Matching Options

Check the box that says 'Use fuzzy matching to perform the merge'. Expand the 'Fuzzy matching options' menu to adjust the Similarity Threshold. A score of 1.00 is an exact match; start around 0.80 for a balanced partial match, then click OK.

Reviewing Results: Always review high-scoring matches manually in the final merged column to ensure accuracy before modifying your source data.
Free Microsoft Office alternative

Need Advanced Data Analysis? Try WPS Office for Free

While Power Query is a specific Microsoft feature for advanced data merging, WPS Office provides a powerful, free, and lightweight alternative for your daily spreadsheet, documentation, and presentation needs. Enjoy seamless compatibility and a familiar interface without the hefty subscription fees.

  1. 1. Download WPS Office: Visit the official WPS website to download the free office suite for your operating system.
  2. 2. Install the Software: Run the lightweight installer to quickly set up the suite on your computer.
  3. 3. Open Your Spreadsheets: Launch WPS Spreadsheet and open your existing Excel files directly with full formatting preserved.
100% compatible with Microsoft Excel formats (.xlsx, .xls, .csv)Lightweight installation with incredibly fast loading speedsFamiliar user interface with zero learning curve requiredPowerful built-in formulas, pivot tables, and data filtering tools
microsoft office alternative - wps office

Frequently Asked Questions

What is a similarity threshold in fuzzy matching?

The similarity threshold is a setting that determines how closely two text strings must match to be considered a pair. It ranges from 0.00 to 1.00, where 1.00 requires an exact match and lower numbers allow for more typos or differences.

Can I use standard Excel formulas for fuzzy matching?

Standard formulas do not natively perform fuzzy matching, but you can use wildcards (* and ?) with VLOOKUP or SEARCH functions to find basic partial text matches. For true fuzzy matching, Power Query or VBA is required.

Does fuzzy matching ignore uppercase and lowercase letters?

Yes, by default, Power Query's fuzzy matching is not case-sensitive. You can ensure this behavior by checking the 'Ignore case' option in the fuzzy matching settings.

Why did my fuzzy match pair completely unrelated words?

If your similarity threshold is set too low (e.g., below 0.50), the algorithm becomes too lenient and may match words that share only a few common characters. Increase the threshold score to fix this.