This post will guide you how to use Google Sheets NETWORKDAYS function with syntax and examples.
Description
The Google Sheets NETWORKDAYS function returns the number of net working days between tow given days.
The NETWORKDAYS function can be used to calculate the number of working days between dates in google sheets. And NETWORKDAYS will exclude weekends automatically. The purpose of this function is to get the number of working days between two dates and its returned values is a number that representing days.
The NETWORKDAYS function is a buildin function in Google Sheets and it is categorized as a Date function.
Syntax
The syntax of the NETWORKDAYS function is as below:
=NETWORKDAYS (start_date, end_date, [holidays])
Where the NETWORKDAYS function argument is:

Start_date This is a required argument. The starting of date from which to calculate the number of working days.

End_date – this is a required argument. The ending of date from which to calculate the number of working days.

Holidays – this is an optional argument. A list of nonworking days.
Note:
 NETWORKDAYS function only calculate all workdays, ignoring any time values.
 NETWORKDAYS function will exclude all Saturday and Sunday automatically.
 NETWORKDAYS function must be include both the starting date and ending date when calculating workdays.

Holidays
argument must be a date serial number values, or a date value returned by N function, or returned by DATE, DATEVALUE functions. It should be standard date values or date serial numbers.
 If you wish to use other days of week as the weekend, you can use the NETWORKDAYS.INTL function.
Google Sheets NETWORKDAYS Function Examples
If you want to calculate the number of workdays between two dates in google sheets, you can use a formula based on the NETWORKDAYS function. And it will exclude all weekend days between the start dates and end dates. You need to specify two dates contain start date and end date so that you can get the number of workdays.
For example, you have two dates in range B1:B2, and you want to get the workdays between these two dates, you just need to use the following formula:
=NETWORKDAYS(B1,B2)
Type this formula in a blank Cell, and press Enter key in your keyboard.
The above formula contains the NETWORKDAYS function but does not take into account holidays, if you wish to take into account holidays( a range in C1:C4), just using the following formula:
=NETWORKDAYS(B1,B2,C1:C4)
Related Posts
Google Sheets FLOOR Function
This post will guide you how to use Google Sheets FLOOR function with syntax and examples. Description The Google Sheets FLOOR function returns a number rounded down to the nearest multiple of significance. So it will return a rounded number. ...
Google Sheets EXP Function
This post will guide you how to use Google Sheets EXP function with syntax and examples. Description The Google Sheets EXP function returns e raised to the power of a number. The constant e is equal to 2.71828182845904, and it ...
Google Sheets FACT Function
This post will guide you how to use Google Sheets FACT function with syntax and examples. Description The Google Sheets FACT function returns the factorial of a given number. The factorial of a given number is equal to 1*2*3…* number. ...
Google Sheets EVEN Function
This post will guide you how to use Google Sheets EVEN function with syntax and examples. Description The Google Sheets EVEN function rounds a given number up to the nearest even integer. You can use the EVEN function to return ...
Google Sheets COUNTBLANK Function
This post will guide you how to use Google Sheets COUNTBLANK function with syntax and examples. Description The Google Sheets COUNTBLANK function use to count the number of empty cells in a range of cells. You can use the COUNTBLANK ...
Google Sheets DEGREES Function
This post will guide you how to use Google Sheets DEGREES function with syntax and examples. Description The Google Sheets DEGREES function converts radians into degrees. And it will return a numeric value. For examples, if you pass the PI() function into ...
Google Sheets COSH Function
This post will guide you how to use Google Sheets COSH function with syntax and examples. Description The Google Sheets COSH function returns the hyperbolic cosine of a given angle. The purpose of this function is used to get hyperbolic ...
Google Sheets COS Function
This post will guide you how to use Google Sheets COS function with syntax and examples. Description The Google Sheets COS function returns the cosine of a given angle. If you want to supply an angle to COS function in ...
Google Sheets COMBINA Function
This post will guide you how to use Google Sheets COMBINA function with syntax and examples. Description The Google Sheets COMBINA function returns the number of combinations for a given number of items and it includes repetitions. You can use ...
Google Sheets COMBIN Function
This post will guide you how to use Google Sheets COMBIN function with syntax and examples. Description The Google Sheets COMBIN function returns the number of combinations for a given number of items. And you can use the COMBIN function ...