Excel NETWORKDAYS.INTL Function

Summary

The Excel NETWORKDAYS.INTL function calculates the number of working days between two dates. NETWORKDAYS.INTL excludes Saturday and Sunday by default, but provides a way to specify which days of the week are considered weekends. The function can optionally exclude a list of holidays supplied as dates. 

Purpose

Get work days between two dates

Return value

A number representing days.

Syntax

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

Arguments

Usage notes

NETWORKDAYS.INTL calculates work days between two dates. Work days exclude weekends (Saturday and Sunday by default) and can optionally exclude holidays. This function is more robust that the NETWORKDAYS function, because it allows you to control which days of the week are considered weekends. The weekend argument is set using the codes listed in the table below.

NETWORKDAYS.INTL can also optionally take into account holidays. For the holidays argument, supply a range that contains holiday dates. These are also treated as non-working days and will not be included in the result.

In the example shown, the following formulas are used:

D4=NETWORKDAYS.INTL(B4,C4)D5=NETWORKDAYS.INTL(B5,C5,17)D6=NETWORKDAYS.INTL(B6,C6,1,B9:B10)
Weekend numberWeekend days
1 (default)Saturday, Sunday
2Sunday, Monday
3Monday, Tuesday
4Tuesday, Wednesday
5Wednesday, Thursday
6Thursday, Friday
7Friday, Saturday
11Sunday only
12Monday only
13Tuesday only
14Wednesday only
15Thursday only
16Friday only
17Saturday only

Notes:

 

Excel NETWORKDAYS.INTL Function

Summary

The Excel NETWORKDAYS.INTL function calculates the number of working days between two dates. NETWORKDAYS.INTL excludes Saturday and Sunday by default, but provides a way to specify which days of the week are considered weekends. The function can optionally exclude a list of holidays supplied as dates. 

Purpose

Get work days between two dates

Return value

A number representing days.

Syntax

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

Arguments

Usage notes

NETWORKDAYS.INTL calculates work days between two dates. Work days exclude weekends (Saturday and Sunday by default) and can optionally exclude holidays. This function is more robust that the NETWORKDAYS function, because it allows you to control which days of the week are considered weekends. The weekend argument is set using the codes listed in the table below.

NETWORKDAYS.INTL can also optionally take into account holidays. For the holidays argument, supply a range that contains holiday dates. These are also treated as non-working days and will not be included in the result.

In the example shown, the following formulas are used:

D4=NETWORKDAYS.INTL(B4,C4)D5=NETWORKDAYS.INTL(B5,C5,17)D6=NETWORKDAYS.INTL(B6,C6,1,B9:B10)
Weekend numberWeekend days
1 (default)Saturday, Sunday
2Sunday, Monday
3Monday, Tuesday
4Tuesday, Wednesday
5Wednesday, Thursday
6Thursday, Friday
7Friday, Saturday
11Sunday only
12Monday only
13Tuesday only
14Wednesday only
15Thursday only
16Friday only
17Saturday only

Notes: