StartDate
The start date.
Days
The number of working days to set back or advance the start date. A positive number advances the start date and a negative number sets it back.
Holidays
An array of dates representing holidays, which are not considered working days. If omitted, only weekends are excluded from the calculation.
Returns
A date advanced or set back a number of working days.
Returns a date advanced or set back a number of working days. Weekends are excluded from the calculation, as are the holidays given as the third parameter. To customize what days are considered weekend days, use the WORKDAY.INTL function instead.
Examples
Returns a date representing February 19, 2021, a Friday. February 17, 2021, is a Wednesday, and advancing that date by two working days returns the following Friday.
Returns a date representing February 22, 2021, a Monday. February 17, 2021, is a Wednesday, and advancing that date by three working days returns the following Monday, because the calculation skips over weekends and holidays.
Returns a date representing February 23, 2021, a Tuesday. February 17, 2021, is a Wednesday, and advancing that date by three working days returns the following Tuesday, because the calculation skips over weekends and holidays and February 18 (a Thursday) is considered a holiday.