How to highlight duplicates from another sheet
Tutor 5 (82 Reviews)
Excel Tutor
Still stuck with a Excel question
Ask this expertAnswer
To highlight duplicates in Excel where the comparison range is on a different sheet, follow these steps:
Select the cells you want to check for duplicates on your current sheet.
Go to the Home tab on the ribbon.
Click Conditional Formatting → New Rule.
Choose Use a formula to determine which cells to format.
Enter a formula using the
COUNTIFfunction to reference the other sheet. For example, if you are checking values inSheet1column A against values inSheet2column A, the formula is:=COUNTIF(Sheet2!A:A, A1)>0
Explanation:
Sheet2!A:Ais the range to check for duplicates.A1is the first cell in your selected range on the current sheet.>0indicates that if a match exists, the formula returns TRUE, triggering the formatting.
Click Format, choose your desired highlighting style (fill color, text color, or border), and press OK.
Click OK again to apply the rule.
Notes:
The formula works dynamically, so as you add new values to either sheet, the highlighting updates automatically.
For Mac, the steps are the same. However, when typing sheet names with spaces, enclose them in single quotes, e.g.,
=COUNTIF('Sheet 2'!A:A, A1)>0
Avoid selecting entire columns unnecessarily, as using large ranges may slow down Excel in big workbooks.
This method ensures that duplicates are clearly highlighted based on values from another sheet without manually comparing the data.
. 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