The WORKDAY.INTL Functionis categorized under Excel Date and Time functions. It is a robust modification of the WORKDAY function, as it works with customizable weekend parameters. WORKDAY.INTL will provide us with a date that is N working days in the future or in the past and allows us to determine dates that would be weekends. We can also use the function to add or subtract days from a given date.
In financial analysis, the WORKDAY.INTL function will be useful in calculating the number of workdays worked by employees, the due date of invoices, delivery time expected for an order, or a debtor aging schedule. The most important use is that we can customize weekends, so we can use it across countries with different weekends.
Start_date (required function) – This is a date that represents start date.
Days (required function) – The number of workdays to be added to start_date. If we enter a positive value, it will give us a future date, while a negative value will yield a past date.
Weekend (optional argument) – This indicates which days of the week are weekends and are not to be considered as working days. Weekend is a weekend number or string that specifies when weekends occur. The weekend number values indicate the following weekend days:
1 or omitted
Weekend string – This is a series of seven 0’s and 1’s that represents seven days of the week, beginning with Monday. 1 represents a non-working day and 0 represents a workday. For example:
“0000011” – Saturday and Sunday are weekends.
“1000001” – Monday and Sunday are weekends.
[holidays] (optional argument) – This specifies an array of dates that are not included as workdays. The list can either be a range of cells that contain the dates or an array constant of the serial numbers that represent the dates. The ordering of dates or serial values in holidays can be arbitrary.
In entering dates, Microsoft recommends that the start_date and [holidays] arguments should be entered as either:
References to cells containing dates
Dates returned from formulas
If we input date arguments as text, there is a risk that Excel may misinterpret them, depending on the date system or date interpretation settings on your computer.
How to use the WORKDAY.INTL Function in Excel?
The WORKDAY function was introduced in Excel 2007 and is available in all subsequent Excel versions. To understand the uses of the function, let’s consider an example:
Suppose we wish to add 30 days to a particular workday and subtract 20 days from a workday. The weekends here are Friday and Saturday.
The formula used was:
Here, we provided Holidays as the named range holidays (E6:E8), so holidays are taken into account as well. Excel is concerned only with dates and not with what holiday it is. That is, it is not concerned with the actual name of the holiday.
We get the results below:
The above formula tells us the first working day of the month from December 2017 to February 2019.
A few notes about the WORKDAY.INTL Function
#NUM! error – Occurs when:
The start_date provided and the given days argument results in an invalid date; or
The given weekend argument is an invalid argument.
If the days provided are not an integer, they will be truncated.
MS Excel stores dates as sequential serial numbers so they can be used in calculations. By default, January 1, 1900 is serial number 1, and January 1, 2018 is serial number 43101, because it is 43,101 days after January 1, 1900.
#VALUE! error – Occurs when:
The given start_date or any of the values provided in the [holidays] array are not valid dates.
The given days argument is non-numeric.
The given [weekend] argument is an invalid text string.
Thanks for reading CFI’s guide to Excel WORKDAY.INTL function. By taking the time to learn and master these functions, you’ll significantly speed up your financial modeling and analysis. To learn more, check out these additional CFI resources:
To master the art of Excel, check out CFI’s FREE Excel Crash Course, which teaches you how to become an Excel power user. Learn the most important formulas, functions, and shortcuts to become confident in your financial analysis.