How to delete duplicates on excel
Tutor 5 (273 Reviews)
Excel Tutor
Still stuck with a Excel question
Ask this expertAnswer
To delete duplicates in Excel, select the target data range, use the built-in “Remove Duplicates” tool, and confirm which columns define a duplicate. Excel removes the repeated entries and keeps one instance of each unique record.
Understanding Duplicate Removal
Excel identifies a duplicate when all selected columns match across two or more rows. Excel removes the extra rows and retains the first instance.
How to Delete Duplicates Using the Remove Duplicates Tool
Windows and Mac instructions
-
Select the range containing the records.
-
Open the Data tab.
-
Choose Remove Duplicates.
-
Select the columns that define a duplicate entry.
-
Confirm by selecting OK.
-
Review the confirmation message showing how many duplicates Excel removed.
The tool location is the same on Windows and Mac. The shortcut paths match on both systems.
How to Delete Duplicates for a Specific Column Only
-
Select the specific column.
-
Open the Data tab.
-
Select Remove Duplicates.
-
Confirm that the selected column is checked.
-
Choose OK.
Excel removes rows where that single column matches existing values.
How to Highlight Duplicates Before Deleting Them
Conditional formatting exposes repeated entries before removal.
-
Select the target range.
-
Open the Home tab.
-
Choose Conditional Formatting.
-
Select Highlight Cells Rules.
-
Choose Duplicate Values.
-
Confirm your highlight color.
This method enables review before deletion.
How to Delete Duplicates Without Losing the Original Data
Creating a backup range preserves the source.
-
Copy the dataset to a new sheet.
-
Select the copied range.
-
Choose Remove Duplicates from the Data tab.
-
Confirm the columns to evaluate.
-
Select OK.
This process safeguards the source data for later reference.
How to Delete Duplicates Using Advanced Filters
Advanced Filters extract unique records into a new location.
-
Select the source range.
-
Open the Data tab.
-
Select Advanced in the Sort & Filter group.
-
Select Copy to another location.
-
Check Unique records only.
-
Set the destination cell.
-
Choose OK.
Excel copies the unique list without modifying the source.
Why Excel May Not Delete Duplicates
Excel does not remove duplicates when extra spaces, invisible characters, or mismatched formats exist. A mismatch prevents Excel from marking records as identical.
Common issues
-
Leading or trailing spaces.
-
Hidden characters from pasted data.
-
Mixed number and text formats.
-
Merged cells in the data range.
Data cleaning increases successful detection rates.
How to Clean Data Before Removing Duplicates
Windows and Mac steps
-
Use TRIM, CLEAN, or VALUE functions in helper columns to standardize content.
-
Convert all text-formatted numbers to true numbers through Value or Text to Columns.
-
Remove spaces at the start or end of text fields.
-
Replace irregular characters through Find & Replace.
Clean data enables more accurate duplicate detection.
How to Delete Duplicates While Keeping the Last Entry
Excel keeps the first instance by default. Sorting rearranges the dataset to keep the last row instead.
-
Sort the dataset using the target column.
-
Choose descending order.
-
Select Remove Duplicates.
-
Confirm the evaluation columns.
-
Select OK.
Excel now retains the last instance because sorting changed the row order before removal.
How to Delete Duplicates Based on Multiple Columns
-
Highlight the dataset.
-
Open the Data tab.
-
Select Remove Duplicates.
-
Check the specific columns that define unique records.
-
Select OK.
Excel uses combined column values to detect duplicate rows.
Best Practices for Managing Duplicates
-
Clean data before using Remove Duplicates.
-
Highlight duplicates before deleting.
-
Create a backup sheet.
-
Use advanced filters for unique extraction.
-
Use sorting to control which instance Excel keeps.
-
Use helper columns for data cleanup when dealing with imports.
-
Document the chosen duplicate criteria when sharing files.
Get Online Tutoring or Questions answered by Experts.
You can post a question for a tutor or set up a tutoring session
Answers · 1
How to sort by highlighted cells in excel
Answers · 1
How to sort excel by column and keep rows together
Answers · 1
How to sort by time in excel
Answers · 1
How to sort alphabetically in excel by last name
Answers · 1