describe
The WORKDAY.INTL function returns the serial number of the date before or after the specified number of weekdays with a custom weekend parameter. The weekend parameter indicates which and how many days are weekends. Weekends and any days designated as holidays are not considered business days.
grammar
WORKDAY.INTL (start_date, days, [weekend], [holidays])
debate
Argument | describe | Required/Optional |
---|---|---|
Start_date | The start date, truncated to integer. | Required |
Days | The number of business days before or after start_date.
Day offsets are truncated to integers. |
Required |
Weekend | Indicates the days of the week that are weekends and not considered weekdays. weekend is a weekend number or string that specifies when the weekend occurs. Check out the weekend days table given below. The weekend string value is seven characters long, and each character in the string represents a day of the week, starting with Monday. 1 means a non-working day, 0 means a working day. Only characters 1 and 0 are allowed in the string. |
Optional |
Holidays | An optional set of one or more dates that are to be excluded from the working day calendar. Holidays shall be a range of cells that contain the dates, or an array constant of the serial values that represent those dates. The ordering of dates or serial values in holidays can be arbitrary. | Optional |
Notes
-
If start_date is outside the range of the current date base value, WORKDAY.INTL returns #NUM!. wrong value.
-
WORKDAY.INTL returns #NUM! if any date in the holiday is outside the range of the current date base value. wrong value.
-
If start_date plus day-offset produces an invalid date, WORKDAY.INTL returns #NUM!. wrong value.
-
If weekend is an invalid number, WORKDAY.INTL returns the #NUM! error value.
-
If the weekend string has an invalid length or contains invalid characters, WORKDAY.INTL returns #VALUE!. wrong value.
-
WORKDAY.INTL returns the #VALUE! error value if none of the values in the start date or holidays array are valid dates.
-
If the day is not a number, WORKDAY.INTL returns the #VALUE! error value.
applicability
Excel 2010,Excel 2013,Excel 2016