How to count days excluding weekends and holidays in excel. However, start day and end day can be weekends or holidays.
I have tried Networkdays function in excel using MAC. I also tried workdays function. And, i am new to this forum. Let me know if you are not able to understand anything.
Start Date(E) End Date (F)
2019-07-20 - 2019-08-01
2019-08-04 - 2019-08-06
2019-08-05 - 2019-08-07
2019-08-02 - 2019-08-07
2019-08-14 - 2019-08-20
Holiday list
Date(K) Description Day
8/12/19 - Eid - Monday
8/15/19 - Independence Day - Thursday
Excel formula:
= NETWORKDAYS(E2,F2,$K$7:$K$27)
Start date: Column E, End date: Column F, Holiday list: Column H
output expected output
9 8
2 1
3 1
4 2
4 2
expected output
? I don't quite understand the logic behind these values. For example, first row (20/07/2019 - 01/08/2019) properly present the output of9
as 20/21.07 are weekends, 22-25.07 are working days (Mon-Fri), 27-28.07 are weekends and then 29.07-1.08 are working days (Mon-Thu), giving us9
in total. Your holidays list contains 2 holiday dates which do not fall on this period. It'd be easier to help once I understand your approach. - Justyna MK2019-08-04 - 2019-08-06
, why the result is1
? 4th is Sunday (weekend), 5th is Monday (working day) and 6th is Tuesday (working day) - shouldn't the result be2
? - Justyna MK