Excel Add Working Days: How to Use WORKDAY and WORKDAY.INTL
In this article
To add working days in Excel, use the =WORKDAY(start_date, days, [holidays]) function. This formula automatically calculates a future or past date by adding a specific number of days to a start date while skipping Saturdays and Sundays, as well as any optional holidays you specify in a separate list.
Calculating deadlines or project timelines manually is prone to error because of weekends and public holidays. By using these built-in functions, you ensure that your project schedules remain accurate and that deadlines always land on a valid business day.
What You'll Need
- Microsoft Excel (any modern version).
- A start date entered into a cell (formatted as a Date).
- The number of working days you wish to add.
- (Optional) A list of holiday dates typed into a range of cells to ensure they are also skipped.
Step-by-Step
- Set up your data: Enter your start date in one cell (e.g., A2). In another cell (e.g., B2), enter the number of working days you want to add.
- Create a holiday list (Optional): If you want Excel to skip specific dates like Christmas or New Year's Day, type those dates into a vertical column (e.g., E2 to E10). It is helpful to name this range "Holidays" using the Name Box (the small box to the left of the formula bar) for easier referencing.
- Enter the WORKDAY formula: Click on the cell where you want the result to appear and type the following formula:
=WORKDAY(A2, B2, E2:E10).A2is the start date.B2is the number of days to add.E2:E10is the range containing your holidays.
- Press Enter: Excel will calculate the date. If the result appears as a five-digit number (e.g., 45285), this is how Excel stores dates internally.
- Format the cell as a Date: With the result cell selected, go to the Home tab, locate the Number group in the ribbon, click the dropdown menu (which likely says "General" or "Number"), and select Short Date.
- Handle custom weekends (WORKDAY.INTL): If your business does not follow a Saturday-Sunday weekend (e.g., you only close on Sundays), use the
WORKDAY.INTLfunction instead:=WORKDAY.INTL(A2, B2, 11, E2:E10).- The third argument (the number
11in this example) tells Excel which days are weekends. In this case,11specifies that only Sunday is a non-working day.
- The third argument (the number
Common Mistakes
- Including the start date: The
WORKDAYfunction begins counting from the day after the start date. If the start date must be counted as "Day 1," you should subtract 1 from your days argument (e.g.,=WORKDAY(A2, B2-1, E2:E10)). - Incorrect Date Formatting: Entering dates as text (e.g., "Jan 1st 2024") instead of actual date values can cause the formula to return a
#VALUE!error. Always use the date picker or standard date formats (MM/DD/YYYY or DD/MM/YYYY depending on your region). - Forgetting the Holiday Range: If you omit the holiday argument, Excel will skip weekends but will treat public holidays as normal working days, leading to unrealistic deadlines.
- Hard-coding dates in the formula: Typing
"2024-12-25"directly into the formula can lead to errors. It is always better to reference a cell containing the date.
Tips
- Subtracting Days: You can use the same formula to find a date in the past. Simply enter the number of days as a negative value (e.g.,
-10) to find the date 10 working days prior to the start date. - Using Named Ranges: Instead of selecting
E2:E10every time, highlight those cells and type "Holidays" in the Name Box. Your formula becomes=WORKDAY(A2, B2, Holidays), which is much easier to read and maintain. - Dynamic Holiday Lists: Format your holiday list as an Excel Table (Ctrl + T). When you add new holidays to the bottom of the table, the
WORKDAYformula will automatically include them without you needing to update the cell range.
Troubleshooting
If the formula is not working as expected, try these steps in order:
- Check for
#VALUE!errors: This usually means one of your inputs is not recognized as a date or a number. Ensure the start date and the holiday list are formatted as Dates, and the number of days is a whole number. - Verify the result date: If the date seems wrong, check if the start date fell on a weekend. If the start date is a Saturday, Excel starts counting from the following Monday.
- Check the Weekend Code: If using
WORKDAY.INTL, double-check the weekend integer. For example, using1for Sat/Sun and2for Sun/Mon. If you enter a number outside the 1-17 range, the formula will fail. - Check for hidden characters: If you imported your dates from another software, there may be hidden spaces. Use the
=TRIM()function to clean your date cells.
Frequently Asked Questions
Can I add working days that include Saturdays?
Yes. Use the WORKDAY.INTL function. By changing the "weekend" argument to 11, Excel will only skip Sundays, treating Saturdays as normal working days.
What happens if the start date is a holiday?
The WORKDAY function does not count the start date as one of the added days, regardless of whether it is a working day or a holiday. The count begins on the first available working day after the start date.
How do I calculate the number of working days between two dates?
To find the difference rather than adding days, use the NETWORKDAYS or NETWORKDAYS.INTL function. This returns the total count of working days between a start and end date.
Does this work in Google Sheets?
Yes, both WORKDAY and WORKDAY.INTL use the same syntax and logic in Google Sheets as they do in Microsoft Excel.
Can I specify a custom set of non-working days (e.g., Tuesday and Thursday)?
Yes, using WORKDAY.INTL. Instead of a number for the weekend argument, you can use a "string" of seven 0s and 1s in quotes, where 1 is a non-working day and 0 is a working day, starting from Monday. For example, "0101000" would make Tuesday and Thursday non-working days.