TX Sheet Control

NETWORKDAYS.INTL Function

Function

Return the number of whole working days between two dates, with custom weekend days. start_date and end_date_or_days are the first and last day, both counted. weekend_or_holidays selects the weekend: 1 (Saturday and Sunday, the default) to 7 for two-day weekends from Sunday–Monday to Friday–Saturday, 11 to 17 for a single day from Sunday to Saturday, or a text of seven 0s and 1s from Monday to Sunday in which 1 marks a weekend day, such as "0000011". holidays is an optional date, range or array of days to leave out. An unknown weekend number returns #NUM!, and a weekend text of seven 1s returns #VALUE!.

Syntax

NETWORKDAYS.INTL(start_date, end_date_or_days, weekend_or_holidays, holidays)

Category: Date & Time. Minimum arguments: 2. Maximum arguments: 4.

Available for supported offline calculation.

Examples

=NETWORKDAYS.INTL(DATE(2026,10,5),DATE(2026,10,9))

The formula returns 5, the working days from Monday, October 5, 2026, to Friday, October 9, 2026, with the default Saturday and Sunday weekend.

Cell and range examples require appropriate input values in the referenced cells. Handle invalid arguments, formula errors and array and spill constraints.

See Also