Business Day Calculator for Google Sheets
A smart tool to calculate workdays between two dates, perfect for project managers and HR professionals who use Google Sheets.
The first day of the period. The calculation is inclusive of this date.
The last day of the period. The calculation is inclusive of this date.
List any public or company holidays to exclude from the calculation. This mimics the `[holidays]` argument in Google Sheets’ NETWORKDAYS function.
What is Calculating Business Days in Google Sheets?
To calculate business days between dates using Google Sheets means finding the total number of workdays between a start and end date, automatically excluding weekends (Saturday and Sunday) and a custom list of holidays. This is a crucial task for project management, payroll, and HR to determine project timelines, employee availability, and delivery schedules. The primary function used for this in Google Sheets is NETWORKDAYS. Our calculator simulates this exact functionality, providing a quick way to get this number without opening a spreadsheet. Anyone who needs to estimate task duration or plan schedules will find this tool indispensable.
The Google Sheets NETWORKDAYS Formula and Explanation
The core of this calculation in Google Sheets is the NETWORKDAYS function. It’s designed specifically for this purpose and is far more reliable than manual counting. The function automatically skips weekends and can be provided with a list of holidays to ignore as well.
The syntax for the formula is:
=NETWORKDAYS(start_date, end_date, [holidays])
| Variable | Meaning | Unit / Format | Typical Range |
|---|---|---|---|
start_date |
The first date in the period to be calculated. | Date | Any valid date before the end_date. |
end_date |
The last date in the period to be calculated. | Date | Any valid date after the start_date. |
[holidays] |
An optional range of cells or an array of dates to exclude as non-working days. | Date Range (e.g., D2:D10) | A list of specific holiday dates. |
Practical Examples
Example 1: Basic Project Timeline
Imagine a project starts on January 6, 2025, and the deadline is January 31, 2025. There are no company holidays in this period. Using the calculator or Google Sheets, you can determine the available workdays.
- Input – Start Date: 2025-01-06
- Input – End Date: 2025-01-31
- Input – Holidays: (none)
- Result: 19 Business Days
In Google Sheets, the formula would be =NETWORKDAYS("2025-01-06", "2025-01-31").
Example 2: Timeline with Public Holidays
Let’s calculate the business days in December 2024 for a US-based company. The period is from December 1, 2024, to December 31, 2024. We must exclude Christmas Day (December 25th).
- Input – Start Date: 2024-12-01
- Input – End Date: 2024-12-31
- Input – Holidays: 2024-12-25
- Result: 21 Business Days
If you had the holiday date in cell D2 in Google Sheets, the formula would be =NETWORKDAYS("2024-12-01", "2024-12-31", D2). Even though Dec 1st is a Sunday, the function correctly starts counting from Monday, Dec 2nd. If you want to learn more about date functions, check out our guide on top date functions in Google Sheets.
How to Use This Business Day Calculator
This calculator is designed to be a direct web-based alternative to the Google Sheets NETWORKDAYS function. Follow these simple steps:
- Enter the Start Date: Click on the ‘Start Date’ field and select the beginning date of your period from the calendar.
- Enter the End Date: Do the same for the ‘End Date’ field. Ensure this date is after the start date.
- Add Holidays (Optional): If there are specific holidays you need to exclude, type them into the ‘Holidays’ text area. Make sure to enter one date per line in the format YYYY-MM-DD.
- Review the Results: The calculator will instantly update, showing you the total number of business days. You will also see a breakdown of total days, weekend days, and the number of holidays that fell within the period.
- Copy Results: Click the “Copy Results” button to get a text summary of the calculation, perfect for pasting into emails or reports.
Key Factors That Affect Business Day Calculations
Several factors can influence the outcome when you calculate business days between dates using Google Sheets. Understanding them is key to accurate scheduling.
- Start and End Dates: The function is inclusive, meaning it counts both the start and end dates if they are workdays.
- Weekends: By default,
NETWORKDAYSexcludes Saturdays and Sundays. If your work week is different, you’ll need the more advanced NETWORKDAYS.INTL function. - Public Holidays: Regional and national holidays are the most common reason for discrepancies. Always use an accurate list of holidays for your specific location.
- Company-Specific Holidays: Don’t forget to include company-wide days off that are not public holidays, such as floating holidays or company retreats.
- Timezones: While
NETWORKDAYSdoes not consider time, be aware of timezone differences when team members are in different locations, as their “day” might be different. - Data Entry Errors: A simple typo in a date (e.g., ‘2024-13-01’) will cause a
#VALUE!error in Google Sheets and prevent calculation. Our calculator validates date formats to help avoid this.
Frequently Asked Questions (FAQ)
1. What is the difference between NETWORKDAYS and NETWORKDAYS.INTL?
NETWORKDAYS assumes a standard Saturday/Sunday weekend. NETWORKDAYS.INTL is more flexible, allowing you to specify which days of the week are considered weekends, which is useful for international teams or industries with non-standard work weeks. To learn about other useful functions, see our Google Sheets function list.
2. Does the calculator count the start date?
Yes, just like the Google Sheets function, this calculator is inclusive. If the start date is a business day and not a holiday, it will be included in the total count.
3. How do I handle holidays that fall on a weekend?
You don’t need to do anything special. The function (and this calculator) will simply count that day as a weekend day. You only need to list a holiday if it falls on a weekday you want to exclude.
4. Can I calculate business days for a past period?
Absolutely. The function works the same for past, present, or future date ranges. Just enter the historical dates you wish to analyze.
5. What happens if my end date is before my start date?
In Google Sheets, this will result in a negative number, representing the business days counted backward. Our calculator will show 0 and prompt for a valid date range, as a negative duration is not typically useful.
6. Why isn’t my holiday being subtracted?
Make sure the holiday date is entered in the correct YYYY-MM-DD format and that the holiday itself falls on a weekday within your selected date range. A holiday on a Saturday won’t change the business day count.
7. How is this better than just subtracting dates?
Simply subtracting one date from another gives you the total calendar days. To get business days, you would have to manually figure out how many weekends and holidays are in between. The NETWORKDAYS function and this calculator automate that entire complex process. For simpler date differences, you might use the DAYS function.
8. Can I use this for payroll calculations?
Yes, this is a perfect tool for calculating the number of paid workdays in a pay period. Just enter the start and end dates of the period and include any paid holidays.