Lesson 70 of 92 · Free Excel Course
Excel · Excel function reference
Excel WORKDAY Function: Syntax, Examples and Common Errors
How the Excel WORKDAY function finds a date a number of working days away, skipping weekends and holidays, plus WORKDAY.INTL for other weekends.
The Excel WORKDAY function answers "what date is N working days from here?" You give it a start date and a number of days, and it counts forward (or backward) over Monday to Friday, skipping Saturdays, Sundays and any holidays you list. It returns a date serial number, which you format as a date. That makes it the function for invoice due dates, delivery estimates and "reply within 5 business days" deadlines. Microsoft lists it for Excel for Microsoft 365 (Windows and Mac), Excel for the web, Excel 2024 and 2021 (Windows and Mac), Excel 2019 and 2016. If your weekend isn't Saturday and Sunday, its sister function WORKDAY.INTL is covered below. The bigger topic of dates is in Dates and times.
Syntax
=WORKDAY(start_date, days, [holidays])
- start_date (required): the date to count from. Use a cell with a real date, a formula result, or
DATE(2026,12,18). The start date itself is not counted. - days (required): how many working days to move. A positive number goes forward; a negative number goes back. Zero gives the start date. Decimals are cut off, so 2.9 counts as 2.
- holidays (optional): dates to skip as well as weekends, usually a range such as
$F$2:$F$4, or an array constant of date serial numbers. Leave it out and only weekends are skipped.
=WORKDAY.INTL(start_date, days, [weekend], [holidays])
WORKDAY.INTL adds weekend, which says which days are off. It is a number or a 7-character string:
| Weekend number | Days off |
|---|---|
| 1 (or left out) | Saturday, Sunday |
| 2 | Sunday, Monday |
| 3 to 6 | Mon–Tue, Tue–Wed, Wed–Thu, Thu–Fri |
| 7 | Friday, Saturday |
| 11 | Sunday only |
| 12 to 17 | Monday only … Saturday only |
The string form has one character per day, starting with Monday: 1 means a day off, 0 a working day. So "0000011" is the normal Saturday-Sunday weekend and "0010011" also gives everyone Wednesday off. Only 0s and 1s are allowed, and "1111111" is invalid.
Examples
1. Microsoft's example: 151 working days
Microsoft's WORKDAY page starts a project on 10/1/2008 that needs 151 working days, with three holidays in A4:A6.
| A | B | |
|---|---|---|
| 1 | Data | Description |
| 2 | 10/1/2008 | Start date |
| 3 | 151 | Days to completion |
| 4 | 11/26/2008 | Holiday |
| 5 | 12/4/2008 | Holiday |
| 6 | 1/21/2009 | Holiday |
| 7 | ||
| 8 | 5/5/2009 | =WORKDAY(A2,A3,A4:A6) |
2. An invoice due in 10 business days
An invoice dated Friday 12/18/2026 is due in 10 business days. Christmas Day (12/25) and New Year's Day (1/1/2027) both fall on Fridays.
- Type the holidays in F2:F4 (Thanksgiving 11/26/2026, 12/25/2026, 1/1/2027).
- In D3 type
=WORKDAY(B3,C3,$F$2:$F$4). - Press Enter. If you see 46392, press Ctrl+1 and choose Date.
| A | B | C | D | E | F | |
|---|---|---|---|---|---|---|
| 1 | Invoice | Date | Days | Due | Holidays | |
| 2 | INV-201 (no holidays) | 12/18/2026 | 10 | 1/1/2027 | 11/26/2026 | |
| 3 | INV-201 (with holidays) | 12/18/2026 | 10 | 1/5/2027 | 12/25/2026 | |
| 4 | 1/1/2027 |
The $ signs lock the holiday range so it stays put when you copy the formula down a whole list of invoices.
3. Counting backwards: a ship-by date
An order must arrive 3 working days before Monday 11/30/2026. Use a negative number of days:
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Need it by | Days | Ship by | Without holidays |
| 2 | 11/30/2026 | -3 | 11/24/2026 | 11/25/2026 |
4. Other weekends with WORKDAY.INTL
Here the same 10 working days start on Monday 11/23/2026 under three different weekends.
| A | B | C | |
|---|---|---|---|
| 1 | Business | Formula | Result |
| 2 | Mon–Fri office | =WORKDAY(A6,10) | 12/7/2026 |
| 3 | Open Mon–Sat | =WORKDAY.INTL(A6,10,11) | 12/4/2026 |
| 4 | Off Wed, Sat, Sun | =WORKDAY.INTL(A6,10,"0010011") | 12/10/2026 |
Is a date a working day? =WORKDAY(B7-1,1,$F$2:$F$4)=B7 steps back one day and forward one working day. If that lands on the same date, it's a working day (TRUE). For Thanksgiving it returns FALSE.
Common errors
- A number like 46392 — not an error. WORKDAY returns a serial number; format the cell as a Date with Ctrl+1.
#VALUE!— an argument isn't a valid date, often a date stored as text (left-aligned in the cell). Retype it or build it with DATE. For WORKDAY.INTL, a weekend string with the wrong length or characters other than 0 and 1 also gives#VALUE!.#NUM!— the start date plus the days runs outside Excel's date range. In WORKDAY.INTL, an unknown weekend number such as 0 gives#NUM!too.- One day off — WORKDAY doesn't count the start date. For "a 5-day task starting today", use
days-1. - Holidays ignored after copying — the range moved because it wasn't locked. Use
$F$2:$F$4. - A holiday isn't skipped — check that it is a real date for the right year, not text.
- The result falls on a weekend — only possible with
daysof 0, which returns the start date as it is.
Related functions
- NETWORKDAYS: counts the working days between two dates.
- TODAY and NOW: use
=WORKDAY(TODAY(),5)for "5 business days from today". - Dates and times: how dates are stored, EDATE, DATEDIF and NETWORKDAYS basics.
- Gantt project tracking: WORKDAY and NETWORKDAYS in a real project schedule.
Try it yourself
Download the practice workbook. It has an invoice due date with and without holidays, a ship-by date counted backwards, a Monday-to-Saturday shop and a four-day week with WORKDAY.INTL, and a working-day test, all using the holiday list in F2:F4. Check your work on the Answers sheet.
Frequently asked questions
Does WORKDAY count the start date?
No. WORKDAY starts counting on the next working day, so `=WORKDAY(A2,1)` on a Monday gives Tuesday. If the start day itself should count as day 1, subtract 1: `=WORKDAY(A2,5-1)` gives the end date of a 5-day task that starts on A2.
What is the difference between WORKDAY and NETWORKDAYS?
WORKDAY returns a date: start date plus a number of working days. NETWORKDAYS returns a number: how many working days lie between two dates, counting both ends. Use WORKDAY for due dates and NETWORKDAYS for durations.
How do I subtract working days from a date in Excel?
Give WORKDAY a negative number of days. `=WORKDAY(B2,-3,$F$2:$F$4)` returns the date 3 working days before B2, skipping weekends and the holidays in F2:F4.
Why does WORKDAY return a number instead of a date?
WORKDAY returns a date serial number, such as 46392 for 1/5/2027. Excel usually formats it as a date for you, but if it doesn't, select the cell, press Ctrl+1 (Command+1 on a Mac) and choose Date.
How do I use WORKDAY with a Friday and Saturday weekend?
Use WORKDAY.INTL with weekend code 7: `=WORKDAY.INTL(A2,10,7)`. You can also give a 7-character string that starts on Monday, with 1 for a day off, such as "0000110" for Friday and Saturday.