# NETWORKDAYS in Google Sheets: syntax and examples

URL: https://goingstellar.ro/reference/sheets/networkdays/

NETWORKDAYS counts the days from Monday to Friday between two dates, both ends included. A list of holidays removes more days, so it fits delivery times and invoice terms.

## Syntax

```
NETWORKDAYS(start_date, end_date, [holidays])
```

## Arguments

- `start_date` (date, required: yes): First day of the period, counted if it is a working day.
- `end_date` (date, required: yes): Last day of the period, also counted.
- `holidays` (range, required: no): Dates to skip, in addition to Saturdays and Sundays.

## Examples

The examples use this table, starting in A1:

| Holidays |
|---|
| 46356 |
| 46386 |

```
=NETWORKDAYS(DATE(2026,11,2), DATE(2026,11,30))
```

Result: `21`

Working days in November 2026 from the 2nd to the 30th, weekends excluded. Run in a Google Sheet (English US locale) on 2026-11-29.

```
=NETWORKDAYS(DATE(2026,11,2), DATE(2026,11,30), A2)
```

Result: `20`

The same period minus one holiday (30 November, in A2). Run in a Google Sheet (English US locale) on 2026-11-29.

```
=NETWORKDAYS(DATE(2026,12,1), DATE(2026,12,31), A2:A3)
```

Result: `22`

December with two holidays in the list (30 Nov is outside, 30 Dec is inside). Run in a Google Sheet (English US locale) on 2026-11-29.

```
=NETWORKDAYS(DATE(2026,11,9), DATE(2026,11,9))
```

Result: `1`

Start and end on the same working day count as 1. Run in a Google Sheet (English US locale) on 2026-11-29.

```
=NETWORKDAYS(DATE(2026,11,30), DATE(2026,11,2))
```

Result: `-21`

Start after end: the result is negative. Run in a Google Sheet (English US locale) on 2026-11-29.

## Common errors

- Both start_date and end_date are counted when they are working days. Two equal weekdays give 1, not 0.
- If start_date is after end_date the result is negative, not an error.
- Weekends are fixed as Saturday and Sunday. For other weekends use NETWORKDAYS.INTL.
- Holidays are not known to Sheets. Without the third argument, public holidays count as working days.

## Compared with Excel

Same syntax in Excel.

## Related functions

- [WORKDAY](https://goingstellar.ro/reference/sheets/workday/)
- [DATE](https://goingstellar.ro/reference/sheets/date/)
- [WEEKDAY](https://goingstellar.ro/reference/sheets/weekday/)
- [DATEDIF](https://goingstellar.ro/reference/sheets/datedif/)

## Sources

- [NETWORKDAYS (Docs Editors Help)](https://support.google.com/docs/answer/3092979)

