Learn how to use the Excel NETWORKDAYS function with syntax and examples.
The Microsoft Excel NETWORKDAYS function returns the number of "work days" between 2 dates, excluding weekends and holidays.
The syntax for the Microsoft Excel NETWORKDAYS function is:
NETWORKDAYS( start_date, end_date, [holidays] )
Parameters or Arguments
start_date is the start date to use in the calculation. It must be entered using the DATE function.
end_date is the end date to use in the calculation. It must be entered using the DATE function.
holidays is optional. It is the list of holidays to exclude from the "work days" calculation. It can be entered either as a range of cells that contain the holiday dates (ie: E2:E4) or as a list of serial numbers that represent the holiday dates.
The NETWORKDAYS function can be used in the following versions of Microsoft Excel:
Excel 2013, Excel 2011 for Mac, Excel 2010, Excel 2007
Type of Excel Function
The NETWORKDAYS function can be used in Microsoft Excel as the following type of function:
Worksheet function (WS)
Example (as Worksheet Function)
Let's look at some Excel NETWORKDAYS function examples and explore how you would use the NETWORKDAYS function as a worksheet function in Microsoft Excel:
Based on the spreadsheet above, the following Excel NETWORKDAYS examples would return:
would return 10
would return 9
(because it would exclude Easter Monday which is stored in cell E4)
would also return 9
(because it would exclude Easter Monday which is equal to the DATE(2013,4,1) formula)
would return 8
(because it would exclude Good Friday and Easter Monday)
would return 5
would return 4
(because it would exclude Easter Monday)