Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Excel WORKDAY Formula with Holidays: How-To

· 6 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

To calculate a workday date that skips weekends and your own list of holidays, use Excel's WORKDAY function: =WORKDAY(start_date, days, [holidays]). Put your holiday dates in a separate range (for example on a sheet called Holidays) and reference that range as the third argument. Excel then returns the date that is the given number of working days after the start date, excluding Saturdays, Sundays and any date in your holiday list. If you need to count working days between two dates instead of adding them, use NETWORKDAYS with the same holiday range.

What You'll Need

  • Excel on desktop (Microsoft 365, Excel 2019 or later) or Excel for the web. The WORKDAY and NETWORKDAYS functions are available in all current versions and on both Windows and Mac.
  • A start date cell formatted as a date, not as text.
  • A list of holiday dates in a single column or row, each entered as a real date. A separate sheet is cleanest, but the same sheet works too.

Step-by-Step

  1. Create the holiday list. On a new sheet named Holidays (or any spare area), type a heading such as Holiday in A1, then enter each holiday date in A2 downward, one date per cell. Enter them the way your system expects dates (for example 25/12/2025 in the UK or 12/25/2025 in the US), or use a date picker. If Excel left-aligns an entry, it stored it as text, not a date; retype it or use Data > Text to Columns to convert it.
  2. Name the range (optional but useful). Select the holiday cells, click the Name Box to the left of the formula bar, type Holidays, and press Enter. You can then write Holidays in formulas instead of a cell range. If you skip this, use an absolute reference like Holidays!$A$2:$A$20.
  3. Enter your start date. In a working cell, type the date you want to count from, for example in B2. Format it as a date with Home > Number Format > Short Date so it displays correctly.
  4. Enter the number of working days to add. In C2, type the number of workdays, such as 10. Positive numbers move forward; negative numbers move backward.
  5. Write the WORKDAY formula. In D2, type =WORKDAY(B2, C2, Holidays) (or =WORKDAY(B2, C2, Holidays!$A$2:$A$20)). Press Enter. The result is the date 10 working days after the start date, skipping weekends and every date in the holiday list.
  6. Check the result manually. Count forward on a calendar, crossing out Saturdays, Sundays and each holiday. The formula's answer should match. This catches a holiday list that contains a weekend date (harmless) or a typo (not harmless).
  7. Use NETWORKDAYS for counting instead. If you want the number of working days between two dates, type =NETWORKDAYS(B2, E2, Holidays), where B2 is the start and E2 the end date. Both endpoints are included in the count.
  8. Fill the formula down. Drag the fill handle from D2 down the column. Because the holiday range is absolute (or named), every row uses the same list. If you used a relative reference by mistake, the range will shift and results will be wrong.
  9. Handle a holiday list that grows. Either extend the absolute range (for example $A$2:$A$100) with room to spare, or convert the list to an Excel Table (select it, then Insert > Table) and reference the table column. A table expands automatically when you add dates.

Common Mistakes

  • Holidays stored as text. Dates typed as text are ignored by WORKDAY, so the formula silently skips them. Check alignment: real dates right-align by default. Use =ISNUMBER(A2) to test; it should return TRUE.
  • Relative holiday range. Writing A2:A10 without dollar signs lets the range slide as you fill down, so later rows reference the wrong dates. Use $A$2:$A$10 or a named range.
  • Expecting WORKDAY to use a custom weekend. WORKDAY always treats Saturday and Sunday as the weekend. If your organisation rests on Friday and Saturday, use WORKDAY.INTL with a weekend code instead.
  • Including the start date in the count. WORKDAY does not count the start date itself. Ten workdays from a Monday lands on the Monday two weeks later, not the Friday before.
  • Forgetting that holidays on weekends are harmless. A holiday that falls on a Saturday changes nothing, because that day is already excluded. You do not need to remove it.
  • Mixing date systems. If dates were imported from another system, they may be off by a few years or stored as serial numbers. Re-enter or convert them before using them in the formula.

Tips

  • Keep the holiday list on its own sheet and update it once a year. Every formula that references it updates automatically.
  • Use =WORKDAY(TODAY(), 5, Holidays) to get the date five working days from today. The result recalculates each time the workbook opens.
  • Negative day counts work: =WORKDAY(B2, -3, Holidays) gives the date three working days before the start.
  • For a non-standard weekend, WORKDAY.INTL accepts a weekend code (1 or omitted for Saturday/Sunday, 7 for Friday/Saturday, 11 for Sunday only) or a seven-character string of 1s and 0s. NETWORKDAYS.INTL does the same for counting.
  • Format result cells as dates. A raw serial number such as 45678 looks wrong until you apply a date format.
  • If a formula returns #VALUE!, one of the arguments is text. Test the start date and each holiday with ISNUMBER.

Troubleshooting

If the result is a number like 45678 instead of a date, select the cell and apply Home > Number Format > Short Date. If you get #VALUE!, check that the start date and every holiday entry are real dates, not text. If the answer is off by a day or two, confirm the start date is not itself a weekend or holiday (WORKDAY counts from it but does not adjust it) and that the holiday range covers the right rows. If results change unexpectedly when you copy the formula, the holiday reference is relative; make it absolute. If a holiday seems ignored, test it with ISNUMBER and look for a leading apostrophe or a space. If the formula returns #NUM!, the day count is too large or the resulting date falls before 1900, which Excel cannot represent.

Frequently Asked Questions

Does WORKDAY include the start date?

No. It counts forward from the day after the start date. The start date itself is not counted as one of the working days.

What is the difference between WORKDAY and NETWORKDAYS?

WORKDAY returns a date a set number of working days away. NETWORKDAYS returns the number of working days between two dates. Both accept the same optional holiday range.

Can I use a custom weekend?

Not with WORKDAY. Use WORKDAY.INTL, which takes a weekend argument before the holidays argument, for example =WORKDAY.INTL(B2, 10, 7, Holidays) for a Friday/Saturday weekend.

Do holidays on weekends need to be in the list?

No. Weekend dates are already excluded, so including them changes nothing. It is fine to leave them in for a complete calendar.

Why is my holiday date not being skipped?

Most often it is stored as text. Select the cell, check that it right-aligns, and test with =ISNUMBER(cell). Retype it as a date if the test returns FALSE.

Does this work in Excel for the web and on Mac?

Yes. WORKDAY, NETWORKDAYS and their .INTL variants are available in Excel for the web and Excel for Mac. Menu labels can differ slightly by version and region.