Forum Discussion
Highlight duplicate cell in another sheet
- Aug 19, 2021
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.
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?
- KcsurkNov 07, 2023Copper ContributorFor the sake of ease, I'd set both origin & destination radius at 50 miles each
- HansVogelaarNov 08, 2023MVP
Do you have that information in your workbook? If so, 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?
- KcsurkNov 08, 2023Copper Contributor
HansVogelaar I've linked the document. Was discussing with my boss and he thinks a VLookUp between two separate workbooks would work, but he's unsure how to set that up.
Open to any suggestions you have & appreciate the assistance!
https://shipbestds-my.sharepoint.com/:x:/r/personal/ksurkamer_shipbds_com/_layouts/15/Doc.aspx?sourcedoc=%7B7D9EC303-C6CC-405A-AAD6-3C30D99D51E2%7D&file=Workbook.xlsx&action=default&mobileredirect=true