Excel can calculate business days for you with two built-in functions: NETWORKDAYS counts the working days between two dates, and WORKDAY returns the date a set number of working days from a start date. Both skip Saturdays and Sundays by default and can also skip a list of holidays you supply. You need Excel 2010 or later (or Microsoft 365) on Windows, Mac, or the web app; the functions are the same across all of them. The only preparation is a clean start date, an end date, and optionally a list of holiday dates in their own cells.
What You'll Need
- Excel 2010 or newer, Microsoft 365, or Excel for the web (the functions are identical; only the ribbon labels differ slightly by version and platform).
- Two date cells to work from, for example a start date in A2 and an end date in B2.
- Optional: a column of holiday dates (one per cell) if you want those excluded.
- Dates entered as real Excel dates, not text. If a date is left-aligned in the cell, Excel is treating it as text and the formulas will fail.
Step-by-Step
Enter your dates as real dates. Type them in a format Excel recognises, such as 3/15/2024 or 15-Mar-2024, depending on your region. To confirm Excel sees a date and not text, click the cell and check that the formula bar shows a date, or that the cell is right-aligned by default. If it stays left-aligned, re-enter it or use Data > Text to Columns to convert it.
Optionally build a holiday list. Put each holiday date in its own cell in a separate area, for example E2:E10. Include only the dates your organisation actually observes. Do not include weekends here; NETWORKDAYS and WORKDAY already exclude Saturdays and Sundays. If you observe a Friday or Monday around a weekend holiday, list the observed date, not the calendar date.
Count business days between two dates. Click an empty cell and type
=NETWORKDAYS(A2,B2). Press Enter. The result counts both the start and end dates if they fall on weekdays, so a Monday-to-Friday range returns 5. To exclude holidays, extend it to=NETWORKDAYS(A2,B2,E2:E10).Find a future date a set number of working days ahead. Type
=WORKDAY(A2,10)to get the date 10 working days after the date in A2. Add the holiday range as a third argument:=WORKDAY(A2,10,E2:E10). Use a negative number to go backwards, for example=WORKDAY(A2,-5)for five working days before A2.Count working days from today. Replace the start date with TODAY():
=NETWORKDAYS(TODAY(),B2). This recalculates every time the workbook opens, which is useful for deadline trackers. If you need the result frozen, copy the cell and use Paste Special > Values.Format the result correctly. NETWORKDAYS returns a number of days, so leave it as General or Number. WORKDAY returns a date serial number, so format that cell as a date: right-click the cell, choose Format Cells, then Date. If WORKDAY shows a five-digit number like 45366, this formatting step is what is missing.
Test one case by hand. Pick a short range you can verify, such as a Monday to the following Monday with no holidays, which should return 6 with NETWORKDAYS. If the result is off by one, check whether you expected the start or end date to be excluded; the functions include both.
Common Mistakes
- Dates stored as text. This is the most frequent cause of #VALUE! errors. Left-aligned dates are text; convert them before using the formulas.
- Putting weekends in the holiday list. It does no harm to the count, but it clutters the list and can hide a genuine mistake. Keep the holiday range to actual non-weekend closures.
- Expecting a custom weekend. NETWORKDAYS and WORKDAY always treat Saturday and Sunday as the weekend. If your working week is different, you need NETWORKDAYS.INTL or WORKDAY.INTL, which take a weekend code as an extra argument.
- Forgetting to format WORKDAY output as a date. The formula is correct; the cell just needs date formatting.
- Using a holiday range that includes blank cells or text. Blank cells are ignored, but text values can trigger errors. Keep the range tight to the actual holiday cells.
- Assuming both dates are excluded. NETWORKDAYS counts both the start and end date if they are weekdays. If you want to exclude one end, subtract 1 from the result and check the logic against a real example.
Tips
- Name your holiday range (Formulas > Define Name) so formulas read clearly, for example
=NETWORKDAYS(A2,B2,Holidays). - Use NETWORKDAYS.INTL when your weekend is not Saturday and Sunday. The weekend argument accepts codes such as 1 for Saturday/Sunday, 2 for Sunday/Monday, and 7 for Friday/Saturday; check Excel's function help for the full list before relying on a code.
- Keep a single holiday table on one sheet and reference it from every formula, so updating one cell updates every calculation.
- For project timelines, pair WORKDAY with conditional formatting so dates that land on a holiday are flagged automatically.
- If you work across regions, keep separate holiday lists per country and point each formula at the right one.
Troubleshooting
- #VALUE! error: one of the date arguments is text or empty. Check the formula bar and re-enter the date, or convert the column with Data > Text to Columns.
- #NUM! error: usually a date outside Excel's supported range, or a WORKDAY result that falls before 1900. Check the start date and the day offset.
- Result is one day off from what you expected: confirm whether you want the start and end dates included. NETWORKDAYS includes both; adjust with +1 or -1 only after checking a known example.
- Holidays are not being excluded: check the range reference covers the right cells and that the holiday dates are real dates, not text.
- Formula shows as text: the cell may be formatted as Text before you typed the formula. Change the format to General and re-enter the formula.
- Results differ between computers: date settings and regional formats can change how dates are read. Store dates in a consistent format and avoid typing ambiguous dates like 03/04/2024.
Frequently Asked Questions
Does NETWORKDAYS include the start and end date?
Yes, both are counted if they fall on a weekday. A Monday-to-Friday range returns 5.
Can I use a working week that is not Monday to Friday?
Yes, with NETWORKDAYS.INTL and WORKDAY.INTL, which accept a weekend code argument. The standard functions always assume Saturday and Sunday off.
Why does WORKDAY return a number like 45366?
That is a date serial number. Format the cell as a date to display it normally.
Can I exclude holidays in WORKDAY?
Yes. Add the holiday range as the third argument, for example =WORKDAY(A2,10,E2:E10).
Do these functions work in Excel for the web and on Mac?
Yes, NETWORKDAYS and WORKDAY are available in Excel for the web and Excel for Mac, with the same syntax. Menu labels for formatting can differ slightly by version and platform.
How do I count business days from today?
Use =NETWORKDAYS(TODAY(),B2). The result updates each time the workbook recalculates.