Introduction to NETWORKDAYS Function
NETWORKDAYS function returns the count of days between the start date and end date. In simple words, with NETWORKDAYS you can calculate the difference between two dates, after excluding Saturdays and Sundays, and holidays (which you specify).
Download Sample File
Download Sample Files to work, practice and master the Date Functions in Excel.
Syntax of NETWORKDAYS Function
NETWORKDAYS(start_date,end_date,holidays)
Arguments of NETWORKDAYS Function
- start_date: A valid date from where you want to start your calculation.
- end_date: A valid date up to which you want to calculate working days.
- [holidays]: A valid date that represents a holiday between the start date and end date. You can refer to a cell, range of cells, or an array containing dates.
Example of NETWORKDAYS Function in MS Excel
In the below example, we have specified 10-Jan-2015 as a start date and 20-Feb-2015 as an end date.
We have 41 days between these two dates, out of which 11 days are weekends. After deducting those 11 days it has returned 30 working days.
Now in the below example with the same start and end dates, we have specified a holiday and, after deducting 11 days of the weekend and 1 holiday it has returned 29 working days.
Again with the same start and end dates, we have used a range of three cells for holidays to deduct from the calculation and, after deducting 11 weekend days and 3 holidays which I have mentioned It has returned 27 working days.
Other Excel Date Functions Tutorials
You can explore and master other date functions in Microsoft Excel. Here is a complete list of date functions available in Microsoft Excel.