Spreadsheet: 854125d1704104817-a-networkday-formula-that-excludes-holidays-and-multiple-leave-date-entries-by-employee-formula-play_with-expected-results-highlighted-in-yellow_v2
Sheet: Project

employee | Start | end |  | Networkdays |  | result wanted
AS123 | 2024-01-15 00:00:00 | 2024-02-16 00:00:00 |  |  |  | 15
AP345 | 2024-03-10 00:00:00 | 2024-03-14 00:00:00 |  |  |  | 1
AP346 | 2023-12-29 00:00:00 | 2024-03-29 00:00:00 |  |  |  | 57
[NAME] | 2023-12-05 00:00:00 | 2024-02-02 00:00:00 |  |  |  | 33
 | 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
 |  |  |  | 2024-01-07 00:00:00 | Weekend
 |  |  |  | 2024-01-08 00:00:00 | 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