# NETWORKDAYS.INTL

datetime · from excel · excel: verified match · sheets: verified match

counts business days with custom weekend

## signature

```
NETWORKDAYS.INTL(start_date, end_date, [weekend], [holidays])
```

returns: `number`

## arguments

- start_date: number: required
- end_date: number: required
- weekend: any: optional
- holidays: any: optional

## examples

formula and result, asserted in the engine test suite.

| formula | result | with |
| --- | --- | --- |
| `=NETWORKDAYS.INTL(DATE(2006,1,1), DATE(2006,1,31))` | `22` | none |
| `=NETWORKDAYS.INTL(A1, B1, 7, H1:H10)` | `-5` | A1=10, B1=2, H1=2, H2=4 |

## errors

error values observed from the engine: each with a call that produces it.

| error | produced by |
| --- | --- |
| `#ERROR!` | `=NETWORKDAYS.INTL(1,2,3,4,5)` |
| `#NUM!` | `=NETWORKDAYS.INTL(1,10,99)` |

## related

- [DATE](https://deepcalc.com/docs/functions/date.md): creates date from year, month, day
- [DATEDIF](https://deepcalc.com/docs/functions/datedif.md): calculates difference between two dates
- [DATEVALUE](https://deepcalc.com/docs/functions/datevalue.md): converts date text to serial number
- [DAY](https://deepcalc.com/docs/functions/day.md): returns day of month from date
- [DAYS](https://deepcalc.com/docs/functions/days.md): returns number of days between two dates
- [DAYS360](https://deepcalc.com/docs/functions/days360.md): returns days between dates on 360-day year
- [EDATE](https://deepcalc.com/docs/functions/edate.md): returns date shifted by given months
- [EOMONTH](https://deepcalc.com/docs/functions/eomonth.md): returns last day of month after offset

## navigate

- [all datetime functions](https://deepcalc.com/docs/functions/datetime-functions.md)
- [function index](https://deepcalc.com/docs/functions.md): all 602 functions
- [error values](https://deepcalc.com/docs/errors.md) · [concepts](https://deepcalc.com/docs/concepts.md) · [limits](https://deepcalc.com/docs/limits.md)
- [everything in one file](https://deepcalc.com/llms-full.txt)

source: https://deepcalc.com/docs/functions/networkdays-intl