Holidays, if provided, must be a range of valid Excel dates.

In these example shown, the first two formulas use the NETWORKDAYS function.

Custom work schedule

This formula assumes all working days have the same number of work hours.

Excel formula: Get work hours between dates and times

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.

Excel formula: Get workdays between dates

Excel formula: Add business days to date

Excel formula: Get work hours between dates custom schedule

Excel NETWORKDAYS function

Excel NETWORKDAYS.INTL function