How to delete duplicate values in excel
Tutor 5 (75 Reviews)
Excel Tutor
Still stuck with a Excel question
Ask this expertAnswer
To delete duplicate values in Excel, use the built-in Remove Duplicates feature to permanently keep one unique entry and delete the rest based on selected columns.
Method 1: Remove duplicates using the built-in tool (recommended)
Select the range of cells that contains the duplicate values.
Select the Data tab on the ribbon.
Select Remove Duplicates.
Choose the columns Excel should evaluate for duplicates.
Select OK.
Review the confirmation dialog that reports how many duplicates were removed and how many unique values remain.
This method deletes duplicate rows at the data level and preserves one occurrence of each value. The first occurrence, based on row order, remains.
Method 2: Remove duplicates from a single column only
Select one column that contains duplicate values.
Select the Data tab.
Select Remove Duplicates.
Keep only the selected column checked.
Select OK.
This approach deletes rows where the selected column repeats, even when other columns contain different data.
Method 3: Remove duplicates after sorting (order-controlled deletion)
Select the full data range.
Select Data.
Select Sort.
Choose the column used to identify duplicates.
Select a sort order that defines which entry should remain.
Select Remove Duplicates.
Confirm the target column.
Select OK.
Sorting first gives control over which duplicate entry Excel keeps.
Method 4: Remove duplicates using Advanced Filter (non-destructive option)
Select the data range.
Select the Data tab.
Select Advanced in the Sort & Filter group.
Choose Copy to another location.
Check Unique records only.
Choose a destination range.
Select OK.
This method creates a clean list of unique values without deleting the original data.
Method 5: Remove duplicates using Conditional Formatting for manual review
Select the data range.
Select Home.
Select Conditional Formatting.
Select Highlight Cells Rules.
Select Duplicate Values.
Apply a highlight style.
Manually delete the highlighted duplicate entries.
This method supports visual validation before deletion.
What happens to formulas and formatting when duplicates are deleted?
Formulas and formatting remain unchanged for the rows that stay. Deleted rows permanently remove any formulas, values, and formatting they contain.
Does Excel keep the first or last duplicate value?
Yes. Excel keeps the first occurrence based on row position. Excel deletes all later occurrences during the removal process.
Windows and Mac differences
The Remove Duplicates command exists in the Data tab on both platforms.
Keyboard shortcuts differ.
Windows commonly uses Alt-based ribbon shortcuts.
Mac relies on menu navigation without Alt key sequences.
Dialog options and behavior remain identical across platforms.
Common mistakes to avoid
Removing duplicates without selecting the correct columns.
Applying the tool to filtered data unintentionally.
Skipping data backup before deletion.
Assuming duplicates mean identical rows rather than identical values.
Best practices for accuracy
Convert the range to a Table to ensure dynamic updates.
Sort data before deletion when record priority matters.
Validate column selection in the Remove Duplicates dialog.
Save a copy of the file before performing permanent deletions.
Excel deletes duplicate values reliably when the correct column logic and sequence are applied.
. Was this Helpful?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 delete duplicate rows based on one column
Answers · 1
What is the formula to compare two columns for duplicates
Answers · 0
How to count in excel without duplicates
Answers · 0
How to color code duplicates in excel
Answers · 1