Forum Discussion
Highlight Duplicate values across multiple sheets
In the following, I will assume that the names are in A2 and down on each sheet.
Select A2:A1000 or however far down the data go on the ALL NAMES sheet.
A2 should be the active cell in the selection.
On the Home tab of the ribbon, click Conditional Formatting > New Rule...
Select 'Use a formula to determine which cells to format'.
Enter the formula
=OR(ISNUMBER(XMATCH(A2, Gold!A:A)), ISNUMBER(XMATCH(A2, Silver!A:A)), ISNUMBER(XMATCH(A2, Top!A:A)))
Add more ranges as needed. If a sheet name contains spaces or punctuation, enclose it in single quotes: 'Sheet Name'!A:A
Click Format...
Activate the Fill tab.
Select a highlight color.
Click OK, then click OK again.
HansVogelaar When I try it gives me an error message of "You may not use references to other workbooks for Conditional Formatting criteria"
- HansVogelaarOct 01, 2024MVP
Conditional Formatting can refer to ranges on other worksheets within the same workbook, but not to ranges on worksheets in other workbooks.