Avatar of Kevin Smith
Kevin SmithFlag for United States of America

asked on 

How do I match and highlight a cell in one sheet based on another sheet with a column match?

I have Sheet1 (HOURS) and Sheet2 (VACATIONS).  HOURS has...

                 8/29 | 8/30 | 8/31 | 9/1 (ETC.)

Bobby        8.0       4.5       6       3.5
Tommy       6         2          5         8


                 8/29 | 8/30 | 8/31 | 9/1 (ETC.)

Bobby                               X
Tommy                   X

Now, on the HOURS sheet, I have a column above each date that flags whether or not there is a vacation day on that day.  So I the above examples, HOURS sheet would have a V on 8/30 and 8/31 because we put an X in as Bobby and Tommy taking a vacation on those day.

My question is: How do I highlight the column for THAT day with THAT employee on the HOURS sheet based on if there is an X by their name on the VACATIONS sheet?  So in the above example, the HOURS sheet would highlight the 8/31 cell for Bobby and highlight the 8/30 cell for Tommy.

The idea is that they are scheduling hours on location for each employee, but if they are on vacation (as noted on the VACATION sheet), they want the cell on that day for that employee to be highlighted.

Microsoft Excel

Avatar of undefined
Last Comment
Kevin Smith
Avatar of Barry Cunney
Barry Cunney
Flag of Ireland image

Blurred text
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of Kevin Smith
Kevin Smith
Flag of United States of America image


x-men...I'm familiar with conditional formatting...I was looking for a more particular method of matching between cells and sheets.

bcunney, I'll play around with vlookup...do you have any examples or points in the right direction as far as formulas?
Avatar of Kevin Smith
Kevin Smith
Flag of United States of America image


closing this out.
Microsoft Excel
Microsoft Excel

Microsoft Excel topics include formulas, formatting, VBA macros and user-defined functions, and everything else related to the spreadsheet user interface, including error messages.

Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews


IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo