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

Kevin Smith
Kevin Smith used Ask the Experts™
on
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

VACATIONS has

                 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.

Thanks!
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Use a VLOOKUP to see if there is a related X in the second sheet and then use Conditional formatting to color the cell based on the return value of the VLOOKUP

Author

Commented:
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?

Author

Commented:
closing this out.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial