Google Sheets NETWORKDAYS.INTL Function: Syntax, Examples & Tips

The NETWORKDAYS.INTL function calculates the number of working days between two dates, excluding weekends and specified holidays.
Google Sheets
NETWORKDAYS.INTL(start_date, end_date, [weekend], [holidays])

One free generation or explanation per browser, shared across Excel and Google Sheets. Account usage limits apply afterward.

On this page
  1. Parameters
  2. What is NETWORKDAYS.INTL?
  3. A Practical Example
  4. NETWORKDAYS.INTL Formula
  5. Result of the Formula
  6. Why Use NETWORKDAYS.INTL?
  7. Key Takeaways:
  8. Example use case

Parameters

start_date:
The starting date from which to begin counting the number of working days.

end_date:
The ending date up to which to count the number of working days.

weekend:
(Optional) A string or number that specifies which days of the week are considered weekends. If omitted, the default is Saturday and Sunday.

holidays:
(Optional) A range or array of dates that should be considered as non-working days in addition to weekends.

What is NETWORKDAYS.INTL?

The NETWORKDAYS.INTL function in Google Sheets is a useful tool for calculating the number of working days between two dates, while allowing for the specification of weekends and holidays. This function is particularly beneficial for project management, payroll calculations, and any scenario where understanding the number of business days is essential.

In simpler terms, NETWORKDAYS.INTL helps you determine how many weekdays fall between two dates, taking into account custom weekends and holidays.

A Practical Example

Imagine you are managing a project timeline and need to calculate the number of working days between the project start and end dates:

Project Timeline:

TaskStart DateEnd Date
Task A2023-10-012023-10-10
Task B2023-10-052023-10-15

You want to find out how many working days are available for each task, considering that your weekends are Saturday and Sunday.

NETWORKDAYS.INTL Formula

To achieve this, you would use the NETWORKDAYS.INTL function as follows:

Google Sheets
=NETWORKDAYS.INTL(B2, C2, 1)

In this formula:

  • B2 is the cell containing the Start Date of the task.
  • C2 is the cell containing the End Date of the task.
  • 1 indicates that Saturday and Sunday are considered weekends.

Result of the Formula

When you apply the NETWORKDAYS.INTL formula to the Project Timeline, the output would look like this:

TaskStart DateEnd DateWorking Days
Task A2023-10-012023-10-107
Task B2023-10-052023-10-158

In this case, Task A has 7 working days available, while Task B has 8 working days.

Why Use NETWORKDAYS.INTL?

NETWORKDAYS.INTL is beneficial because it provides flexibility in defining weekends and allows for the inclusion of holidays. This makes it a powerful tool for accurately calculating working days in various business contexts. Additionally, it simplifies the process of managing project timelines and resource allocation.

Key Takeaways:

  • NETWORKDAYS.INTL: A Google Sheets function that calculates the number of working days between two dates, considering custom weekends and holidays.
  • Flexibility: Allows users to define which days are considered weekends, making it suitable for different work schedules.
  • Holiday Consideration: You can also include a list of holidays to exclude from the working day count, enhancing accuracy.
  • Common Use Cases: Ideal for project management, payroll calculations, and any scenario where tracking business days is necessary.

NETWORKDAYS.INTL is an essential function for anyone managing timelines and schedules in Google Sheets, providing a reliable way to enhance project planning and execution.

Happy spreadsheeting!

Example use case

You have a project timeline in a Google Sheet with start and end dates. Use NETWORKDAYS.INTL to calculate the number of working days between these dates, excluding weekends and holidays. This helps in accurate project planning and resource allocation.

Need more help with Google Sheets formulas?

Sign up for Better Analyst and get unlimited AI-powered formula generation, explanations, and advanced data analysis.

Explore all Google Sheets formulas

Browse our complete library of Google Sheets formula guides

Compare your options

Decide with evidence, not a sales pitch.

Open a neutral research prompt in the AI tool you already use. Compare capabilities, limitations, and fit before you choose.

  1. 01ChatGPTOpen a balanced comparison prompt in ChatGPT.
  2. 02ClaudeOpen the same research prompt in Claude.
  3. 03PerplexityResearch the comparison with linked web sources.

AI answers can be incomplete. Check source links, current pricing, and product documentation before deciding.