Forum Discussion
Highlight duplicate cell in another sheet
I need some assistance if possible please.
Data in sheet 1, col B.
Data in sheet 2, col B.
If data in Sheet 2 Col B is the same as Sheet 1 Col B, highlight the duplicate in sheet 2.
Thanks
Select column B on Sheet2. Cell B1 should be the active cell in the selection.
On the Home tab of the ribbon, select Conditional Formatting > New Rule...
Select 'Use a formula to determine which cells to format'.
Enter the formula
=ISNUMBER(MATCH(B1, 'Sheet 1'!B:B, 0))
Substitute the real name of Sheet 1.
Click Format...
Activate the Fill tab.
Select a highlight color.
Click OK, then click OK again.
Select column B on Sheet2. Cell B1 should be the active cell in the selection.
On the Home tab of the ribbon, select Conditional Formatting > New Rule...
Select 'Use a formula to determine which cells to format'.
Enter the formula
=ISNUMBER(MATCH(B1, 'Sheet 1'!B:B, 0))
Substitute the real name of Sheet 1.
Click Format...
Activate the Fill tab.
Select a highlight color.
Click OK, then click OK again.
- jvass92Copper ContributorThanks so much.
- KeppyACopper Contributor
HansVogelaar This worked perfect, even though numerous other sites said it was impossible. THANK YOU!
- KcsurkCopper Contributor
HansVogelaar is there a way to highlight only if it matches two columns?
Currently working on an excel tool for work (logistics), and am trying to get our internal list of preferred origin zip & destination zip to auto-highlight on bid data so it is easy for us to identify our focus.
I have two conditional formatting rules set up, but I would like to combine them into one rule and only highlight if both origin & destination match our master file.
Ideally, I'd be able to highlight any zip codes that are within a given radius of our internal data. Let me know if you have any work arounds or ideas!
How do you determine the distance?
- FPTMyUserNameCopper Contributor