Skip to content

NETWORKDAYS.INTL

Counts working days between two dates with a weekend you choose, from a preset code or a day-by-day pattern, and skips listed holidays.

Syntax

=NETWORKDAYS.INTL(, , , )

Date and time

Excel 2010 and later.

Try it

Edit the formula in C2 or change the inputs. The sheet recalculates as you type.

C2
A
B
C
1
Start
End
Working days
2
03-Mar-2025
14-Mar-2025
11
3

C2 =NETWORKDAYS.INTL(A2,B2,11) returns 11

How NETWORKDAYS.INTL works

NETWORKDAYS.INTL counts working days between two dates, like NETWORKDAYS, but you choose which days of the week are the weekend. Use it for businesses that work Sunday to Thursday, a six-day week, or part-time schedules. =NETWORKDAYS.INTL(A2,B2,11) counts Monday to Saturday.

The weekend argument

There are two ways to say which days are off.

A weekend code. A number from Excel's list selects one or two days off:

  • 1 (or leaving it out): Saturday and Sunday
  • 2: Sunday and Monday, up to 7: Friday and Saturday (each pair of consecutive days)
  • 11: Sunday only, up to 17: Saturday only (each single day)

A seven-character string. Each character is one day of the week, starting on Monday and ending on Sunday. 1 is a day off and 0 is a working day. "0000011" is the standard Saturday and Sunday weekend, "0000110" is Friday and Saturday, and "0101011" works only Monday, Wednesday and Friday. The string is the only way to give non-adjacent days off, so use it for part-time patterns. The string must be exactly seven characters of 0 and 1.

Start, end and holidays

Both start_date and end_date are counted when they are working days, exactly as in NETWORKDAYS. The optional holidays range removes extra days. Keep holidays as real dates, in a fixed range, such as $F$2:$F$12, and note that a holiday falling on a weekend day in your pattern is not subtracted twice.

When to use which function

  • Standard Saturday and Sunday weekend: NETWORKDAYS is shorter and works in every Excel version.
  • Any other weekend: NETWORKDAYS.INTL.
  • Reverse question, the date after N working days: WORKDAY.INTL.

Examples of schedules

  • Six-day week: =NETWORKDAYS.INTL(A2,B2,11)
  • Friday and Saturday weekend: =NETWORKDAYS.INTL(A2,B2,7)
  • Part-time Monday, Wednesday, Friday: =NETWORKDAYS.INTL(A2,B2,"0101011")
  • Only weekend days count (an on-call rota): =NETWORKDAYS.INTL(A2,B2,"1111100")

NETWORKDAYS.INTL ignores time of day, and counts days only. It does not know about your local public holidays, so you need to list them.

Arguments

start_date
The first day of the period. If it is a working day, it is counted.
end_date
The last day of the period. If it is a working day, it is counted. An end date before the start date gives a negative result.
weekendoptional
Which days are days off. A number from the preset list, or a seven-character string. 1 or omitted: Saturday and Sunday. 2: Sunday and Monday. 7: Friday and Saturday. 11: Sunday only. 17: Saturday only. A string starts on Monday, with 1 for a day off and 0 for a working day: "0000011" is Saturday and Sunday.
holidaysoptional
A range of dates to treat as extra days off, such as F2:F10. Use real dates. A holiday that already falls on a weekend changes nothing.

Examples

Each example is a live sheet. Change the inputs or the formula and watch the result.

Example 1

Six-day working week (Sunday off)

C2 =NETWORKDAYS.INTL(A2,B2,11)

Result: 11

Weekend code 11 makes only Sunday a day off. Of the 12 calendar days from 3 to 14 March, only Sunday 9 March is removed.

C2
A
B
C
1
Start
End
Working days
2
03-Mar-2025
14-Mar-2025
11
3

C2 =NETWORKDAYS.INTL(A2,B2,11) returns 11

Example 2

Friday and Saturday weekend

C2 =NETWORKDAYS.INTL(A2,B2,7)

Result: 9

Code 7 removes Fridays and Saturdays. Fridays 7 and 14 March and Saturday 8 March come out of the 12 days, leaving 9.

C2
A
B
C
1
Start
End
Working days
2
03-Mar-2025
14-Mar-2025
9
3

C2 =NETWORKDAYS.INTL(A2,B2,7) returns 9

Example 3

A part-time pattern with a text string

C2 =NETWORKDAYS.INTL(A2,B2,"0101011")

Result: 6

The string runs Monday to Sunday: 0 is a working day, 1 is a day off. This person works Monday, Wednesday and Friday, which is 6 days across the two weeks.

C2
A
B
C
1
Start
End
Days worked
2
03-Mar-2025
14-Mar-2025
6
3

C2 =NETWORKDAYS.INTL(A2,B2,"0101011") returns 6

Example 4

Six-day week with a holiday

C2 =NETWORKDAYS.INTL(A2,B2,11,E2)

Result: 10

The six-day week gives 11 working days, and the Monday holiday removes one, leaving 10.

C2
A
B
C
D
E
1
Start
End
Working days
Holiday
2
03-Mar-2025
14-Mar-2025
10
10-Mar-2025
3

C2 =NETWORKDAYS.INTL(A2,B2,11,E2) returns 10

Your turn.

Solve it in the sheet. Every answer is checked, with hints if you need them.

Task 1 of 2

In C2, count the working days from the start to the end date for a six-day week where only Sunday is off. Fill it down to C4.

Answer in C2, then it fills down to C4.

C2
A
B
C
D
E
F
1
Start
End
Six-day week
Fri-Sat weekend
2
03-Mar-2025
14-Mar-2025
3
17-Mar-2025
28-Mar-2025
4
31-Mar-2025
11-Apr-2025
5

Common mistakes

  • The weekend string runs Monday to Sunday, not Sunday to Saturday. "0000011" is Saturday and Sunday, and "1000001" is Monday and Sunday.
  • The string must be exactly seven characters of 0 and 1. A string of the wrong length, or one with other characters, returns #VALUE!.
  • Weekend codes 8 to 10 don't exist, and neither do codes above 17. The valid codes are 1 to 7 and 11 to 17, so any other number returns #NUM!.
  • A weekend pattern in a cell works only if the cell holds text. A number such as 0000011 loses its leading zeros, so format the cell as Text or type it with a leading apostrophe.
  • Holidays must be real dates. Text dates are ignored without a warning.

Questions people ask

How do I count working days with a Friday and Saturday weekend?

Use `=NETWORKDAYS.INTL(A2,B2,7)`. Code 7 sets Friday and Saturday as the weekend. The pattern `"0000110"` does the same.

How do I count a six-day week?

Use code 11 for Sunday off, or 17 for Saturday off: `=NETWORKDAYS.INTL(A2,B2,11)`.

How does the weekend string work?

It has seven characters, one for each weekday from Monday to Sunday. Write 1 for a day off and 0 for a working day. `"0101011"` works Monday, Wednesday and Friday only.

Is NETWORKDAYS.INTL the same as NETWORKDAYS?

With weekend code 1, yes: both treat Saturday and Sunday as days off. NETWORKDAYS.INTL adds the option to change the weekend.

Does it work in Excel 2007?

No. NETWORKDAYS.INTL arrived in Excel 2010. In Excel 2007 use NETWORKDAYS, which has a fixed Saturday and Sunday weekend.

Learn NETWORKDAYS.INTL in a real sheet.

Tracks take you from the basics to modelling, one graded exercise at a time.