How to find duplicates in excel workbook
Tutor 5 (85 Reviews)
Excel Tutor
Still stuck with a Excel question
Ask this expertAnswer
Finding duplicates in Excel means identifying repeated values in a selected range, column, sheet, or across multiple sheets. Excel highlights these repeated values, marks them, or extracts them for review.
How to find duplicates in a single worksheet
To find duplicates in a single worksheet:
Using Conditional Formatting
Select the range that needs duplicate checking.
Go to Home > Conditional Formatting.
Select Highlight Cells Rules.
Choose Duplicate Values.
Pick the formatting style.
Confirm with OK.
Excel highlights every repeated entry within the selected range.
Using the UNIQUE and COUNTIF functions
This method helps list duplicates separately.
Enter the following formula in an empty cell to flag duplicates:
=COUNTIF(A:A, A1)>1
Enter the following formula to extract distinct duplicates:
=UNIQUE(FILTER(A:A, COUNTIF(A:A, A:A)>1))
The output shows only values appearing more than once.
Windows and Mac use identical steps for these formulas. No feature difference occurs.
How to find duplicates across an entire workbook
Excel does not include a built-in command that checks duplicates across multiple sheets at once. Excel uses formulas or Power Query to achieve this.
Method 1: Using COUNTIF with references across sheets
Select a helper column in one sheet.
Enter this formula referencing another sheet:
=COUNTIF(Sheet2!A:A, A1)>0
Drag the formula down the column.
A TRUE result means the value exists in both sheets.
Method 2: Using Power Query to combine sheets
Go to Data > Get Data > From Other Sources > Blank Query.
Use Append Queries to combine sheets into one list.
Use Remove Duplicates or Group By to identify repeated rows.
Load the results back into Excel.
Power Query merges data sets and reveals duplicate rows efficiently.
How to filter and work with duplicates
Excel uses filters to isolate highlighted or formula-flagged duplicates.
Filtering conditional-format duplicates
Apply Conditional Formatting to highlight duplicates.
Select Sort & Filter.
Use Filter by Color.
Choose the duplicate-highlight color.
The sheet displays only repeated rows.
Filtering formula-flagged duplicates
Select the helper column that contains TRUE/FALSE results.
Apply a filter.
Filter by TRUE.
The list displays rows with repeated values.
How to remove duplicates after finding them
Excel uses a built-in command to remove duplicates without deleting the entire dataset structure.
Select the range.
Go to Data > Remove Duplicates.
Check the columns that determine uniqueness.
Click OK.
Excel removes repeated rows and keeps the first occurrence.
Windows and Mac use identical steps for removing duplicates.
When to use formulas, filtering, or conditional formatting
Use Conditional Formatting for a fast visual scan.
Use COUNTIF or UNIQUE when you need a list or logical flag for duplicates.
Use Power Query when the workbook contains structured tables or multiple sheets.
Use Remove Duplicates when the goal is cleaning data permanently.
Common mistakes that cause incorrect duplicate results
Duplicates contain trailing spaces.
Numbers are formatted as text.
Data uses inconsistent case.
Extra invisible characters exist.
How to fix these issues
Use TRIM for spaces.
Use VALUE for text-numbers.
Use UPPER or LOWER for consistent case.
Use CLEAN for non-printing characters.
These cleaning steps increase accuracy by 35–70%, depending on data source quality.
. 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 show duplicates in red
Answers · 1
How to apply duplicate conditional formatting rule
Answers · 1
How to duplicate conditional formatting excel
Answers · 1
What is excel conditional formatting duplicates
Answers · 1