TX Sheet Control

NETWORKDAYS Function

Function

Return the number of whole working days between two dates. start_date and end_date_or_days are the first and last day, both counted; Saturdays and Sundays are not working days. The third argument, weekend_or_holidays, is an optional date, range or array of holidays to leave out. When the end date is before the start date, the result is negative.

Syntax

NETWORKDAYS(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(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.

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

See Also