How Do You Find Duplicates In Excel

A practical step-by-step guide to how do you find duplicates in excel, including preparation, instructions, common issues, tips, and next steps.

Published 2026-07-18 ยท Updated 2026-07-24

How Do You Find Duplicates In Excel cover image

How Do You Find Duplicates In Excel

This guide explains how to approach how do you find duplicates in excel, including the preparation, practical steps, common mistakes, and final checks that help you finish with confidence.

10-15 minutes Time needed
Easy Difficulty
Incomplete selections or hidden characters Watch out for

Before You Start

Check first: Always save a backup copy of your Excel workbook before making significant changes, especially before using the "Remove Duplicates" tool. This ensures you can revert to the original data if anything goes wrong.

Step-by-Step Instructions

Quick Reference

Common Problems When You Find Duplicates In Excel

Even with Excel's helpful tools, you might run into a few snags when trying to find duplicates. Here are some common issues and how to fix them:

Problem 1: Not all duplicates are highlighted.

Reason: You might not have selected the entire range of data that contains the duplicates. If only part of a column or row is selected, Excel will only look for duplicates within that smaller area, ignoring data outside your selection.

Fix: Go back to Step 1 and make sure you select all the cells, columns, or the entire sheet that should be checked. For example, if you're looking for duplicates in column A, ensure you've selected all of column A, from the very first data point to the last.

Problem 2: Duplicates aren't being found, but you can clearly see them.

Reason A: Hidden Characters or Spaces: Sometimes, data might *look* identical but have invisible differences. This could be extra spaces at the beginning or end of text, or non-printing characters. For example, "Apple " (with a space at the end) is not considered the same as "Apple" by Excel.

Fix A: Before running the duplicate check, clean your data. You can use the TRIM function in a helper column. For instance, if your data is in column A, in an empty column B you could type `=TRIM(A2)` and then drag this formula down for all your data. After cleaning, copy column B and "Paste Special > Values" over column A to replace the original data with the cleaned version.

Reason B: Different Data Types: Excel treats numbers stored as text (e.g., "123") differently from numbers stored as actual numbers (e.g., 123). This difference will prevent them from being recognized as duplicates.

Fix B: Ensure your data types are consistent. You can often convert text numbers to actual numbers by selecting the cells, clicking the small warning icon (a green triangle) that appears, and choosing "Convert to Number."

Problem 3: "Remove Duplicates" deleted too much (or not enough).

Reason: When using the "Remove Duplicates" tool, you might have selected the wrong columns to check. If you only selected one column, Excel will delete entire rows based on duplicates in that single column, even if other data in that row was unique. Conversely, if you selected too many columns, it might not find any duplicates because it's looking for rows where *all* selected cells are absolutely identical, which is a rare occurrence.

Fix: Immediately use the Undo button (the curved arrow at the top-left of the Excel window) to revert the change. Then, retry Step 7, carefully reviewing which columns you check in the "Remove Duplicates" dialog box. Think about what truly defines a "duplicate row" for your specific data before confirming.

Problem 4: Conditional Formatting isn't showing up.

Reason: The formatting rule might have been applied to the wrong range, or you might have accidentally cleared all rules. Sometimes, the rule exists but applies to an area without duplicates.

Fix: Re-select your data and go to "Conditional Formatting" > "Manage Rules." Check if your "Duplicate Values" rule is listed and if its "Applies to" range is correct. If the range is wrong or the rule is missing, you might need to re-apply the rule from scratch.

Problem 5: Performance issues with very large datasets.

Reason: If you have hundreds of thousands of rows, applying Conditional Formatting or running "Remove Duplicates" can take a long time or even cause Excel to seem unresponsive, especially on older computers.

Fix:

Advanced Tips for How Do You Find Duplicates In Excel

Once you're comfortable with the basics, here are some ways to take your duplicate finding skills to the next level and handle more complex situations:

Finding Unique Values Instead of Duplicates

Sometimes you need to find items that appear only once, not those that are repeated. In the "Duplicate Values" dialog box (from Step 4), you can actually choose "Unique" instead of "Duplicate." This will highlight all values that appear only once in your selected range, which is useful when you need to identify unique records in a list.

Another powerful method, if you have Excel for Microsoft 365 or Excel 2021, is to use the UNIQUE function. For example, if your data is in cells A2:A100, typing =UNIQUE(A2:A100) into a blank cell will create a dynamic list of all unique values from that range, automatically expanding as needed.

Using Formulas for More Control (COUNTIF)

For more flexible duplicate finding, especially if you want to count how many times each item appears or find duplicates based on multiple conditions, the COUNTIF function is very powerful. This gives you more analytical power than just highlighting.

Example: To find duplicates in column A, you could add a new column (say, column B) and enter the formula =COUNTIF(A:A,A2) in cell B2. Then, drag this formula down to apply it to all your data. Cells in column B with a value greater than 1 clearly indicate a duplicate. You can then sort your data by column B to group all duplicates together for easier review.

You can even combine this with Conditional Formatting: Select column A, go to Conditional Formatting > New Rule > Use a formula to determine which cells to format. Enter the formula =COUNTIF(A:A,A1)>1 and then choose your desired formatting. This highlights duplicates using a formula-driven approach.

Finding Partial Duplicates or "Fuzzy" Matches

Standard Excel tools look for exact matches. If you need to find items that are *almost* duplicates but have slight variations (e.g., "John Smith" vs. "J. Smith" or "Acme Corp" vs. "Acme Corporation"), you're looking for "fuzzy matches."

Excel doesn't have a simple built-in tool for this. However, there are add-ins available, such as the "Fuzzy Lookup Add-in" from Microsoft, which can help compare lists that aren't exact matches. For more advanced users, Excel's Power Query can also be configured for fuzzy matching, but this is a more complex topic that requires learning Power Query's interface and functions. For most users, manually reviewing sorted lists can sometimes catch these close but not exact matches.

Using Excel Tables for Easier Management

If your data is currently in a regular range, converting it to an Excel Table can make managing and analyzing your data much easier. To do this, simply select your data and go to the "Insert" tab > "Table."

Tables automatically handle ranges, headers, and offer built-in filtering and sorting capabilities. When you use "Remove Duplicates" on a table, Excel automatically understands the table's structure, making the process more intuitive and less prone to selection errors.

Power Query for Large Datasets and Complex Scenarios

For very large files (hundreds of thousands or millions of rows) or when you need to find duplicates across multiple sheets or even different Excel workbooks, Power Query is an extremely robust and efficient tool. It's available under the "Data" tab, in the "Get & Transform Data" group.

You can use Power Query to load your data, apply its own "Remove Duplicates" function (which is often much faster for huge datasets), and then load the cleaned data back into Excel as a new table. While learning Power Query takes some time, it's an invaluable skill for serious data cleanup and preparation.

How Do You Find Duplicates In Excel FAQ

Final Checklist for How Do You Find Duplicates In Excel

Before you finalize your work or share your cleaned spreadsheet, run through this quick checklist to ensure everything is in order:

FAQ

What should I check before I start?

Check the goal, the key prerequisite, and any current instructions that could change the safest next step for how do you find duplicates in excel.

How can I tell whether the result is working?

Use the practical checks in the guide, pause if a required step is unclear, and verify the finished result against the intended outcome.