WORKDAY.INTL Function
Returns a date n workdays away with a custom weekend.
Syntax
Parameters
| Parameter | Description | Required |
|---|---|---|
| start_date | The starting date serial. | Required |
| days | The number of workdays to move. Positive moves forward, negative moves backward. The start date itself is not counted. | Required |
| weekend | Optional. A number 1-7 or 11-17 selecting weekend days (1 = Sat+Sun default, 2 = Sun only, 3 = Mon only, ... 7 = Fri only, 11 = Sun+Mon, ... 17 = Sat+Sun), or a 7-character string of 0/1 for Mon-Sun where 1 means weekend. | Optional |
| holidays | Optional range or array of dates to exclude as non-working days. | Optional |
Basic Example
Five workdays after Jan 1, 2024 (default Sat/Sun weekend)
=WORKDAY.INTL(DATE(2024, 1, 1), 5, 1)With the default weekend (code 1, Sat+Sun), five workdays from Monday Jan 1 land on Monday Jan 8 2024 (serial 45298).
Advanced Examples
Example 1: Custom weekend via string (Mon and Sun off)
A schedule where Monday and Sunday are non-workingA 7-character string sets the weekend pattern
=WORKDAY.INTL(DATE(2024, 1, 1), 5, "1000001")Example 2: Sunday-only weekend via code
A six-day work weekWeekend code 2 treats only Sunday as non-working
=WORKDAY.INTL(DATE(2024, 1, 1), 5, 2)How WORKDAY.INTL Works
WORKDAY.INTL walks from start_date counting only days that are not designated weekends by the weekend argument, also skipping listed holidays, until it reaches the requested number of workdays. The weekend can be a preset code or a 7-character 0/1 string in Monday-to-Sunday order.
Important Notes & Limitations
Available only in Excel 2010 and later.
The weekend string must be exactly seven characters in Monday-to-Sunday order.
The start date itself is not counted toward the days total.
Common Errors & Fixes
#VALUE!The weekend string is not exactly seven 0/1 characters.Fix: Use a valid 7-character string such as "0000011".
#NUM!An invalid weekend code (not 1-7 or 11-17) was supplied.Fix: Use a supported weekend code or a valid string.
Download Practice File
WORKDAY.INTL
workday-intlPractice WORKDAY.INTL with Real Data
Download a sample CSV file with pre-populated data and practice exercises for the WORKDAY.INTL function. Works in both Excel and Google Sheets.
File format: CSV (comma-separated values) - opens in Excel, Google Sheets, and all spreadsheet apps