How to Subtract Business Days in Excel
In this article
To subtract business days in Excel, use the WORKDAY function: =WORKDAY(start_date, -n), where n is the number of business days to go back. For example, =WORKDAY(TODAY(), -10) returns the date 10 working days before today, skipping Saturdays, Sundays, and any holidays you list. If you need to count working days between two dates rather than move a date backward, use NETWORKDAYS instead.
What You'll Need
- Excel 2010 or later (WORKDAY and NETWORKDAYS are built in; Excel 2007 and earlier need the Analysis ToolPak add-in enabled).
- A start date in a cell, or a date typed directly into the formula.
- Optional: a list of holiday dates in a separate range if you want those excluded.
Step-by-Step
- Enter your start date. Type it into a cell, e.g. A1, using a format Excel recognises (such as 15/03/2025 or 3/15/2025 depending on your region). If Excel shows it left-aligned as text, re-enter it as a date.
- Decide how many business days to subtract. Put that number in another cell, e.g. B1, as a positive number. You will turn it negative inside the formula.
- Write the WORKDAY formula. In an empty cell, type =WORKDAY(A1, -B1). The minus sign before B1 is what makes it subtract rather than add. Press Enter.
- Check the result. The returned date should fall on a weekday and be the correct number of working days before A1. Format the cell as a date if Excel shows a serial number (e.g. 45366) — go to the Home tab and choose Short Date from the Number Format dropdown.
- Add holidays (optional). List holiday dates in a column, say D1:D10, then change the formula to =WORKDAY(A1, -B1, D1:D10). Excel will skip those dates as well as weekends.
- Copy the formula down. Drag the fill handle to apply it to other rows. Use absolute references ($D$1:$D$10) for the holiday range so it does not shift.
- For counting days between dates, use NETWORKDAYS. Type =NETWORKDAYS(A1, A2) to count working days between two dates, or =NETWORKDAYS(A1, A2, D1:D10) to exclude holidays. This is subtraction in the sense of finding the difference in business days.
Menu labels and function names can differ slightly by Excel version and region; the formulas above are the same across Windows, Mac, and Excel for the web.
Common Mistakes
- Forgetting the minus sign. =WORKDAY(A1, B1) adds days instead of subtracting. Always put -B1 or a negative number.
- Passing a negative number to NETWORKDAYS. NETWORKDAYS expects the start date to be earlier than the end date; if reversed, it returns a #NUM! error. Swap the arguments instead of negating.
- Holiday range including blank cells or text. WORKDAY ignores blanks but errors on text. Keep the holiday list clean and date-formatted.
- Dates stored as text. If A1 is left-aligned, WORKDAY returns #VALUE!. Re-enter the date or use DATEVALUE.
- Assuming WORKDAY skips only weekends. By default it skips Saturday and Sunday. If your business runs a different week (e.g. Friday–Saturday weekend), use WORKDAY.INTL with a weekend code.
Tips
- Use WORKDAY.INTL for custom weekends: the third argument is a weekend code (1 = Sat/Sun, 2 = Sun/Mon, 7 = Fri/Sat, and so on). Example: =WORKDAY.INTL(A1, -5, 7).
- Name your holiday range (Formulas > Define Name) so formulas read =WORKDAY(A1, -B1, Holidays).
- To subtract business days from today dynamically, use =WORKDAY(TODAY(), -n). The result updates each day.
- If you need the date n business days after a start date, drop the minus sign.
- Format results as dates to avoid confusion with serial numbers.
Troubleshooting
- #VALUE! error: One of the arguments is text or an invalid date. Check that the start date and holiday cells contain real dates, not text.
- #NUM! error: Usually from NETWORKDAYS with reversed dates, or an invalid weekend code in WORKDAY.INTL. Verify argument order and codes.
- Result looks like a number (e.g. 45366): The cell is formatted as General. Apply a date format.
- Holidays not excluded: The holiday range may be wrong or contain text. Confirm the range covers the actual holiday cells and that they are date-formatted.
- Formula works in one row but not another: Check for relative references that shifted when copied. Use $ for fixed ranges.
- WORKDAY not recognised: In very old Excel versions, enable the Analysis ToolPak via File > Options > Add-ins. In modern Excel it is built in.
Frequently Asked Questions
Can I subtract business days excluding custom holidays?
Yes. Add the holiday range as the third argument: =WORKDAY(start_date, -n, holidays).
What is the difference between WORKDAY and NETWORKDAYS?
WORKDAY returns a date a given number of business days away. NETWORKDAYS returns the count of business days between two dates.
How do I subtract business days when my weekend is not Saturday/Sunday?
Use WORKDAY.INTL with the appropriate weekend code, e.g. =WORKDAY.INTL(A1, -5, 7) for a Friday/Saturday weekend.
Does WORKDAY count the start date?
No. WORKDAY starts counting from the day after the start date. So =WORKDAY(A1, -1) returns the previous business day.
Why does my formula return a weekend date?
It should not if WORKDAY is used correctly. Check that you are not using a plain subtraction like =A1-5, which ignores weekends.
Can I use WORKDAY with a cell containing a negative number?
Yes, =WORKDAY(A1, B1) where B1 is negative works the same as =WORKDAY(A1, -ABS(B1)).