Excel function

NETWORKDAYS.INTLfunction

Counts the workdays between two dates, with days off you choose.

All versions
=NETWORKDAYS.INTL(DATE(2026,5,1), DATE(2026,5,29), 1, H2:H3)
Clicking a date sets

May 2026

Change the weekend to "11 Sunday only" and Saturdays count as workdays. Try breaking it on purpose to see the errors.

Result

19

start_date
May 1, 2026 (Fri)

The first day of the period. If it is a workday, it counts.

end_date
May 29, 2026 (Fri)

The last day of the period. If it is a workday, it counts. If it is before the start date, the result is negative.

weekend

The days off. Pick a number, or click the day names above the calendar to set them yourself; that writes a 7-character string starting on Monday, such as "0000011" (1 is a day off).

holidays

Dates to leave out besides the weekend. They are treated as a list starting in H2 and written as a range in the formula. Click dates on the calendar to add or remove them.

What is the NETWORKDAYS.INTL function?

=NETWORKDAYS.INTL(start_date, end_date, [weekend], [holidays])

NETWORKDAYS.INTL is NETWORKDAYS with a "days off" argument. Use it to count workdays for six-day weeks or shifts where the days off are not Saturday and Sunday.

Change the weekend to "11 Sunday only" and Saturdays count as workdays. You can also click day names to build any combination.

Arguments

start_date
The first day of the period.
end_date
The last day of the period.
weekend
If omitted, 1 (Saturday and Sunday). Use a number 1–7, 11–17 or a 7-character string starting on Monday.
holidays
Optional. Dates to leave out besides the weekend.

NETWORKDAYS.INTL examples

  1. Example 1. May workdays for a shop closed on Sundays

    =NETWORKDAYS.INTL(DATE(2026,5,1), DATE(2026,5,29), 11, H2:H3)

    29 days minus 4 Sundays and 2 holidays: 23.

  2. Example 2. Example from Microsoft

    =NETWORKDAYS.INTL(DATE(2006,1,1), DATE(2006,2,1), "0010001", {"2006/1/2","2006/1/16"})

    With Wednesdays and Sundays off and two holidays removed: 20.

Common mistakes

FAQ

How is it different from WORKDAY.INTL?
WORKDAY.INTL finds "the date some workdays later"; NETWORKDAYS.INTL counts "the workdays between two dates".
Weekend omitted?
The same as 1 (Saturday and Sunday), so it matches NETWORKDAYS.