Spreadsheet: 860823d1708845090-a-networkday-formula-that-excludes-holidays-and-multiple-leave-date-entries-by-employee-check_formula-play_with-expected-results-highlighted-in-yellow_v5_return-dates_hans
Sheet: Project

 |  |  | 1 | 2 | 3 | 1 | 2 | 3
 |  |  | end date |  |  | available working days backwardsfrom 'end date' to determinte the start date:
employee | Start | entered end |  |  |  | 17 | 10 | 7
AS123 | 2024-01-15 00:00:00 | 2024-02-16 00:00:00 | 2024-02-19 00:00:00 | 2024-01-29 00:00:00 | 2024-01-23 00:00:00 | 2024-01-15 00:00:00 | 2024-01-15 00:00:00 | 2024-01-15 00:00:00
[NAME] | 2023-12-05 00:00:00 | 2024-02-02 00:00:00 | 2024-01-02 00:00:00 | 2023-12-18 00:00:00 | 2023-12-13 00:00:00 | 2023-12-05 00:00:00 | 2023-12-05 00:00:00 | 2023-12-05 00:00:00
 | empl. AS123 |  |  |  | empl. [NAME]
 |  | 1 |  |  |  | 1
 | 2024-01-16 00:00:00 | 1 |  |  | 2023-12-06 00:00:00 | 1
 | 2024-01-17 00:00:00 | 1 |  |  | 2023-12-07 00:00:00 | 1
 | 2024-01-18 00:00:00 | 1 |  |  | 2023-12-08 00:00:00 | 1
 | 2024-01-19 00:00:00 | 1 |  |  | 2023-12-09 00:00:00 | Weekend
 | 2024-01-20 00:00:00 | Weekend |  |  | 2023-12-10 00:00:00 | Weekend
 | 2024-01-21 00:00:00 | Weekend |  |  | 2023-12-11 00:00:00 | 1
 | 2024-01-22 00:00:00 | 1 |  |  | 2023-12-12 00:00:00 | 1
 | 2024-01-23 00:00:00 | 1 |  |  | 2023-12-13 00:00:00 | 1
 | 2024-01-24 00:00:00 | 1 |  |  | 2023-12-14 00:00:00 | 1
 | 2024-01-25 00:00:00 | 1 |  |  | 2023-12-15 00:00:00 | 1
 | 2024-01-26 00:00:00 | Australia Day |  |  | 2023-12-16 00:00:00 | Weekend
 | 2024-01-27 00:00:00 | Weekend |  |  | 2023-12-17 00:00:00 | Weekend
 | 2024-01-28 00:00:00 | Weekend |  |  | 2023-12-18 00:00:00 | 1
 | 2024-01-29 00:00:00 | 1 |  |  | 2023-12-19 00:00:00 | 1
 | 2024-01-30 00:00:00 | 1 |  |  | 2023-12-20 00:00:00 | 1
 | 2024-01-31 00:00:00 | 1 |  |  | 2023-12-21 00:00:00 | 1
 | 2024-02-01 00:00:00 | 1 |  |  | 2023-12-22 00:00:00 | 1
 | 2024-02-02 00:00:00 | 1 |  |  | 2023-12-23 00:00:00 | Weekend
 | 2024-02-03 00:00:00 | Weekend |  |  | 2023-12-24 00:00:00 | Weekend
 | 2024-02-04 00:00:00 | Weekend |  |  | 2023-12-25 00:00:00 | Christmas Day
 | 2024-02-05 00:00:00 | 1 |  |  | 2023-12-26 00:00:00 | Boxing Day
 | 2024-02-06 00:00:00 | 1 |  |  | 2023-12-27 00:00:00 | Picnic Day
 | 2024-02-07 00:00:00 | Leave |  |  | 2023-12-28 00:00:00 | 1
 | 2024-02-08 00:00:00 | Leave |  |  | 2023-12-29 00:00:00 | 1
 | 2024-02-09 00:00:00 | Leave |  |  | 2023-12-30 00:00:00 | Weekend
 | 2024-02-10 00:00:00 | Leave |  |  | 2023-12-31 00:00:00 | Weekend
 | 2024-02-11 00:00:00 | Leave |  |  | 2024-01-01 00:00:00 | New Year's Day
 | 2024-02-12 00:00:00 | Leave |  |  | 2024-01-02 00:00:00 | 1
 | 2024-02-13 00:00:00 | Leave |  |  | 2024-01-03 00:00:00 | 1
 | 2024-02-14 00:00:00 | Leave |  |  | 2024-01-04 00:00:00 | 1
 | 2024-02-15 00:00:00 | Leave |  |  | 2024-01-05 00:00:00 | 1
 | 2024-02-16 00:00:00 | Leave |  |  | 2024-01-06 00:00:00 | Weekend
 | Saturday, 17 February 2024 | Weekend |  |  | 2024-01-07 00:00:00 | Weekend
 | Sunday, 18 February 2024 | Weekend |  |  | 2024-01-08 00:00:00 | 1
 | Monday, 19 February 2024 | 1 |  |  | 2024-01-09 00:00:00 | 1
 |  |  |  |  | 2024-01-10 00:00:00 | 1
 |  |  |  |  | 2024-01-11 00:00:00 | 1
 |  |  |  |  | 2024-01-12 00:00:00 | 1
 |  |  |  |  | 2024-01-13 00:00:00 | Weekend
 |  |  |  |  | 2024-01-14 00:00:00 | Weekend
 |  |  |  |  | 2024-01-15 00:00:00 | 1
 |  |  |  |  | 2024-01-16 00:00:00 | 1
 |  |  |  |  | 2024-01-17 00:00:00 | 1
 |  |  |  |  | 2024-01-18 00:00:00 | 1
 |  |  |  |  | 2024-01-19 00:00:00 | 1
 |  |  |  |  | 2024-01-20 00:00:00 | Weekend
 |  |  |  |  | 2024-01-21 00:00:00 | Weekend
 |  |  |  |  | 2024-01-22 00:00:00 | 1
 |  |  |  |  | 2024-01-23 00:00:00 | 1
 |  |  |  |  | 2024-01-24 00:00:00 | 1
 |  |  |  |  | 2024-01-25 00:00:00 | 1
 |  |  |  |  | 2024-01-26 00:00:00 | Australia Day
 |  |  |  |  | 2024-01-27 00:00:00 | Weekend
 |  |  |  |  | 2024-01-28 00:00:00 | Weekend
 |  |  |  |  | 2024-01-29 00:00:00 | 1
 |  |  |  |  | 2024-01-30 00:00:00 | 1
 |  |  |  |  | 2024-01-31 00:00:00 | 1
 |  |  |  |  | 2024-02-01 00:00:00 | 1
 |  |  |  |  | 2024-02-02 00:00:00 | 1