Articles with the tag:
Close
Changelog
Close
Articles with the tag:
Close
Try in the cloud
Try in the cloud

NETWORKDAYS.INTL Function

The NETWORKDAYS.INTL function is one of the date and time functions. It is used to return the number of whole workdays between two dates using parameters to indicate which and how many days are weekend days.

Syntax

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

The NETWORKDAYS.INTL function has the following arguments:

Argument Description
start_date The first date of the period, entered using the DATE function or other date and time function.
end_date The last date of the period, entered using the DATE function or other date and time function.
weekend An optional argument, a number or a string that specifies which days to consider weekends. The possible numbers are listed in the table below.
holidays An optional argument that specifies which dates in addition to weekend are nonworking. You can enter them using the DATE function or other date and time function or specify a reference to a range of cells containing dates.

The weekend argument can be one of the following:

Number Weekend days
1 or omitted Saturday, Sunday
2 Sunday, Monday
3 Monday, Tuesday
4 Tuesday, Wednesday
5 Wednesday, Thursday
6 Thursday, Friday
7 Friday, Saturday
11 Sunday only
12 Monday only
13 Tuesday only
14 Wednesday only
15 Thursday only
16 Friday only
17 Saturday only

Notes

A string that specifies weekend days must contain 7 characters. Each character represents a day of the week, starting from Monday. 0 represents a workday, 1 represents a weekend day. E.g. "0000011" specifies that weekend days are Saturday and Sunday. The string "1111111" is not valid.

How to apply the NETWORKDAYS.INTL function.

Examples

The figure below displays the result returned by the NETWORKDAYS.INTL function.

NETWORKDAYS.INTL Function

Return to previous page
Try now for free Try and make your decision No need to install anything
to see all the features in action