Skip to main content

Excel WORKDAY.INTL function

doc workday.intl function 1

If you want to follow along with this tutorial, please download the example spreadsheet.

doc sample

Description

The WORKDAY.INTL function adds a specified number of workdays to a start date and returns a workday in the future or past. Also, it can exclude custom holidays when calculating as you need.

Syntax and arguments

Formula syntax

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

doc workday.intl function 2

Arguments

  • Start_date: Required. The start date that is used to calculate the workday.
  • Days: Required. A number of workdays that you want to add to the start date. It can be negative or positive. If you want to calculate the workday in past, using negative number, if return the future workday, using positive number.
  • Weekend: Optional. A number or a serial number determines which days of week are considered as weekends in the formula. It takes Saturday and Sunday as weekends by default.
  • Holidays: Optional. A list of dates or an array constant of serial numbers which are considered as non-workday.

Weekend Codes

doc workday.intl function 7

Number Weekend Days
1(default) Saturday and Sunday
2 Sunday and Monday
3 Monday and Tuesday
4 Tuesday and Wednesday
5 Wednesday and Thursday
6 Thursday and Friday
7 Friday and Saturday
11 Sunday only
12 Monday only
13 Tuesday only
14 Wednesday only
15 Thursday only
16 Friday only
17 Saturday only

Weekend String

A series of seven zeros and ones which are used to indicates weekend days. Each character indicates one weekday, the first one is Monday, the second one is Tuesday, the third one is Wednesday, the last one is Sunday. For example:

Weekend String Formula Weekend Days
"0000000" WORKDAY.INTL(B3,C3,"0000000") No weekends
"1000000" WORKDAY.INTL(B3,C3,"1000000") Monday Only
"1100000" WORKDAY.INTL(B3,C3,"1100000") Monday and Tuesday
"1000011" WORKDAY.INTL(B3,C3,"1000011") Saturday, Sunday and Monday

Return Value

The WORKDAY.INTL function returns a date in serial number format.

Remarks

1.If the argument days is a decimal value, the WORKDAY function only adds the integer number to the start_date.

2. While referring a range of cells as argument holidays, you’d better use the absolute reference or a range name, otherwise, when you drag fill handle over cells to use a formula, the reference will be changed.

Errors

#NUM! error occurs when:

  • Invalid argument start_date;
  • Invalid argument days;
  • Invalid argument weekends.

#VALUE! error occurs when:

  • Argument start_date, holidays are invalid dates;
  • Argument days is non-numeric;
  • Argument weekend is invalid text string.

Usage and Examples

Example 1 Calculate the future or past workday with default weekends and without holidays

To get the working day based on the given start date in column B and the days in column C, please use below formula:

=WORKDAY.INTL(B3,C3)

doc workday.intl function 6

Press Enter key and drag the autofill handle over the cells you need to apply this formula, and get serial numbers.
doc workday.intl function 3

Then format the serial numbers as date format as you need. Keep the serial numbers selected, click Home > Number Format to select Short Date or Long Date from the drop-down list.
doc workday.intl function 4
doc workday.intl function 5

Example 2 Calculate the workday with custom weekends and excludes holidays

For example, start dates list in the column B, the days list in the column C, holidays are in the column F, and weekend days are Monday and Tuesday, please use below formula:

=WORKDAY.INTL(B3,C3,3,$F$3:$F$5)

doc workday.intl function 11

Press Enter key and drag the autofill handle over the cells you need to apply this formula, and get serial numbers.
doc workday.intl function 8

Then format the serial numbers as date format as you need. Keep the serial numbers selected, click Home > Number Format to select Short Date or Long Date from the drop-down list.
doc workday.intl function 9
doc workday.intl function 10


Relative Functions:

  • Excel Days Function
    To calculate the number of days between two given dates, the DAYS function in Excel can help you.

  • Excel DAYS360 Function
    DAYS360 function can help you to return the number of days between two dates based on a 360-day year, which is considered to have 30 days in each month.

  • Excel WEEKNUM Function
    The WEEKNUM in Excel returns the week number of the given date in a year, which starts counting weeks from January 1.

  • Excel WORKDAY;Function
    The WORKDAY is used to add a specified number of workdays to a started date and returns the future or past date in a serial number format.


The Best Office Productivity Tools

Kutools for Excel - Helps You To Stand Out From Crowd

🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions
Popular Features: Find, Highlight or Identify Duplicates  |  Delete Blank Rows  |  Combine Columns or Cells without Losing Data  |  Round without Formula ...
Super VLookup: Multiple Criteria  |  Multiple Value  |  Across Multi-Sheets  |  Fuzzy Lookup...
Adv. Drop-down List: Easy Drop Down List  |  Dependent Drop Down List  |  Multi-select Drop Down List...
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  Compare Columns to Select Same & Different Cells ...
Featured Features: Grid Focus  |  Design View  |  Big Formula Bar  |  Workbook & Sheet Manager | Resource Library (Auto Text)  |  Date Picker  |  Combine Worksheets  |  Encrypt/Decrypt Cells  |  Send Emails by List  |  Super Filter  |  Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters ...)  |  50+ Chart Types (Gantt Chart ...)  |  40+ Practical Formulas (Calculate age based on birthday ...)  |  19 Insertion Tools (Insert QR Code, Insert Picture from Path ...)  |  12 Conversion Tools (Numbers to Words, Currency Conversion ...)  |  7 Merge & Split Tools (Advanced Combine Rows, Split Excel Cells ...)  |  ... and more

Kutools for Excel Boasts Over 300 Features, Ensuring That What You Need is Just A Click Away...

Description


Office Tab - Enable Tabbed Reading and Editing in Microsoft Office (include Excel)

  • One second to switch between dozens of open documents!
  • Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
  • Increases your productivity by 50% when viewing and editing multiple documents.
  • Brings Efficient Tabs to Office (include Excel), Just Like Chrome, Edge and Firefox.
Comments (0)
No ratings yet. Be the first to rate!
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations