# WORKDAY Function

> Calculate the date a number of workdays before or after a start date with WORKDAY in TX Sheet Control: Saturday and Sunday weekends, holidays and negative days.

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

---

Return the date that is a given number of workdays before or after a start date. `start_date` is the start date and `end_date_or_days` the number of workdays to add, truncated to an integer; a negative number counts backward. Saturdays and Sundays are weekend days. `weekend_or_holidays` takes a range or array of holiday dates that are skipped as well. The result is a date serial number.

### Syntax

```text
WORKDAY(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
=WORKDAY(DATE(2026,10,5),10)
```

The formula returns 46314, the serial number of October 19, 2026: ten workdays after Monday, October 5, skipping two weekends.

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:** [WEIBULL.DIST Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/weibull-dist/llms-full.txt)
- **Next:** [WORKDAY.INTL Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/workday-intl/llms-full.txt)
