NETWORKDAYS Function in Google Sheets: Syntax, Examples & Compatibility
Learn how to count workdays in a date interval without manually excluding weekends in Google Sheets. Includes syntax, two verified-by-reasoning results, troubleshooting and portability notes.
Verification status: See the evidence and test scope described in this guide. How formula examples are checked
Quick answer: NETWORKDAYS(start_date,end_date,[holidays]) counts eligible Monday-through-Friday dates in an interval. June 1–5, 2026 contains 5 such dates, or 4 when June 3 is supplied as a holiday.
Availability and version history
- Introduced: Introduction version not established by the official history reviewed.
- Availability: Documented in the rolling Google Sheets service; examples use the web spreadsheet workflow.
- Checked: October 14, 2026; official NETWORKDAYS reference. Documentation check, not a new native test; existing example-verification notes retain their scope.
Syntax and calendar setup
=NETWORKDAYS(start_date, end_date, [holidays])
The optional holiday argument is a range or array of date values or numeric serials. Google documents Saturday and Sunday as the ordinary weekend. Another weekend pattern needs NETWORKDAYS.INTL rather than a renamed holiday assumption.
Use DATE-generated inputs and show the output as a plain number. The result is a workday count, not a date serial to format as a calendar date. Formulas use English names and comma separators; inspect the shared spreadsheet locale when entering them.
Two original worked controls
First, with no holidays:
=NETWORKDAYS(DATE(2026,6,1),DATE(2026,6,5))
Expected count: 5, from Monday through Friday including both eligible endpoints.
Now put =DATE(2026,6,3) in A2:
=NETWORKDAYS(DATE(2026,6,1),DATE(2026,6,5),A2)
Expected count: 4. The Wednesday closure removes one eligible date. The controls use an independently enumerated inclusive working-calendar model; they are not recorded native Sheets outputs.
Advanced example: inspect every selected date
Use a separate holiday table with =DATE(2026,6,3) in H2 and =DATE(2026,6,5) in H3.
=NETWORKDAYS(DATE(2026,6,1),DATE(2026,6,12),$H$2:$H$3)
Expected count: 8. Without holidays, the two Monday–Friday groups contribute ten dates. Excluding Wednesday June 3 and Friday June 5 leaves June 1, 2, 4, 8, 9, 10, 11 and 12.
For a schedule assuming 7.5 hours on every eligible date, multiplying that count by 7.5 gives 60 hours. That assumption must be stated: NETWORKDAYS does not know about half-days, individual absences or variable shift lengths.
Advanced check: short and same-day intervals
These date-only controls make the counting convention explicit:
| Interval, with no holidays | Expected count |
|---|---|
| Monday June 1 to Monday June 1 | 1 |
| Saturday June 6 to Saturday June 6 | 0 |
| Friday June 5 to Monday June 8 | 2 |
| Monday June 1 to Sunday June 7 | 5 |
Adding June 1 itself as a holiday makes the first count 0. A Sunday holiday does not remove an additional working date from the June 1–7 ordinary calendar because Sunday was already excluded.
The short Google reference does not fully enumerate these edge cases. They are transparent calendar-model expectations for native validation, not claims that an application run established every boundary.
Advanced example: avoid double-counting a shared endpoint
With no holidays, splitting June 1–12 into these overlapping pieces gives:
=NETWORKDAYS(DATE(2026,6,1),DATE(2026,6,5))
=NETWORKDAYS(DATE(2026,6,5),DATE(2026,6,12))
Expected counts are 5 and 6. Their sum, 11, counts Friday June 5 twice. The unsplit interval has 10 working dates.
Instead, split at June 4 and June 5: June 1–4 contributes 4, and June 5–12 contributes 6, totaling ten without overlap. Make interval boundaries visible when combining several reports.
Advanced example: build a monthly capacity estimate
=NETWORKDAYS(DATE(2026,6,1),DATE(2026,6,30),$H$2:$H$3)
June 2026 has 22 Monday-through-Friday dates. The two example closures leave 20, or 150 hours at the stated 7.5-hour assumption.
This is a planned-capacity model. It cannot certify payroll, attendance or a contractual business-day definition without the actual applicable calendar and policy. Keep the input dates and holiday range beside the resulting total.
WORKDAY, parsing and unresolved native cases
WORKDAY returns a target date after an offset. NETWORKDAYS counts dates already bounded by a start and end. Four forward steps from June 1 reach June 5, while the inclusive June 1–5 count is five.
A slash expression such as 10/10/2000 is division, not a date literal. The exact quotient is 0.0005; for 10/10/2001 it is approximately 0.000499750125. The reference’s displayed decimals are misplaced, so they are not copied here.
Reversed intervals, malformed holiday text, timestamp fractions, duplicate holiday handling and specific error codes remain unverified. Keep the reviewed forward, date-only controls separate from those unresolved cases.
Related guides and verification
WORKDAY in Google Sheets · WORKDAY in Microsoft Excel · WEEKDAY in Google Sheets · WEEKDAY in Microsoft Excel · COUNTIFS in Google Sheets · COUNTIFS in Microsoft Excel · Compare NETWORKDAYS in Microsoft Excel
A guide for another spreadsheet is a separate product reference. It does not establish identical date parsing, serial boundaries or error displays after a file import.
- Google Sheets: NETWORKDAYS.
- Google Sheets locale and calculation settings.
- Editorial testing standards.
The complete guide and original examples were reviewed on October 14, 2026 against direct Google documentation. Calendar, interval and numeric expectations were independently calculated; no native Google Sheets execution, mobile-client certification or complete input-conversion test was performed.