Skip to content
Free Excel Tutorials
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Data Analysis

  • Conflicting Multiple Conditional Formatting Rules in Excel
  • Conditional Formatting Data bars Examples in Excel
  • What-If Analysis: Scenarios and Goal Seek in Excel
  • How to Create Gantt Chart in Excel
  • How to create running total in an Excel Table

References

  • How to get first column number in range in Excel
  • Two-way lookup with VLOOKUP in Excel
  • Basic INDEX MATCH approximate in Excel
  • How to get last row in numeric data in Excel
  • How to use Excel ROW Function

Data Validations

  • Excel Data validation exists in list
  • Excel Data validation must contain specific text
  • Excel Data validation specific characters only
  • Excel Data validation must not contain
  • How To Create Drop-down List in Excel

NETWORKDAYS function: Description, Usage, Syntax, Examples and Explanation

by

What is NETWORKDAYS function in Excel?

NETWORKDAYS function is one of Date and Time functions in Microsoft Excel that returns the number of whole working days between start_date and end_date. Working days exclude weekends and any dates identified in holidays. Use NETWORKDAYS to calculate employee benefits that accrue based on the number of days worked during a specific term.

Tip:  To calculate whole workdays between two dates by using parameters to indicate which and how many days are weekend days, use the NETWORKDAYS.INTL function.

Syntax of NETWORKDAYS function

NETWORKDAYS(start_date, end_date, [holidays])

The NETWORKDAYS function syntax has the following arguments:

  • Start_date: A date that represents the start date.
  • End_date: A date that represents the end date.
  • Holidays(Optional): An optional range of one or more dates to exclude from the working calendar, such as state and federal holidays and floating holidays. The list can be either a range of cells that contains the dates or an array constant of the serial numbers that represent the dates.
Worked Example:   How to calculate workdays per month in Excel

Important:  Dates should be entered by using the DATE function, or as results of other formulas or functions. For example, use DATE(2012,5,23) for the 23rd day of May, 2012. Problems can occur if dates are entered as text.

Worked Example:   Get work hours between dates and times in Excel

NETWORKDAYS formula explanation

  • Microsoft Excel stores dates as sequential serial numbers so they can be used in calculations. By default, January 1, 1900 is serial number 1, and January 1, 2012 is serial number 40909 because it is 40,909 days after January 1, 1900.
  • If any argument is not a valid date, NETWORKDAYS returns the #VALUE! error value.

Example of NETWORKDAYS function

Steps to follow:

1. Open a new Excel worksheet.

2. Copy data in the following table below and paste it in cell A1

Note: For formulas to show results, select them, press F2 key on your keyboard and then press Enter.

Worked Example:   How to calculate working days left in month in Excel

You can adjust the column widths to see all the data, if need be.

Date Description
10/1/2012 Start date of project
3/1/2013 End date of project
11/22/2012 Holiday
12/4/2012 Holiday
1/21/2013 Holiday
Formula Description Result
=NETWORKDAYS(A2,A3) Number of workdays between the start (10/1/2012) and end date (3/1/2013). 110
=NETWORKDAYS(A2,A3,A4) Number of workdays between the start (10/1/2012) and end date (3/1/2013), with the 11/22/2012 holiday as a non-working day. 109
=NETWORKDAYS(A2,A3,A4:A6) Number of workdays between the start (10/1/2012) and end date (3/1/2013), with the three holidays as non-working days. 107

Post navigation

Previous Post:

ENCODEURL function: Description, Usage, Syntax, Examples and Explanation

Next Post:

MONTH function: Description, Usage, Syntax, Examples and Explanation

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Learn Basic Excel

Ribbon
Workbook
Worksheets
Format Cells
Find & Select
Sort & Filter
Templates
Print
Share
Protect
Keyboard Shortcuts

Categories

  • Charts
  • Data Analysis
  • Data Validation
  • Excel Functions
    • Cube Functions
    • Database Functions
    • Date and Time Functions
    • Engineering Functions
    • Financial Functions
    • Information Functions
    • Logical Functions
    • Lookup and Reference Functions
    • Math and Trig Functions
    • Statistical Functions
    • Text Functions
    • Web Functions
  • Excel VBA
  • Excel Video Tutorials
  • Formatting
  • Grouping
  • Others

Logical Functions

  • OR function: Description, Usage, Syntax, Examples and Explanation
  • How to use IFS function in Excel
  • Invoice status with nested if in Excel
  • IF with wildcards in Excel
  • Not Equal To ‘<>‘ operator in Excel

Date Time

  • How to get workdays between dates in Excel
  • WORKDAY function: Description, Usage, Syntax, Examples and Explanation
  • How to calculate Quarter of Date in Excel
  • EDATE function: Description, Usage, Syntax, Examples and Explanation
  • Get work hours between dates custom schedule in Excel

Grouping

  • How to randomly assign data to groups in Excel
  • Calculate conditional mode with criteria in Excel
  • If cell contains one of many things in Excel
  • Group times into unequal buckets in Excel
  • Group numbers with VLOOKUP in Excel

General

  • How to make excel worksheets print on one page?
  • How to generate random number weighted probability in Excel
  • How to count total number of cells in a rectangular range in Excel
  • Delete Blank Rows at Once in Excel
  • Select, Insert, Rename, Move, Delete Worksheets in Excel
© 2023 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning