# 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.

The NETWORKDAYS.INTL function syntax is:

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

where

start_date is the first date of the period, entered using the Date function or other date and time function.

end_date is the last date of the period, entered using the Date function or other date and time function.

weekend is an optional argument, a number or a string that specifies which days to consider weekends. The possible numbers are listed in the table below.

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

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.

holidays is 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.

To apply the NETWORKDAYS.INTL function,

1. select the cell where you wish to display the result,
2. click the Insert function icon situated at the top toolbar,
   or right-click within a selected cell and select the Insert Function option from the menu,
   or click the icon situated at the formula bar,
3. select the Date and time function group from the list,
4. click the NETWORKDAYS.INTL function,
5. enter the required arguments separating them by commas,
6. press the Enter button.

The result will be displayed in the selected cell.