troubleshooting Question

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

Avatar of Kevin Smith
Kevin SmithFlag for United States of America asked on
Microsoft Excel
4 Comments1 Solution249 ViewsLast Modified:
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.

Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 4 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 4 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros