In the example shown, the lower time is 9:00 AM and the upper time is 5:00 PM.
These appear in the formula as thenamed ranges"lower" and “upper”.
TheNETWORKDAYS functionhandles the exclusion of weekends and holidays (when provided as a range of dates).
you might switch toNETWORKDAYS.INTLif your schedule has non-standard working days.
Formatting output
The result is a number which represents total hours.
Like allExcel times, you will need to format the output with a suitablenumber format.
In other words, they make it possible to display hours greater than 24.
NETWORKDAYS automatically excludes weekends (Saturday and Sunday) and canoptionallyexclude a list of holidays supplied as dates.
…
NETWORKDAYS.INTL Function
The Excel NETWORKDAYS.INTL function calculates the number of working days between two dates.