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.
- HansVogelaarApr 30, 2024MVP
It works for me in a small test workbook. Could you attach a small sample workbook demonstrating the problem (without sensitive data), or if that is not possible, make it available through OneDrive, Google Drive, Dropbox or similar?
- JucabraSep 11, 2024Copper Contributor
HansVogelaar The formula worked just fine for me! You just have to remember to close with 3 parentheses at the end of it and select a format to highlight or otherwise distinguish your data.