Highlighting Duplicates in Microsoft Excel
How to Find and Remove Duplicate Entries in Excel
Finding and optionally deleting duplicate entries in your spreadsheets is easy with Excel’s built-in features. You can either highlight duplicates to view them or use Excel’s tools to remove them automatically.
Highlight Duplicate Values in Excel
To highlight duplicates in your dataset:
- Select the Dataset: Open your spreadsheet and select the range of cells (including column headers) where you want to check for duplicates.
- Apply Conditional Formatting:
- Go to the Home tab on the ribbon.
- In the Styles section, click Conditional Formatting.
- Choose Highlight Cells Rules and then select Duplicate Values.
- Choose Formatting:
- In the “Duplicate Values” box, choose Duplicate from the first drop-down menu.
- Pick your preferred formatting style from the second drop-down. If you want custom formatting, click Custom Format.
- Click OK: Excel will now highlight any duplicate entries in the selected range, making them easy to spot.
Remove Duplicate Values in Excel
To remove duplicates from your dataset:
- Select the Dataset: Highlight the range of cells containing the duplicates, including the column headers.
- Open the Remove Duplicates Tool:
- Go to the Data tab on the ribbon.
- In the Data Tools section, click Remove Duplicates.
- Configure the Remove Duplicates Box:
- If your dataset includes column headers, check the My Data Has Headers box.
- Ensure the correct columns are selected for checking duplicates.
- Click OK: Excel will remove the duplicate entries and leave only the unique values in your dataset.