NETWORKDAYS

NETWORKDAYS(start_date, end_date [,holidays])

Returns the total number of working days between two dates excluding weekends and holidays.

start_dateThe starting date.
end_dateThe finishing date.
holidays(Optional) An array of dates to exclude.

REMARKS
* NETWORKDAYS.INTL was added in Excel 2010 to replace this function.
* This function excludes weekends and any other dates specified in the "holidays" array.
* This function has an explicit assumption that weekends are Saturday and Sunday. The NETWORKDAYS.INTL allows you to specify what days you want to treat as weekends.
* Both the "start_date" and the "end_date" are included in the total count.
* If "start_date" is not a valid date, then #VALUE! is returned.
* If "end_date" is not a valid date, then #VALUE! is returned.
* If "holidays" is left blank, then only weekends will be excluded.
* The "holidays" allows you to specify bank holidays as well as any other floating holidays.
* The "holidays" can either be range of cells containing dates or an array constant of serial numbers.
* If "holidays" contains anything that is not a valid date, then #NUM! is returned.
* You can use the WORKDAY to return the serial number that is a given number of working days before or after a date.
* You can use the NETWORKDAYSMISC - User Defined Function to return the number of days between two dates using a defined list of workdays.
* For the Microsoft documentation refer to support.microsoft.com

 AB
1=NETWORKDAYS("1 Jan 2007","1 Jan 2007") = 1Saturday, January 01, 2022
2=NETWORKDAYS("1 Jan 2007","2 Jan 2007") = 2Sunday, January 02, 2022
3=NETWORKDAYS("1/1/2007","9/1/2007") = 7Monday, January 03, 2022
4=NETWORKDAYS(B1,B9) = 5Tuesday, January 04, 2022
5=NETWORKDAYS("1 Jan 2007","30 Jan 2007") = 22Wednesday, January 05, 2022
6=NETWORKDAYS("1 Jan 2007","31 Jan 2007") = 23Thursday, January 06, 2022
7=NETWORKDAYS("1 Jan 2007","1 Feb 2007") = 24Friday, January 07, 2022
8=NETWORKDAYS("30 Jan 2007","02 Feb 2007") = 4Saturday, January 08, 2022
9=NETWORKDAYS("31 Jan 2007","02 Feb 2007") = 3Sunday, January 09, 2022
10=NETWORKDAYS("1 Jan 2007","31 Dec 2007") = 261 
11=NETWORKDAYS("14 Jan 2007","1 Jan 2007") = -10 
12=NETWORKDAYS(1/1/2007,31/12/2007) = 0 
13=NETWORKDAYS(DATE(2007,1,1),DATE(2007,12,31)) = 261 
14=NETWORKDAYS(DATE(2007,1,1),DATE(2007,12,31),"2 Jan 2007") = 260 
15=NETWORKDAYS(DATE(2007,1,1),DATE(2007,12,31),{"2 Jan 2007","3 Jan 2007"}) = 259 
16=NETWORKDAYS("1/30/1998","invalid dates") = #VALUE! 
17=NETWORKDAYS("some text","2007/12/01") = #VALUE! 


© 2022 Better Solutions Limited. All Rights Reserved. © 2022 Better Solutions Limited Top