Table of Contents
Calculating Business Days with Precision in Google Sheets
In nearly every professional setting, from managing complex project timelines to calculating employee leave, the ability to accurately determine the number of workdays between two specific dates is essential. These calculations often require excluding standard weekends (Saturdays and Sundays) and any official or company-specific holidays. Manual counting is inefficient and prone to error, particularly across long periods. Fortunately, Google Sheets offers a robust and remarkably straightforward solution: the NETWORKDAYS function.
The NETWORKDAYS function is specifically designed to streamline the process of counting business days, providing immediate and accurate results. It automatically handles the exclusion of weekends and provides the flexibility needed to incorporate custom non-working days. This function is an indispensable tool for anyone who relies on date-driven data analysis, ensuring that your planning, scheduling, and financial calculations are based on true operational timeframes.
This comprehensive guide will navigate you through the core structure and practical application of NETWORKDAYS. By the end of this tutorial, you will be equipped to confidently implement this formula in your spreadsheets, mastering scenarios ranging from simple workday counts to complex calculations involving extensive lists of excluded holidays. Utilizing this function effectively will significantly boost your productivity and the reliability of your date-related spreadsheet operations.
Deconstructing the NETWORKDAYS Function Syntax
To harness the power of this function, it is vital to first understand its syntax. The NETWORKDAYS function is designed with a clear, logical structure that makes it accessible even for users new to spreadsheet formulas. It requires the start and end of the desired period and optionally accepts a list of dates to exclude.
The fundamental syntax for the NETWORKDAYS function is presented below:
NETWORKDAYS(start_date, end_date, [holidays])
Each argument plays a specific role in defining the calculation parameters. Understanding these components is the key to accurate implementation:
- start_date: This is a required argument specifying the initial date for the calculation period. This input can be provided as a date string (e.g., “01/01/2024”), a reference to the cell containing the date, or the output of another date-returning function.
- end_date: Also required, this argument defines the final date of the period you wish to evaluate. Similar to the start_date, the input must be a recognizable date format. Crucially, NETWORKDAYS calculates the workdays inclusively, meaning both the start_date and end_date are counted if they fall on a workday (Monday through Friday, excluding holidays).
- holidays: This is an optional argument that dramatically enhances the function’s accuracy. It allows you to specify a range of cells containing dates that should be treated as non-working days, supplementing the automatic exclusion of weekends. If this argument is omitted, the function defaults to excluding only Saturdays and Sundays. This component is essential for factoring in national holidays, company closures, or any other non-standard days off.
It is critically important to ensure that all date inputs, including start_date, end_date, and the holidays list, are in a valid date format that Google Sheets can interpret. Internally, Google Sheets manages dates as serial numbers, which allows for highly efficient and reliable calculations. Incorrectly formatted input can lead to #VALUE! errors or skewed results.
Practical Application: Calculating Workdays Without Custom Holidays
To demonstrate the basic functionality of NETWORKDAYS, let’s explore a common scenario: calculating the number of workdays when only the standard Monday-to-Friday schedule is observed. This simple application is perfect for quick internal checks or when holidays are not a factor.
Consider the requirement to find the total workdays between January 1, 2022, and January 10, 2022. For organizational clarity, we will place the start_date (Jan 1, 2022) in cell A2 and the end_date (Jan 10, 2022) in cell B2. Since we are ignoring specific holidays for this example, the formula only needs the two required arguments.
To execute this calculation, you would enter the following streamlined formula into any available cell:
=NETWORKDAYS(A2, B2)
The screenshot below provides a clear visual representation of how this formula is structured within the Google Sheets interface and confirms the resulting output:

As the output confirms, the function returns a value of 6 workdays. This count accurately reflects the business days within the specified range, automatically excluding the two intervening weekends. To verify this precise result, we can manually check the calendar for the period:
- January 1 (Saturday) – Excluded
- January 2 (Sunday) – Excluded
- January 3 (Monday) – Workday 1
- January 4 (Tuesday) – Workday 2
- January 5 (Wednesday) – Workday 3
- January 6 (Thursday) – Workday 4
- January 7 (Friday) – Workday 5
- January 8 (Saturday) – Excluded
- January 9 (Sunday) – Excluded
- January 10 (Monday) – Workday 6
The following calendar image provides further visual confirmation of the calculated business days:

This simple example confirms the function’s reliability for basic workday calculations, establishing a foundation for more complex scenarios that involve custom non-working days.
Advanced Accuracy: Incorporating Custom Holidays
While excluding weekends handles the majority of non-working days, true operational accuracy often demands the inclusion of specific national or company holidays that fall on weekdays. The optional third argument of the NETWORKDAYS function makes this integration seamless and highly flexible.
Let us examine a more robust example involving a longer period and specific non-working dates. Suppose we need to calculate the workdays between March 1, 2022, and December 27, 2022, while also excluding four specific holidays that occur during this interval. For this demonstration, we define the following dates as holidays:
- Easter (April 17, 2022)
- Halloween (October 31, 2022)
- Thanksgiving (November 24, 2022)
- Christmas (December 25, 2022)
The recommended best practice for incorporating the holidays argument is to list all excluded dates in a contiguous range of cells within the spreadsheet. Assuming our start_date (March 1, 2022) is in A2, the end_date (December 27, 2022) is in B2, and the list of holidays is contained in cells A8 through A11, the formula must reference this range as the third argument:
=NETWORKDAYS(A2, B2, A8:A11)
The visual setup below illustrates the structure in Google Sheets, showing the input dates, the designated holiday range, and the resulting calculation:

Upon execution, the formula returns 214 workdays. This result is the accurate count of business days, achieved by excluding all Saturdays and Sundays, plus the four specified holidays. This capability ensures that the workday count is precise for complex scheduling, resource planning, and financial modeling requirements.
Key Considerations and Best Practices for Implementation
While the NETWORKDAYS function is exceptionally useful, adherence to specific best practices and an awareness of its limitations are crucial for maintaining the integrity of your data. Addressing these points helps users avoid common calculation errors.
Firstly, absolute attention must be paid to date formats. Although Google Sheets is generally flexible, inconsistent or ambiguous date inputs—especially those entered as simple text—can cause the function to fail or return incorrect values. If you encounter difficulties, ensure that your cells are explicitly formatted as dates or utilize functions like DATEVALUE to convert text strings into proper date serial numbers before passing them to NETWORKDAYS.
Secondly, it is important to remember that the standard NETWORKDAYS function is rigid in its definition of a weekend: it strictly excludes Saturday and Sunday. If your organization operates under a non-traditional work schedule—for instance, a Tuesday-to-Saturday week, or any other deviation from the standard five-day workweek—you must employ the more versatile NETWORKDAYS.INTL function. This advanced version allows you to specify exactly which days of the week should be treated as non-working days using a simple numeric code or a seven-character binary string.
Finally, effective management of the optional holidays argument requires good spreadsheet hygiene. Always list your holiday dates in a clearly defined, dedicated range. For large spreadsheets or recurring calculations, consider placing this list on a separate sheet and referencing it by name. This practice improves sheet readability, simplifies auditing, and ensures that the holiday list can be easily updated or reused across multiple formulas without introducing errors.
Real-World Applications and Expanding Your Date Toolkit
The applications of the NETWORKDAYS function extend across various professional domains where accurate scheduling is critical. Its ability to calculate true operational days makes it a cornerstone tool in intricate project management, rigorous Human Resources (HR) operations, and precise logistics planning.
Within project management, this function is essential for developing realistic timelines and setting achievable deadlines. Project managers utilize NETWORKDAYS to calculate the actual effort duration of tasks, accounting for non-working days when communicating schedules to clients and stakeholders. This provides a clear, accurate view of task completion dates, aiding in resource allocation and avoiding critical delays based on calendar miscalculations.
For HR and payroll departments, the function is indispensable for tracking attendance, calculating accrued leave, and processing compensation. It accurately determines the number of working days an employee was present or absent, ensuring compliance with labor laws and facilitating fair pay calculations. Similarly, in logistics and scheduling, NETWORKDAYS helps plan service appointments or optimize delivery routes by guaranteeing that activities are scheduled exclusively during business hours.
Furthermore, mastering NETWORKDAYS provides a gateway to utilizing other related date functions in Google Sheets. For instance, the WORKDAY function calculates a future or past date based on a specified number of working days, rather than counting the days between dates. Likewise, as previously mentioned, the NETWORKDAYS.INTL function offers crucial flexibility for organizations that operate on non-standard workweeks. Collectively, these functions form a powerful, versatile toolkit for managing any data that is driven by time and dates.
Conclusion and Recommended Resources
The NETWORKDAYS function is an exceptionally powerful and versatile feature of Google Sheets, indispensable for anyone requiring accurate calculations of the number of workdays between two points in time. By automatically excluding weekends and allowing for the inclusion of custom holidays, it provides the precision necessary for professional scheduling, planning, and analysis.
We have thoroughly covered the function’s fundamental syntax, demonstrated its application in both basic and holiday-inclusive scenarios, and provided crucial best practices regarding date formatting and when to use the more flexible NETWORKDAYS.INTL variation. Integrating this function into your workflow will significantly elevate the reliability and efficiency of your date management tasks.
For users seeking further detailed documentation and advanced use cases concerning date and time functions within Google Sheets, it is highly recommended to consult the official Google Support resources. These comprehensive guides offer the most authoritative information on NETWORKDAYS, NETWORKDAYS.INTL, and other functions that can unlock the full potential of your spreadsheet capabilities.
The following tutorials explain how to perform other common tasks in Google Sheets:
Cite this article
Mohammed looti (2025). Learn to Calculate Workdays Between Dates in Google Sheets. PSYCHOLOGICAL STATISTICS. Retrieved from https://statistics.arabpsychology.com/google-sheets-count-the-number-of-workdays-between-dates/
Mohammed looti. "Learn to Calculate Workdays Between Dates in Google Sheets." PSYCHOLOGICAL STATISTICS, 30 Oct. 2025, https://statistics.arabpsychology.com/google-sheets-count-the-number-of-workdays-between-dates/.
Mohammed looti. "Learn to Calculate Workdays Between Dates in Google Sheets." PSYCHOLOGICAL STATISTICS, 2025. https://statistics.arabpsychology.com/google-sheets-count-the-number-of-workdays-between-dates/.
Mohammed looti (2025) 'Learn to Calculate Workdays Between Dates in Google Sheets', PSYCHOLOGICAL STATISTICS. Available at: https://statistics.arabpsychology.com/google-sheets-count-the-number-of-workdays-between-dates/.
[1] Mohammed looti, "Learn to Calculate Workdays Between Dates in Google Sheets," PSYCHOLOGICAL STATISTICS, vol. X, no. Y, ص Z-Z, October, 2025.
Mohammed looti. Learn to Calculate Workdays Between Dates in Google Sheets. PSYCHOLOGICAL STATISTICS. 2025;vol(issue):pages.