• Home
  • WORKDAY.INTL Function

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.

Syntax

WORKDAY.INTL(start_date, days, [weekend], [holidays])

The WORKDAY.INTL function has the following arguments:

ArgumentDescription
start_dateThe first date of the period entered using the DATE function or other date and time function.
daysA number of nonweekend 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.
weekendAn optional argument, a number or a string that specifies which days to consider weekends. The possible numbers are listed in the table below.
holidaysAn optional argument that specifies which dates besides weekends 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:

NumberWeekend days
1 or omittedSaturday, 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

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 WORKDAY.INTL function.

Examples

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

WORKDAY.INTL Function

Host ONLYOFFICE Docs on your own server or use it in the cloud

Article with the tag:
Browse all tags