NETWORKDAYS.INTL Function

Excel Functions › Date & Time

Excel 2010+ Date & Time

The Excel NETWORKDAYS.INTL function counts working days between two dates with a configurable weekend — the flexible cousin of NETWORKDAYS for non-standard work weeks across regions.


Quick answer: working days with a Friday–Saturday weekend:
=NETWORKDAYS.INTL(A2, B2, 7) // code 7 = Fri-Sat weekend

Syntax

=NETWORKDAYS.INTL(start_date, end_date, [weekend], [holidays])
ArgumentDescription
start_dateRequiredFirst date (counted).
end_dateRequiredLast date (counted).
weekendOptionalWeekend code (1–17) or a 7-character mask like "0000011".
holidaysOptionalOptional dates to exclude.

How to use it

Both endpoints are counted (inclusive). The weekend argument takes the same codes and 7-character masks as WORKDAY.INTL. Add a holidays range to subtract company holidays too:

=NETWORKDAYS.INTL(A2, B2, "0000011", Holidays) // standard week minus holidays

For a fixed Saturday–Sunday weekend, plain NETWORKDAYS is simpler.

Try it: interactive demo

Live demo

Adjust the input and watch the formula and result update.

Result:

Tips & gotchas

Count working days with a configurable weekend - any region's work week. Format result cells as Date or Time so they don’t display raw serial numbers.

Practice workbook

📊
Download the free NETWORKDAYS.INTL practice workbook
Every example on this page, ready to open in Excel — plus practice challenges with answers on a separate tab. No sign-up required.

Frequently asked questions

Are both dates counted?
Yes — NETWORKDAYS.INTL is inclusive of both the start and end dates (if they are working days).
How do I set a custom weekend?
Use a code (7 = Fri–Sat) or a 7-character mask ("0000011" = Sat–Sun off).
NETWORKDAYS vs NETWORKDAYS.INTL?
NETWORKDAYS assumes Sat–Sun; the .INTL version lets you define any weekend.
Which versions?
Excel 2010 and later.

Master functions like this in one day

This page covers one function. Our Excel Formulas and Functions class covers the 30 that matter most — live, hands-on, taught by professionals in Dallas–Fort Worth, Houston, Austin, Oklahoma City, Denver, or online.

See the Formulas & Functions Class

Related functions: DATE · TODAY · DATEDIF · EOMONTH · TEXT