Excel Add Business Days: Using WORKDAY and WORKDAY.INTL
In this article
To add business days in Excel, use the WORKDAY or WORKDAY.INTL function. These formulas allow you to take a starting date and add a specific number of days to it while automatically skipping Saturdays, Sundays, and any custom holidays you provide. This is essential for project management, shipping estimates, and payroll calculations where weekend time does not count toward a deadline.
What You'll Need
- Microsoft Excel (Desktop, Web, or Mobile versions).
- A starting date entered into a cell (formatted as a Date).
- The number of business days you wish to add.
- A list of holiday dates (optional, but recommended for accuracy).
Step-by-Step
- Prepare your data: Start by entering your initial date in a cell, for example, cell A2. In cell B2, enter the number of business days you want to add (e.g., 10).
- Create a holiday list: To ensure Excel skips public holidays, type your holiday dates into a separate column or a separate sheet. For example, list them in cells E2 through E10. This is a critical step because Excel does not inherently know when your local or company-specific holidays occur.
- Select the output cell: Click on the cell where you want the new date to appear (for example, C2).
- Enter the basic WORKDAY formula: If you are working a standard Monday-to-Friday schedule, type the following formula:
=WORKDAY(A2, B2). This tells Excel to look at the date in A2, add the number of days in B2, and skip all Saturdays and Sundays. - Incorporate holidays: To make the formula more accurate, include your holiday list. Update the formula to:
=WORKDAY(A2, B2, E2:E10). The third argument tells Excel to treat any date within that range as a non-working day. - Use WORKDAY.INTL for custom schedules: If your business operates on a different schedule (for example, if Saturday is a working day or if you work a Tuesday-Saturday shift), use the WORKDAY.INTL function. The syntax is:
=WORKDAY.INTL(start_date, days, [weekend], [holidays]). - Configure the weekend parameter: In the WORKDAY.INTL formula, the third argument is a code that defines which days are weekends. For example, if you enter the number
1, it defaults to Saturday/Sunday. If you enter11, it treats Sunday as the only weekend day. You can also use a string of seven 0s and 1s (e.g., "0000011") where 1 represents a non-working day, starting from Monday. - Format the result: If the result looks like a random five-digit number (e.g., 45230), Excel is displaying the date's serial number. To fix this, go to the Home tab, look at the Number format dropdown menu, and select "Date."
Common Mistakes
One of the most frequent errors is failing to format the result cell as a "Date." Because Excel stores dates as sequential integers, a successful calculation often results in a number that looks like nonsense until the formatting is changed. Another common mistake is providing the holiday range incorrectly. If your holiday list contains text or invalid date formats, the formula may return a #VALUE! error. Always ensure your holiday list consists strictly of valid Excel dates.
Users also often forget that the WORKDAY function counts the day *after* the start date as the first business day. If you start a task on a Monday and add 1 business day, the result will be Tuesday. If you intended for Monday to be "Day 1," you may need to adjust your math by subtracting one from your day count or adjusting your starting logic. Additionally, many users attempt to use the standard ADD function (e.g., =A2+10) to calculate business days. This will include weekends in the count, leading to incorrect deadlines and project delays.
Tips
For large-scale project management, it is best to keep your holiday list on a dedicated "Settings" or "Reference" worksheet. This allows you to update your holidays once for the entire workbook rather than updating individual formulas in multiple sheets. You can also turn your holiday list into an Excel Table (select the range and press Ctrl+T). If you do this, you can refer to the table by name in your formula, such as =WORKDAY(A2, B2, HolidayTable[Dates]). This makes your formulas much easier to read and ensures that if you add new holidays to the table, the formula updates automatically.
If you are dealing with complex shifts, such as a rotating roster, the WORKDAY.INTL function is your best friend. Instead of memorizing the numeric codes for weekends, you can use the text string method. For example, the string "0000011" explicitly tells Excel that Monday through Friday are working days (0) and Saturday and Sunday are weekends (1). This method is much more intuitive for non-standard work weeks.
Troubleshooting
If your formula returns a #VALUE! error, check your inputs. This usually happens if the start date or the number of days is not a valid number or date. Ensure that cell A2 is actually recognized by Excel as a date and not just text that looks like a date. You can check this by selecting the cell and seeing if the alignment is to the right (standard for numbers/dates) or left (standard for text).
If the formula returns a #NAME? error, you likely have a typo in the function name. Double-check that you have spelled WORKDAY or WORKDAY.INTL correctly. If you are using a very old version of Excel, WORKDAY.INTL might not be available; in that case, you must use the standard WORKDAY function.
If the date returned is incorrect by a few days, check your holiday list. It is possible you have included a date that is not actually a holiday, or you have accidentally included a weekend in your holiday list. While Excel is smart enough to ignore holidays that fall on weekends, having overlapping ranges can sometimes cause confusion in complex formulas.
If the date is showing as a large number (like 45000), this is not an error. It is simply a formatting issue. Go to the Home tab > Number Group > Change "General" to "Short Date."
Frequently Asked Questions
How do I add business days if my weekend is Friday and Saturday?
You should use the WORKDAY.INTL function. In the third argument of the formula, use the code 7, which represents Friday and Saturday as the weekend. The formula would look like: =WORKDAY.INTL(A2, B2, 7, E2:E10).
Does Excel automatically skip holidays?
No, Excel does not know which days are holidays in your specific country or company. You must manually create a list of holiday dates and include that range as the third (or fourth) argument in your WORKDAY or WORKDAY.INTL formula.
Can I subtract business days instead of adding them?
Yes. To find a date in the past, simply enter a negative number for the days argument. For example, =WORKDAY(A2, -5) will return the date five business days before the date in cell A2.
What happens if the start date is a weekend?
If the start date provided in the formula is a Saturday or Sunday, Excel will treat the next available business day as the starting point for the calculation. It does not error out, but it is best practice to use a valid business day as your starting point for clarity.
Why is my WORKDAY.INTL formula returning a #NUM! error?
The #NUM! error typically occurs if the number of days you are trying to add is too large for Excel to calculate, or if the arguments provided are mathematically impossible. Check that your 'days' argument is a reasonable integer.