FORMULAS & FUNCTIONS

NETWORKDAYS in Excel: Count Business Days Between Dates (with Holidays)

How many working days are there between two dates? Subtracting the dates gives calendar days, which is the wrong answer for payroll, leave, project schedules and service-level deadlines. NETWORKDAYS skips weekends, and with a holiday list it skips holidays too. This guide builds the list, counts business days for every month of Q4 2026, handles six-day weeks, finds due dates with WORKDAY, and fixes the most common reason a holiday is not excluded.

Excel NETWORKDAYS with holidays: =NETWORKDAYS(B5,C5,Hols) returns 18 business days for November 2026, from 30 calendar days and 21 weekdays, and 61 business days for Q4 2026.
November 2026: 30 calendar days, 21 weekdays, 18 business days.

What you will build

AreaCellsWhat it holds
PeriodsA3:G9Start and end dates (inputs), calendar days, weekdays, business days and a six-day-week count
Holiday listI3:J10Five holidays in a named range called Hols, with a check that every entry is a real date
Due datesA13:D16WORKDAY: a start date plus a number of business days
Broken listI13:J17A holiday list copied from last year, to show why a holiday is not excluded
Free download: Get the NETWORKDAYS workbook (.xlsx). The holidays are examples (US federal holidays plus the day after Thanksgiving): replace them with your own. NETWORKDAYS and WORKDAY work in every current version; the .INTL versions need Excel 2010 or later.

Step 1: Build the holiday list

Type each holiday as a real date in one column (J4:J8 here) with its name next to it. Then select J4:J8 and type a name in the Name Box, left of the formula bar, or use Formulas > Define Name. The practice file calls it Hols. A name is easier to read than $J$4:$J$8 and never slides when you copy a formula.

=IF(COUNT(J4:J8)=ROWS(J4:J8),"All dates","Text found")

COUNT only counts numbers, and Excel dates are numbers, so this check in J10 warns you if any holiday was typed or imported as text. If it says Text found, standardize the dates first.

Excel holiday list in J4:J8 with five 2026 holidays from Oct 12, 2026 to Dec 25, 2026, named Hols, and a check showing All dates.
One column of real dates, named Hols.
Tip: For a list you will keep adding to, turn it into an Excel Table (Ctrl+T) and point the name at the Table column, so next year's holidays are included automatically.

Step 2: Count weekdays with NETWORKDAYS

The syntax is NETWORKDAYS(start_date, end_date, [holidays]). Without the holidays argument it counts Monday to Friday. In E4:

=NETWORKDAYS(B4,C4)

Both the start and the end date are counted if they are weekdays, so a single Monday returns 1, not 0. That is different from simple subtraction: the calendar-day column uses =C4-B4+1 to include both ends as well.

Excel NETWORKDAYS(B4,C4) returning 22 weekdays for October 2026, which has 31 calendar days, and -21 when the start and end dates are reversed.
Start and end date are both included.
Checkpoint: October 2026 has 31 calendar days and 22 weekdays. Row 9 has the dates reversed (Nov 30 to Nov 1) and returns -21: NETWORKDAYS counts backwards rather than returning an error, so check the order of your dates.

Step 3: Exclude holidays

Add the holiday list as the third argument. In F4, filled down:

=NETWORKDAYS(B4,C4,Hols)

Excel removes every listed holiday that falls on a weekday inside the period. A holiday on a Saturday or Sunday is not subtracted twice, and holidays outside the period are simply ignored.

Excel NETWORKDAYS with the holiday list returning 18 business days for November 2026, 61 for Q4 2026, and a check showing Ties.
Three November holidays fall on weekdays, so 21 becomes 18.
Checkpoint: Business days: October 21, November 18, December 22, Q4 61. F11 confirms the three months add up to the quarter: Ties. Thanksgiving week leave (Nov 23 to 27) is 5 weekdays but only 3 business days.

That last row is exactly how a leave tracker should count days taken: an employee who books Thanksgiving week off uses 3 days of leave, not 5.

Step 4: Different weekends with NETWORKDAYS.INTL

Not every business works Monday to Friday. NETWORKDAYS.INTL adds a weekend argument. In G4:

=NETWORKDAYS.INTL(B4,C4,11,Hols)
Weekend codeDays off
1 (default)Saturday and Sunday
2Sunday and Monday
7Friday and Saturday
11Sunday only
17Saturday only
"0000011"Text version: seven digits, Monday to Sunday, 1 = day off
Excel NETWORKDAYS.INTL with weekend code 11 for a six-day week, returning 26 days for October 2026 compared with 21 on a five-day week.
Code 11 counts Saturdays as working days.
Checkpoint: On a six-day week, October 2026 has 26 business days instead of 21. The text form is handy for unusual patterns, for example "0010011" for a Wednesday half-day plus the weekend.

Step 5: Find a due date with WORKDAY

NETWORKDAYS counts the days between two dates. WORKDAY goes the other way: it returns the date a given number of business days after a start date. In D14, filled down:

=WORKDAY(B14,C14,Hols)

WORKDAY does not count the start date itself, so 1 business day after a Friday is the following Monday. Use a negative number to go backwards, and WORKDAY.INTL for other weekends. Format the result as a date if Excel shows a serial number.

Excel WORKDAY returning a due date of Dec 1, 2026 for 5 business days from Nov 20, 2026, skipping Thanksgiving, and Oct 26, 2026 for 10 business days from Oct 9, 2026.
WORKDAY skips the weekend, Thanksgiving and the day after.
Checkpoint: 5 business days from Fri Nov 20, 2026 is Dec 1, 2026. 10 business days from Oct 9 is Oct 26, 2026 (Columbus Day is skipped), and 3 days from Dec 22 is Dec 28, 2026.
Accounting note: Payment terms such as net 30 are normally calendar days, so an invoice due date is simply =InvoiceDate+30, and the AR aging report ages in calendar days. Use WORKDAY only where a contract, policy or service level actually says business days.

Step 6: NETWORKDAYS not excluding holidays? Check these

The second holiday list in I13:J15 was copied from last year's file. Thanksgiving still says Nov 27, 2025, so for November 2026 it excludes nothing:

=NETWORKDAYS(B5,C5,J14:J15)
=SUMPRODUCT((J14:J15>=B5)*(J14:J15<=C5))
Excel NETWORKDAYS returning 20 instead of 19 days for November 2026 because the holiday list still contains Thanksgiving 2025, with only 1 of its holidays falling in the month.
A holiday from the wrong year is silently ignored.

The first formula returns 20 instead of the 19 you would expect with Veterans Day and Thanksgiving, and the second shows that only 1 of the listed holidays falls inside November. No error appears, which is why this mistake survives. Other causes:

SymptomCauseFix
A holiday is not excludedWrong year, or the holiday is stored as textCheck the year; use the COUNT check from Step 1.
Copied formulas give different answersThe holiday range is relative and slid downUse a name or lock it with $ (press F4).
#VALUE!The start or end date is text Excel cannot read as a dateConvert it to a real date (DATEVALUE or Text to Columns).
A negative numberStart and end dates are reversedSwap them, or wrap in ABS if direction does not matter.
A number like 46357 instead of Dec 1, 2026WORKDAY result formatted as GeneralFormat the cell as a date (Ctrl+1).
Ready-to-share test: Change the leave dates in B8:C8 to Dec 21 and Dec 31, 2026. The row shows 11 calendar days, 9 weekdays, 8 business days (Christmas falls on a Friday) and 9 days on a six-day week, and F11 still shows Ties. Then change J15 to Nov 26, 2026: J16 drops to 19 and J17 shows 2. Change them back when you are done.

Where to use it

Business-day counts turn up everywhere: working days in a payroll month, days of leave taken, and days remaining on a project tracker. Combine NETWORKDAYS with TODAY() to count business days left until a deadline, =NETWORKDAYS(TODAY(),C4,Hols), and with COUNTIFS to count overdue items. For hours rather than days, see the hours worked formula, and to add up amounts within a date range, SUMIFS between two dates.

Frequently asked questions

Does NETWORKDAYS include the start and end date?

Yes. Both are counted if they are working days. NETWORKDAYS for Monday to Friday of the same week returns 5.

How do I add holidays to NETWORKDAYS?

List the holidays as real dates in a range and pass that range as the third argument: =NETWORKDAYS(B4,C4,$J$4:$J$8), or use a named range.

How do I count business days with Saturday as a working day?

Use NETWORKDAYS.INTL with weekend code 11 (Sunday only): =NETWORKDAYS.INTL(B4,C4,11,Hols).

What is the difference between NETWORKDAYS and WORKDAY?

NETWORKDAYS counts working days between two dates. WORKDAY adds a number of working days to a date and returns the resulting date.

Why does NETWORKDAYS return a negative number?

The start date is later than the end date. Swap the two dates.

Final checklist

  • Holidays are real dates for the right year, in one named or locked range.
  • The COUNT check shows every holiday is a date.
  • Start and end dates are in the right order.
  • NETWORKDAYS.INTL is used for any weekend other than Saturday-Sunday.
  • WORKDAY results are formatted as dates.
  • Calendar-day terms (like net 30) use plain date arithmetic, not WORKDAY.
Practice file: Download the NETWORKDAYS workbook. The “How It Works” sheet explains every formula.

Plan around real working days

Browse the OneXcel Tutorial Hub for more date formulas, explore ready-to-use Excel templates including leave and project trackers, or turn your data into a dashboard with the OneXcel Dashboard Builder.