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

8/22/2022 - Mon
Barry Cunney

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question

Kevin Smith

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?
Kevin Smith

closing this out.
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.