excel how to remove duplicate values

Excel: Delete Duplicates in a Flash

By Matthew Hernandez
AD

Ever found yourself sifting through a mountain of data in Excel, only to realize that you're dealing with duplicate values? These can skew your analysis,-clutter your spreadsheets, and make your data look messy. The good news is, removing duplicates in Excel is a breeze with the right know-how. Let's dive into two powerful methods to help you declutter your spreadsheets and get your data in tip-top shape.

Before we start, ensure your data is sorted by the column you want to check for duplicates. This will make the removal process more efficient. Now, let's explore two handy ways to remove duplicate values in Excel.

Using the 'Remove Duplicates' Feature

The 'Remove Duplicates' feature is Excel's built-in solution for eradicating duplicate values. It's quick, easy, and perfect for small to medium datasets. Here's how to use it:

AD
How to Remove Duplicate Values in Excel: Step-by-Step Guide
How to Remove Duplicate Values in Excel: Step-by-Step Guide
How To Check & Remove Duplicates In Excel 2026
How To Check & Remove Duplicates In Excel 2026
Excel Remove Duplicates – Easy Step-by-Step Guide
Excel Remove Duplicates – Easy Step-by-Step Guide

1. **Select the range**: Choose the data range you want to check for duplicates.

2. **Click on 'Data'**: In the Excel ribbon, click on the 'Data' tab.

Remove Duplicates in Exce
Remove Duplicates in Exce
How to Remove Duplicate Values in Excel Step by Step
How to Remove Duplicate Values in Excel Step by Step
How to remove duplicate values in less than 10 seconds.
How to remove duplicate values in less than 10 seconds.

3. **Remove duplicates**: Click on 'Remove Duplicates' in the 'Data Tools' group.

Step-by-Step: Removing Duplicates

Let's go through this process step-by-step.

AD

Once you click on 'Remove Duplicates', you'll see a dialog box. Ensure your 'Column' selection matches the range you chose initially. Excel will automatically select all the columns in your range for you. Click 'OK' to proceed.

Remove Duplicates in Excel Without Deleting Your Data! 🤯 | Advanced Filter Trick
Remove Duplicates in Excel Without Deleting Your Data! 🤯 | Advanced Filter Trick
How to Use the Remove Duplicates Function in Excel
How to Use the Remove Duplicates Function in Excel
HOW TO REMOVE DUPLICATE VALUES IN MS EXCEL
HOW TO REMOVE DUPLICATE VALUES IN MS EXCEL
How to Find Duplicate Names in Excel
How to Find Duplicate Names in Excel
How to Remove Duplicate Data in Excel: Step-by-Step Guide
How to Remove Duplicate Data in Excel: Step-by-Step Guide
FILTER + UNIQUE in Excel: Extract Clean, Dynamic & Duplicate-Free Data
FILTER + UNIQUE in Excel: Extract Clean, Dynamic & Duplicate-Free Data

Excel will then display another dialog box, showing the number of duplicated records it found. Click 'OK' to confirm and watch your duplicates vanish.

Removing Duplicates from Specific Columns

What if you only want to remove duplicates based on certain columns? Here's how:

AD

After selecting 'Column' in the dialog box, deselect the columns you don't want to consider while checking for duplicates. This way, Excel will only identify and remove duplicates based on the selected columns.

a man with glasses pointing to the left and an orange rectangle above his head that says remove duplicates
a man with glasses pointing to the left and an orange rectangle above his head that says remove duplicates
How to Remove Duplicates in Excel: 5 Easy Tricks
How to Remove Duplicates in Excel: 5 Easy Tricks
How to Safely Remove Duplicate Entries in Excel
How to Safely Remove Duplicate Entries in Excel

Using a Formula to Find and Remove Duplicates

If you're working with a large dataset and facing performance issues with the 'Remove Duplicates' feature, don't worry. You can use a simple formula with the 'COUNTIF' function to find and remove duplicates. Here's how:

Step 1: Find Duplicates

In a new column (e.g., Column D), enter the following formula:

AD

=COUNTIF($A$1:$A$5,$A2)

This formula counts the number of times the value in cell A2 appears in the range A1:A5. If the count is more than one, it means the value is a duplicate.

Step 2: Remove Duplicates

In the same row as your result, enter another formula to remove duplicates:

=IF(D2=1,A2,"")

This formula checks if the count in column D is one. If it is, it displays the value from column A. If not, it leaves it blank, effectively 'hiding' the duplicate.

Now, you can filter your data to display only the blanks (Home tab > Sort & Filter > Filter > Blank). Delete these rows to remove the duplicates. Don't forget to turn off the filter (Filter icon > Turn off Filter).

There you have it! Two robust methods to help you wage war on duplicates in Excel. Next time you catch your data being repetitive, you know exactly how to whip it into shape. Happy decluttering!

AD