Skip to content

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 numberDays off
1 (or left out)Saturday, Sunday
2Sunday, Monday
3 to 6Mon–Tue, Tue–Wed, Wed–Thu, Thu–Fri
7Friday, Saturday
11Sunday only
12 to 17Monday 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.

A8=WORKDAY(A2,A3,A4:A6)
AB
1DataDescription
210/1/2008Start date
3151Days to completion
411/26/2008Holiday
512/4/2008Holiday
61/21/2009Holiday
7
85/5/2009=WORKDAY(A2,A3,A4:A6)
Without the holidays, =WORKDAY(A2,A3) returns 4/30/2009. Skipping the three holidays pushes the finish to 5/5/2009.

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.

  1. Type the holidays in F2:F4 (Thanksgiving 11/26/2026, 12/25/2026, 1/1/2027).
  2. In D3 type =WORKDAY(B3,C3,$F$2:$F$4).
  3. Press Enter. If you see 46392, press Ctrl+1 and choose Date.
D3=WORKDAY(B3,C3,$F$2:$F$4)
ABCDEF
1InvoiceDateDaysDueHolidays
2INV-201 (no holidays)12/18/2026101/1/202711/26/2026
3INV-201 (with holidays)12/18/2026101/5/202712/25/2026
41/1/2027
D2 uses =WORKDAY(B2,C2) and lands on New Year's Day. D3 skips both Friday holidays and returns Tuesday 1/5/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:

C2=WORKDAY(A2,B2,$F$2:$F$4)
ABCD
1Need it byDaysShip byWithout holidays
211/30/2026-311/24/202611/25/2026
Going back from Monday: Friday 11/27, Wednesday 11/25, Tuesday 11/24. Thanksgiving (11/26) is skipped. Without the holiday list, the answer is 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.

C4=WORKDAY.INTL(A6,10,"0010011")
ABC
1BusinessFormulaResult
2Mon–Fri office=WORKDAY(A6,10)12/7/2026
3Open Mon–Sat=WORKDAY.INTL(A6,10,11)12/4/2026
4Off Wed, Sat, Sun=WORKDAY.INTL(A6,10,"0010011")12/10/2026
A6 holds 11/23/2026. A six-day week (code 11) finishes three days sooner; a four-day week finishes three days later. Microsoft's own WORKDAY.INTL example, =WORKDAY.INTL(DATE(2012,1,1),90,11), returns 41013 (4/14/2012).

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 days of 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.