Calculating the number of work days between two dates

Excel 365 2016 2013 2010 2007
When calculating the difference between two dates, you may want to exclude weekends and holidays.

For example, you may need to know how many business days fall in the month of June 2009. This calculation should exclude Saturdays, Sundays, and holidays.

The NETWORKDAYS function calculates the difference between two dates, excluding weekend days (Saturdays and Sundays).

Number of days Excel 2003

As an option, you can specify a range of cells that contain the dates of holidays, which are also excluded. Excel has absolutely no way of determining which days are holidays, so you must provide this information in a range.

Number of days Excel 2003

Note: The NETWORKDAYS function is available only then the Analysis ToolPak add-in is installed. If the NETWORKDAYS doesn't shown in the Formula, you need to install the add-in before you can use it. To do it, follow next steps:

   1.    Select Tools ->Add-Ins....

   2.    In the Add-Ins dialog box, place a check mark next to the item named Analysis ToolPak:

Add-Ins Excel 2003

   3.    Click OK.

If you have any questions or suggestions, please feel free to ask OfficeToolTips team.

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information you’ve provided to them or they’ve collected from your use of their services.

Learn more