ElyxAI
formulas

How to Use WORKDAY Function

Excel 2010Excel 2013Excel 2016Excel 2019Excel 365

Learn to use the WORKDAY function to calculate dates by adding or subtracting working days, automatically excluding weekends and holidays. This function is essential for project management, deadline tracking, and HR scheduling where you need accurate business day calculations without manual adjustments.

Why This Matters

WORKDAY automates business day calculations, reducing manual errors in project timelines and deadline management. It's critical for industries like manufacturing, construction, and HR where accurate working day counts directly impact scheduling and compliance.

Prerequisites

  • Basic understanding of Excel formulas and cell references
  • Knowledge of date formatting in Excel
  • Familiarity with start dates and working day concepts

Step-by-Step Instructions

1

Open your worksheet and prepare your data

Create a column with start dates and ensure dates are formatted correctly (Format > Cells > Date category). Prepare a separate column for the number of working days to add or subtract.

2

Click the target cell for your result

Select the cell where you want the calculated date to appear, such as column C next to your start date in column A.

3

Enter the WORKDAY formula

Type the formula =WORKDAY(start_date, days, [holidays]). Example: =WORKDAY(A2, 10) adds 10 working days to the date in A2, or =WORKDAY(A2, -5, D2:D5) subtracts 5 working days excluding holidays in D2:D5.

4

Include optional holiday range if needed

If you have a list of holidays, add them as the third parameter: =WORKDAY(A2, 10, Holidays!A:A). This ensures those specific dates are excluded from the calculation.

5

Press Enter and copy the formula down

Press Enter to execute the formula, then copy the cell (Ctrl+C) and paste it (Ctrl+V) to other rows, or double-click the fill handle to auto-fill the column.

Alternative Methods

Use NETWORKDAYS for counting working days instead

NETWORKDAYS counts the number of working days between two dates instead of calculating a future date. Use it when you need day count rather than a resulting date.

Manual date addition with DATE and WEEKDAY functions

For simpler cases without holidays, combine DATE and WEEKDAY functions to skip weekends, though this is more complex and error-prone than WORKDAY.

Tips & Tricks

  • Always format the result column as Date format to display the calculated date properly instead of a serial number.
  • Use negative numbers in WORKDAY to calculate dates in the past (e.g., =WORKDAY(A2, -10) goes back 10 working days).
  • Create a separate holiday list on another sheet and reference it; this makes updates easier and keeps your formula clean.

Pro Tips

  • Combine WORKDAY with TODAY() to automatically calculate project deadlines: =WORKDAY(TODAY(), 30) gives you the date 30 working days from today.
  • Use absolute references for your holiday range ($D$2:$D$5) so it doesn't change when copying the formula across rows.
  • Test your formula with known dates first to ensure holidays are properly excluded before applying to large datasets.

Troubleshooting

Formula returns #VALUE! error

Check that your start_date is a valid Excel date value, not text. Also verify the days parameter is a number. Use the ISNUMBER() and ISDATE() functions to test your inputs if unsure.

Result shows a serial number instead of a date

Right-click the cell, select Format Cells, go to the Number tab, choose Date category, and select your preferred date format.

Holidays are not being excluded from the calculation

Verify that your holiday dates are actual date values, not text. Ensure the range reference is correct and uses proper sheet syntax (SheetName!Range or SheetName.Range depending on Excel version).

Formula works for one row but fails when copied down

Check if your holiday range uses absolute references ($). Use =WORKDAY(A2, B2, $D$2:$D$5) so the holiday range stays fixed while row references update.

Related Excel Formulas

Frequently Asked Questions

Does WORKDAY automatically exclude weekends?
Yes, WORKDAY automatically excludes Saturday and Sunday by default. You only need to specify the holiday parameter if you have additional non-working days like public holidays to exclude.
Can I use WORKDAY to go backwards in time?
Absolutely. Use a negative number for the days parameter, such as =WORKDAY(A2, -10) to calculate 10 working days before the start date.
What's the difference between WORKDAY and NETWORKDAYS?
WORKDAY calculates a new date by adding or subtracting working days from a start date, while NETWORKDAYS counts the total number of working days between two dates. Use WORKDAY for deadline calculations and NETWORKDAYS for duration counting.
Can I include multiple holiday lists in one WORKDAY formula?
No, WORKDAY accepts only one holiday range. If you need multiple lists, combine them into a single range on a helper sheet and reference that consolidated list.

This was one task. ElyxAI handles hundreds.

Sign up