NetworkDays Excel Holidays Example

NetworkDays in Excel is a powerful function that calculates the number of working days between two dates, excluding weekends and holidays. This function is particularly useful for project management, scheduling, and calculating deadlines. Let's explore how to use NetworkDays in Excel with holidays as an example.

331K views ยท 4.5K reactions | ๐Ÿ“…๐Ÿข๐Ÿ”ข Excel's NETWORKDAYS function is the perfect tool to calculate the difference between two dates while excluding a list of holidays, making it ideal for calculating workda | Excel Formulas Unleashed
331K views ยท 4.5K reactions | ๐Ÿ“…๐Ÿข๐Ÿ”ข Excel's NETWORKDAYS function is the perfect tool to calculate the difference between two dates while excluding a list of holidays, making it ideal for calculating workda | Excel Formulas Unleashed

Before we dive into the examples, it's important to understand that Excel considers Saturday and Sunday as weekend days. Holidays, however, are not automatically excluded. We'll need to specify these manually or use a third-party add-in for a comprehensive list of holidays.

an image of a calendar with the holidays in blue and red on it's side
an image of a calendar with the holidays in blue and red on it's side

Calculating NetworkDays with Holidays

To calculate NetworkDays with holidays, we'll first need to list out the holidays between the two dates. Then, we'll use the NETWORKDAYS function along with the holidays list.

Excel Calendar 2025 with 25 designed layouts - Free Download
Excel Calendar 2025 with 25 designed layouts - Free Download

Here's the syntax for the NETWORKDAYS function: NETWORKDAYS(start_date, end_date, [holidays])

Manually Specifying Holidays

FREE Calendar & Planner Excel Template for 2026
FREE Calendar & Planner Excel Template for 2026

If you have a limited number of holidays, you can manually specify them in the NETWORKDAYS function. Holidays should be entered as a range of cells containing the holiday dates.

For example, if you want to calculate the number of working days between January 1, 2022, and December 31, 2022, excluding New Year's Day (January 1), Independence Day (July 4), and Christmas Day (December 25), you would use the following formula:

NETWORKDAYS(A1, B1, C1:C3)

holidate
holidate

Where A1 contains the start date (1/1/2022), B1 contains the end date (12/31/2022), and C1:C3 contain the holiday dates (1/1/2022, 7/4/2022, 12/25/2022).

Using a Holidays List Add-in

For a more comprehensive list of holidays, you can use a third-party add-in like the "Holiday List" add-in for Excel. This add-in provides a list of holidays for various countries and regions.

Employee Attendance Calendar 1728
Employee Attendance Calendar 1728

To use the Holidays List add-in, first, install and enable it. Then, insert the holidays list into your workbook. Finally, use the NETWORKDAYS function with the holidays list as the third argument:

NETWORKDAYS(A1, B1, Holidays!A$2:A$100)

the microsoft excel date and time functions poster
the microsoft excel date and time functions poster
Social Media Content Calendar Template
Social Media Content Calendar Template
Yearly Schedule of Events Template
Yearly Schedule of Events Template
Free Excel Leave Tracker Template (Updated for 2026)
Free Excel Leave Tracker Template (Updated for 2026)
Calculate Working Days between Two Dates (exclude weekends and holidays) | Excel
Calculate Working Days between Two Dates (exclude weekends and holidays) | Excel
a spreadsheet with graphs and numbers on it
a spreadsheet with graphs and numbers on it
Employee Vacation Tracker & Dashboard using MS Excel
Employee Vacation Tracker & Dashboard using MS Excel
Excel Holiday Calendar Template (FREE Download)
Excel Holiday Calendar Template (FREE Download)
Employee Leave Tracker Excel Template 2025
Employee Leave Tracker Excel Template 2025
What Is the NETWORKDAYS Function in Excel?
What Is the NETWORKDAYS Function in Excel?
Free Excel Leave Tracker Template (Updated for 2026)
Free Excel Leave Tracker Template (Updated for 2026)
Free Free Template For Employee Time Off Calendar
Free Free Template For Employee Time Off Calendar
How to Use the NETWORKDAYS Function in Excel
How to Use the NETWORKDAYS Function in Excel
Free Content Calendar Template | ConversionMinded
Free Content Calendar Template | ConversionMinded
Excel Budget Dashboard for Staff & Student Absence Tracking | Download Free Today
Excel Budget Dashboard for Staff & Student Absence Tracking | Download Free Today
the advanced excel method is shown in green and white, with instructions on how to use it
the advanced excel method is shown in green and white, with instructions on how to use it
an image of a calendar in microsoft office 365 with the date and time tab open
an image of a calendar in microsoft office 365 with the date and time tab open
Annual Leave Tracker | Excel Google Sheets Holiday Planner (Digital Download)
Annual Leave Tracker | Excel Google Sheets Holiday Planner (Digital Download)
11+ Free Employee Vacation Tracker Templates (Excel) - Excel TMP
11+ Free Employee Vacation Tracker Templates (Excel) - Excel TMP
dashboard with data displayed on it, including graphs and numbers in the middle of each section
dashboard with data displayed on it, including graphs and numbers in the middle of each section

In this example, Holidays!A$2:A$100 is the range containing the holidays list.

Calculating Working Days with Weekend Exclusion

If you only want to exclude weekends and don't have any additional holidays, you can use the NETWORKDAYS function without specifying any holidays:

NETWORKDAYS(A1, B1)

This will calculate the number of working days between the start date (A1) and end date (B1), excluding weekends.

In conclusion, the NETWORKDAYS function in Excel is a powerful tool for calculating working days between two dates. By understanding how to use this function with holidays, you can accurately calculate project timelines, deadlines, and more. Happy calculating!