NETWORKDAYS Function in Excel

Syntax

The syntax of the NETWORKDAYS function is “=NETWORKDAYS(Start Date, End Date, Holidays).”

You are free to use this image on you website, templates, etc., Please provide us with an attribution linkHow to Provide Attribution?Article Link to be HyperlinkedFor eg:Source: NETWORKDAYS Excel Function (wallstreetmojo.com)

Parameters

The NETWORKDAYS function accepts the following arguments:

  • Start date – This is the start date that you wish to use in the calculation of working days. This value is always entered as a serial date and not as a text date.End date – This is the end date that you wish to use in the calculation of working days. This value is also entered as a serial date and not as a text date.Holidays – This represents the list of holidays that are excluded from the workday calculation. This can be entered either as a range of cells containing holiday dates (F2:F5)
  • or as a list of serial numbers that represent the holiday dates.

Return Value

The return value is a numeric value representing days.

How to Use the NETWORKDAYS Function in Excel?

Let us consider the following examples to understand the working of the NETWORKDAYS function.

Example #1

The following image contains serial dates in columns A, B, and F. To view the numeric value of the serial dates, the cell formatCell FormatFormatting cells is an important technique to master because it makes any data presentable, crisp, and in the user’s preferred format. The formatting of the cell depends upon the nature of the data present.read more can be changed to “General.”

The optional parameter of holidays is entered as a range of cells, i.e., F2:F5. We apply the NETWORKDAYS formula “=NETWORKDAYS(A2, B2, F2:F5).”

The output is 3, as shown in the succeeding image.

Note: To enter holidays as text dates, follow the regional date and time settings of Excel.

Example #2

Let us apply “=NETWORKDAYS(A3, B3, F2:F5).”

The output is 5.

Example #3

Here we apply the formula “=NETWORKDAYS(A4, B4, F2:F5).”

The number of workdays we get is 4.

Example #4

Let us use the formula “=NETWORKDAYS(A5, B5, F2:F5).”

The output is 9.

The outcome of the four examples is summarized in the following image.

Functions of NETWORKDAYS in Excel

  • It calculates the total number of working days (business days) between two given dates.It automatically excludes the weekend (Saturday and Sunday) and also allows omitting holidays.It calculates the whole workdays and ignores any time values.It brings more flexibility to the system when used with the NETWORKDAYS.INTL function.

The Applications of NETWORKDAYS Function

The NETWORKDAYS function can be used for various purposes. For instance, this function helps calculate employee benefits based on workdays, the total days required to complete a project, the workdays required to resolve a customer support issue, and so on.

Some applications of the NETWORKDAYS formula in Excel spreadsheets are listed as follows:

  • Counts the total number of business daysCalculates workdays per monthCounts the number of working days left in a monthCalculates the work hours between dates

The Output of NETWORKDAYS Function

The NETWORKDAYS function requires a start date and an end date to work. This function returns the following values:

  • If the start date precedes the end date, the function returns a positive value.If the start date is the same as the end date, the function returns the value 1.If the end date precedes the start date, the function returns a negative value.If any of the arguments are not recognized by Excel as valid dates, the function returns a #VALUE! error#VALUE! Error#VALUE! Error in Excel represents that the reference cell the user has either entered an incorrect formula or used a wrong data type (mostly numerical data). Sometimes, it is difficult to identify the kind of mistake behind this error.read more.

Frequently Asked Questions

The differences between the two functions are listed as follows:– The WORKDAY functionWORKDAY FunctionThe WORKDAY function returns the forthcoming work day after a given number of days from the start date. It has an optional argument for holidays that, if not provided, automatically considers weekends (Saturdays and Sundays) to be holidays.read more is used to calculate a date that is “N” days in the past or the future from a given date. On the other hand, the NETWORKDAYS function is used to determine the number of workdays between two specified dates.– The output of the WORKDAY function is a date, while the output of the NETWORKDAYS function is a numeric value.– The WORKDAY function is used to create the timeline of a project, determine the milestones of an organization, and so on. In contrast, the NETWORKDAYS function is used to plan deadlines for a project, determine the time required to fix an issue, and so on.

The working hours can be calculated with the help of the following formula:NETWORKDAYS(start_date, end_date, holidays)*hoursThe “hours” stand for the number of working hours on a working day.Note: It is assumed that the number of working hours on all working days is the same. In case you wish to specify the weekend, use the NETWORKDAYS.INTL formula.

Key Takeaways

  • The NETWORKDAYS function calculates the total number of working days between two dates.The weekend (Saturday and Sunday) is automatically excluded from the NETWORKDAYS in Excel.The holidays can be omitted from the total workdays at the option of the Excel user.The NETWORKDAYS formula in Excel calculates the whole workdays and ignores time values.The workdays can be calculated only if the start and end dates are provided.The numeric value of serial dates can be viewed if the cell format is changed to “General.”

This has been a guide to NETWORKDAYS in Excel. Here we discuss how to use NETWORKDAYS Formula in Excel along with Excel examples and downloadable templates. You may also look at these useful functions in Excel –

  • WEEKDAY Excel FunctionWEEKDAY Excel FunctionThe WEEKDAY function in excel returns the day corresponding to a specified date. The date is supplied as an argument to this function. read moreInsert Date in Excel with ExamplesInsert Date In Excel With ExamplesIn excel, every valid date will be stored as a form of the number. One important thing to be aware in excel is that we have got a cut-off date which is “31-Dec-1899”. Every date we insert in excel will be counted from “01-Jan-1900 (including this date)” and will be stored as a number.read moreDATE in ExcelDATE In ExcelThe date function in excel is a date and time function representing the number provided as arguments in a date and time code. The result displayed is in date format, but the arguments are supplied as integers.read moreTODAY in ExcelTODAY In ExcelToday function is a date and time function that is used to find out the current system date and time in excel. This function does not take any arguments and auto-updates anytime the worksheet is reopened. This function just reflects the current system date, not the time.read more