I am trying to create a vacation planner for 2022. I have days of 2022 numbered (1 for Monday, 2 for Tuesday, etc.) as seen below:
I want to use this source data to find out what the employee days off are and if the employee has a matching number in the table above, I want Excel to return "Off" (e.g. John Smith is off Sat and Sun so in the first table, so I want Excel to look at this table below, find the off days for John Smith (6 and 7), and return the word "Off" in every cell that has a matching number of 6 or 7 in Column C:
Date | Day | Date of Request | Request # | Employee ID | Name |
01/01/22 | 6 | 0015954 | Smith, John | ||
01/02/22 | 7 | 0015954 | Smith, John | ||
01/03/22 | 1 | 0015954 | Smith, John | ||
01/04/22 | 2 | 0015954 | Smith, John | ||
01/05/22 | 3 | 0015954 | Smith, John | ||
01/06/22 | 4 | 0015954 | Smith, John | ||
01/07/22 | 5 | 0015954 | Smith, John | ||
I want to use this source data to find out what the employee days off are and if the employee has a matching number in the table above, I want Excel to return "Off" (e.g. John Smith is off Sat and Sun so in the first table, so I want Excel to look at this table below, find the off days for John Smith (6 and 7), and return the word "Off" in every cell that has a matching number of 6 or 7 in Column C:
EE Number | Employee Name | New Classification | Location Code | Senority Date | Day off | Day off 2 |
0015954 | Smith, John | Tree Trimmers | 015954 | 01/01/21 | 6 | 7 |