How to highlight duplicates in multiple columns
Tutor 5 (82 Reviews)
Excel Tutor
Still stuck with a Excel question
Ask this expertAnswer
To highlight duplicates in multiple columns in Excel, follow these steps:
Step 1: Select the Data Range
Click and drag to select all the columns where you want to check for duplicates.
Ensure that you select the entire data, including all rows and columns you want to compare.
Step 2: Open Conditional Formatting
Go to the Home tab on the Ribbon.
Click Conditional Formatting in the Styles group.
Hover over Highlight Cells Rules and select Duplicate Values.
Step 3: Configure Duplicate Highlighting
In the Duplicate Values dialog box, choose Duplicate in the first dropdown.
Select a formatting style (like light red fill with dark red text) from the second dropdown.
Click OK.
Step 4: Confirm Highlighting
Excel will now highlight all duplicate values across the selected columns.
The highlighting updates automatically when new duplicates are added to the selected range.
Notes:
This method highlights duplicates within the selected range, meaning Excel checks duplicates across the columns selected, not just within each column.
For duplicates across non-adjacent columns:
Hold Ctrl and select each column individually before applying Conditional Formatting.
To remove duplicate highlighting:
Go to Conditional Formatting → Clear Rules → Clear Rules from Selected Cells.
Optional: Use a Formula for Complex Cases
For more advanced highlighting (for example, only highlight duplicates if they appear in all columns), use a formula:
Select the entire data range.
Go to Conditional Formatting → New Rule → Use a formula to determine which cells to format.
Enter the formula:
=COUNTIF($A$1:$C$100, A1)>1
Replace
$A$1:$C$100with your selected range.
Click Format, choose a highlight style, then click OK.
This formula highlights any value that appears more than once across the selected columns.
You can apply these steps to datasets of any size, and Excel will highlight duplicates dynamically as data changes.
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