How to highlight duplicates in excel
Tutor 5 (22 Reviews)
Excel Tutor
Still stuck with a Excel question
Ask this expertAnswer
Highlighting duplicates in Excel is the process of marking repeated values so the repeated entries become visually identifiable. To highlight duplicates in Excel, Conditional Formatting applies a rule that checks repeated values in the selected range and formats them with a color.
Steps
-
You can just select the range that contains the values you want to analyze.
-
Go to Home on the Ribbon.
-
Select Conditional Formatting in the Styles group.
-
Choose Highlight Cells Rules.
-
Pick Duplicate Values.
-
Pick the formatting style from the dropdown.
-
Confirm with OK.
Excel highlights every record that appears more than once in the selected area.
Windows and Mac differences
Excel for Windows and Excel for Mac use the same path for this task. The layout and command names match across both systems.
How to highlight only specific duplicate conditions
Excel highlights all duplicates by default. A custom rule applies when you want specific behaviors, such as flagging duplicates that appear more than twice or duplicates within a row.
Highlight duplicates that appear more than twice
-
Select the target range.
-
Go to Home → Conditional Formatting → New Rule.
-
Pick Use a formula to determine which cells to format.
-
Enter the formula in the rule box:
-
Choose your format.
-
Confirm with OK.
Excel highlights values that occur three times or more.
Highlight duplicates across multiple columns
-
Select the full table.
-
Go to Conditional Formatting → New Rule.
-
Choose Use a formula to determine which cells to format.
-
Enter:
-
Apply the format and confirm.
Excel checks every column in the specified range for repeated values.
How to highlight entire rows with duplicate values
-
Select the entire table area.
-
Create a New Rule.
-
Choose Use a formula to determine which cells to format.
-
Enter:
-
Choose a fill color and confirm.
Excel highlights the full row for every duplicate occurring in the key column.
How to remove highlighting after use
-
Select the formatted range.
-
Go to Conditional Formatting.
-
Select Clear Rules.
-
Pick Clear Rules from Selected Cells or Clear Rules from Entire Sheet.
Excel removes the formatting but keeps the data intact.
Advanced filtering behavior
Excel conditional formatting recalculates instantly when the list changes. Duplicates change when users add new entries, delete entries, or edit values; conditional formatting updates without manual refresh.
Key optimization terms related to the topic
-
Conditional formatting
-
Duplicate entries
-
COUNTIF
-
Repeated values
-
Data validation
-
Error checking
-
Highlighted cells
-
Workbook consistency
-
Data preparation
-
Spreadsheet cleanup
Related Questions
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