@OzNjB
The formula that successfully determines the cell range containing the list of known annual leave dates for a given engineer is:
INDIRECT(HLOOKUP(eng_no,eng_holiday_range,2,FALSE))
Another way to do that:
Create a list like imagine you already have that includes holidays for 2 years and leave days. I used American holidays. Name that range ... I used Holiday_Leave
|
J |
K |
L |
M |
N |
O |
1 |
Bob |
John |
Mike |
Jacob |
Kelly |
Martha |
2 |
1/1/2019 |
1/1/2019 |
1/1/2019 |
1/1/2019 |
1/1/2019 |
1/1/2019 |
3 |
5/27/2019 |
5/27/2019 |
5/27/2019 |
5/27/2019 |
5/27/2019 |
5/27/2019 |
4 |
7/4/2019 |
7/4/2019 |
7/4/2019 |
7/4/2019 |
7/4/2019 |
7/4/2019 |
5 |
9/2/2019 |
9/2/2019 |
9/2/2019 |
9/2/2019 |
9/2/2019 |
9/2/2019 |
6 |
11/28/2019 |
11/28/2019 |
11/28/2019 |
11/28/2019 |
11/28/2019 |
11/28/2019 |
7 |
12/25/2019 |
12/25/2019 |
12/25/2019 |
12/25/2019 |
12/25/2019 |
12/25/2019 |
8 |
1/1/2020 |
1/1/2020 |
1/1/2020 |
1/1/2020 |
1/1/2020 |
1/1/2020 |
9 |
5/25/2020 |
5/25/2020 |
5/25/2020 |
5/25/2020 |
5/25/2020 |
5/25/2020 |
10 |
7/4/2020 |
7/4/2020 |
7/4/2020 |
7/4/2020 |
7/4/2020 |
7/4/2020 |
11 |
9/7/2020 |
9/7/2020 |
9/7/2020 |
9/7/2020 |
9/7/2020 |
9/7/2020 |
12 |
11/26/2020 |
11/26/2020 |
11/26/2020 |
11/26/2020 |
11/26/2020 |
11/26/2020 |
13 |
12/25/2020 |
12/25/2020 |
12/25/2020 |
12/25/2020 |
12/25/2020 |
12/25/2020 |
14 |
5/6/2019 |
5/20/2019 |
5/13/2019 |
8/12/2019 |
5/28/2019 |
10/14/2019 |
15 |
5/7/2019 |
5/21/2019 |
5/14/2019 |
8/13/2019 |
5/29/2019 |
10/15/2019 |
16 |
5/8/2019 |
5/22/2019 |
5/15/2019 |
8/14/2019 |
5/30/2019 |
10/16/2019 |
17 |
5/9/2019 |
5/23/2019 |
5/23/2019 |
8/15/2019 |
5/31/2019 |
10/17/2019 |
18 |
5/10/2019 |
5/24/2019 |
5/24/2019 |
8/16/2019 |
6/3/2019 |
10/18/2019 |
19 |
|
|
6/24/2019 |
|
|
10/21/2019 |
20 |
|
|
6/25/2019 |
|
|
10/22/2019 |
21 |
|
|
6/26/2019 |
|
|
10/23/2019 |
22 |
|
|
6/27/2019 |
|
|
10/24/2019 |
23 |
|
|
6/28/2019 |
|
|
10/25/2019 |
24 |
|
|
|
|
|
11/29/2019 |
25 |
|
|
|
|
|
12/24/2019 |
Then with the start date in A1 this in A3 and filled down and across.
See the attached. Does that take care of the Holidays/Leave part?
Bookmarks