WORKDAY.INTL Function
The WORKDAY.INTL function is one of the date and time functions. It is used to return the date before or after a specified number of workdays with custom weekend parameters; weekend parameters indicate which and how many days are weekend days.
The WORKDAY.INTL function syntax is:
WORKDAY.INTL(start_date, days, [, weekend], [, holidays])
where
start_date is the first date of the period entered using the Date function or other date and time function.
days is a number of workdays before or after start_date. If the days has the negative sign, the function will return the date which comes before the specified start_date. If the days has the positive sign, the function will return the date which follows after the specified start_date.
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 WORKDAY.INTL function,
- select the cell where you wish to display the result,
- 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,
- select the Date and time function group from the list,
- click the WORKDAY.INTL function,
- enter the required arguments separating them by commas,
- press the Enter button.
The result will be displayed in the selected cell.
Alla pagina precedente