ReferenceFunctionsDate & Time Functions
NETWORKDAYS
NETWORKDAYS: Returns the number of weekday business days between two dates, inclusive.
Summary
Returns the number of weekday business days between two dates, inclusive.
Remarks
- Weekends are fixed to Saturday and Sunday.
- If
start_date > end_date, the result is negative. - Optional
holidaysarguments are excluded from the count and may be provided as scalars, inline arrays, or ranges. - Input serials are interpreted with Excel 1900 date mapping.
Examples
Count weekdays in a range
Grid
| Cell | Value | |
|---|---|---|
| No inputs on Sheet1. | ||
Formula
=
Result
Not evaluated yet.
Expected
6
Holiday exclusions reduce the count
Grid
| Cell | Value | |
|---|---|---|
| No inputs on Sheet1. | ||
Formula
=
Result
Not evaluated yet.
Expected
5
Related functions
FAQ
Can I exclude custom holidays in NETWORKDAYS?
Yes. Additional arguments can provide holiday serials, arrays, or ranges to exclude from the weekday count.
Runtime metadata
Category
Date & Time
Signature
NETWORKDAYS(arg1: Number, arg2: Number, arg3…: Any)Arity
min 2, max variadic
Arguments
arg1Number · Scalar · coercion NumberLenientText
arg2Number · Scalar · coercion NumberLenientText
arg3Any · Scalar
Caps
PURE
Source