# NETWORKDAYS.INTL Function

> Count working days between two dates with custom weekends using NETWORKDAYS.INTL in TX Sheet Control: weekend numbers, weekend strings and holidays.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Function
- **Path:** TX Sheet Control > API Reference > Formula Functions > NETWORKDAYS.INTL Function
- **301 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/networkdays-intl/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/networkdays-intl/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/networkdays-intl/llms-full.txt

---

Return the number of whole working days between two dates, with custom weekend days. `start_date` and `end_date_or_days` are the first and last day, both counted. `weekend_or_holidays` selects the weekend: 1 (Saturday and Sunday, the default) to 7 for two-day weekends from Sunday–Monday to Friday–Saturday, 11 to 17 for a single day from Sunday to Saturday, or a text of seven 0s and 1s from Monday to Sunday in which 1 marks a weekend day, such as `"0000011"`. `holidays` is an optional date, range or array of days to leave out. An unknown weekend number returns `#NUM!`, and a weekend text of seven 1s returns `#VALUE!`.

### Syntax

```text
NETWORKDAYS.INTL(start_date, end_date_or_days, weekend_or_holidays, holidays)
```

Category: Date & Time. Minimum arguments: 2. Maximum arguments: 4.

Available for supported offline calculation.

### Examples

```text
=NETWORKDAYS.INTL(DATE(2026,10,5),DATE(2026,10,9))
```

The formula returns 5, the working days from Monday, October 5, 2026, to Friday, October 9, 2026, with the default Saturday and Sunday weekend.

Cell and range examples require appropriate input values in the referenced cells. Handle invalid arguments, formula errors and array and spill constraints.

### See Also

- [Formulas](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/formulas/llms-full.txt)
- [Custom Functions and Formula Data](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/custom-functions/llms-full.txt)

---

## Nearby

- **Previous:** [NETWORKDAYS Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/networkdays/llms-full.txt)
- **Next:** [NOMINAL Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/nominal/llms-full.txt)
