- Advanced Excel Functions Tutorial
- Advanced Excel Functions - Home
- Compatibility Functions
- Advanced Excel Functions - Cube
- Database Functions
- Date & Time Functions
- Engineering Functions
- Financial Functions
- Information Functions
- Advanced Excel Functions - Logical
- Lookup & Reference Functions
- Math & Trignometric Functions
- Statistical Functions
- Useful Resources
- Quick Guide
- Useful Resources
- Discussion
Date and Time - NETWORKDAYS Function
Description
The NETWORKDAYS function returns the number of whole working days between start_date and end_date. Working days exclude weekends and any dates identified in holidays.
Syntax
NETWORKDAYS (start_date, end_date, [holidays])
Arguments
Argument | Description | Required/ Optional |
---|---|---|
Start_date | A date that represents the start date. | Required |
End_date | A date that represents the end date. | Required |
Holidays | 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. |
Optional |
Notes
Microsoft Excel stores dates as sequential serial numbers so they can be used in calculations. By default, January 1, 1900 is serial number 1, and January 1, 2012 is serial number 40909 because it is 40,909 days after January 1, 1900
If any argument is not a valid date, NETWORKDAYS returns the #VALUE! error value
Excel 2007, Excel 2010, Excel 2013, Excel 2016
Applicability
Excel 2007, Excel 2010, Excel 2013, Excel 2016