How to only show duplicates in excel
Tutor 5 (91 Reviews)
Excel Tutor
Still stuck with a Excel question
Ask this expertAnswer
To only show duplicates in Excel, you can use the Conditional Formatting and Filter features. This method highlights duplicate values and allows you to filter the data to display only the duplicates.
Steps to Show Only Duplicates
Select the Data Range
Click and drag to select the cells you want to check for duplicates. This can be a single column or multiple columns.Apply Conditional Formatting
Go to the Home tab.
Click Conditional Formatting → Highlight Cells Rules → Duplicate Values.
In the pop-up, select the formatting style to highlight duplicates. Click OK.
Filter to Show Only Duplicates
Keep the highlighted cells selected.
Go to the Data tab.
Click Filter. Small dropdown arrows appear on your column headers.
Click the dropdown arrow on the column with duplicates.
Choose Filter by Color and select the color you used in Conditional Formatting.
Only the rows with duplicate values will now be visible. Unique values will be hidden.
Alternative Method Using Formulas
You can use a formula to identify duplicates in a new column and filter them:
Suppose your data is in column A, starting from cell A2. In cell B2, enter the formula:
=IF(COUNTIF(A:A,A2)>1,"Duplicate","Unique")
Drag the formula down for all rows.
Apply a filter to column B and select Duplicate to show only duplicate entries.
This method works across multiple Excel versions and is particularly useful for dynamic data where values may often change.
Notes
On Mac, Conditional Formatting is located under Home → Format → Conditional Formatting. The rest of the steps remain the same.
This method highlights all duplicate occurrences, not just the second or later occurrences.
Get Online Tutoring or Questions answered by Experts.
You can post a question for a tutor or set up a tutoring session
Answers · 1
What is the formula to highlight duplicate values
Answers · 1
What is the formula to remove duplicates
Answers · 1
How to delete duplicate values in excel
Answers · 1
How to delete duplicate rows based on one column
Answers · 1