NETWORKDAYS function
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.
• 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)
=NETWORKDAYS(A2,A3,A4)
=NETWORKDAYS(A2,A3,A4:A6)