NETWORKDAYS function

Category: Date and time
Introduced: Excel 2003

Summary

Returns the number of whole workdays between two dates

Syntax

NETWORKDAYS(start_date, end_date, [holidays]) The NETWORKDAYS function syntax has the following arguments:
• Start_date Required. A date that represents the start date.
• End_date Required. A date that represents the end date.
• Holidays Optional. An optional range of one or more dates to exclude from the working calendar, such as state and federal holidays and floating holidays. The list can be either a range of cells that contains the dates or an array constant of the serial numbers that represent the dates.
Important: Dates should be entered by using the DATE function, or as results of other formulas or functions. For example, use DATE(2012,5,23) for the 23rd day of May, 2012. Problems can occur if dates are entered as text.

Example

=NETWORKDAYS(A2,A3)
=NETWORKDAYS(A2,A3,A4)
=NETWORKDAYS(A2,A3,A4:A6)

Microsoft Support Page

https://support.microsoft.com/en-us/office/networkdays-function-48e717bf-a7a3-495f-969e-5005e3eb18e7

Back to Functions