Link to home
Start Free TrialLog in
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

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!
ASKER CERTIFIED SOLUTION
Avatar of Barry Cunney
Barry Cunney
Flag of Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Kevin Smith

ASKER

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?
closing this out.