Excel Formula: Calculate Business Days (WORKDAY) (2024)

WORKDAY.INTL Function in Excel

The WORKDAY.INTL function understands the misery that not everyone has Saturday and Sunday as weekendsđŸ€™

You might only have Sunday as your weekend, or Saturday, or Friday, or any other day of the week. I don’t want to say it but for some days, you might have no weekend at all. Varies from employer to employer and nature of work.

Hence the WORKDAY.INTL function allows you to specify the days that you want to be considered as weekends.

By default, it assumes Saturday and Sunday as weekend days (if nothing else is specified). But, if you have a weekend different than these, you can input that as an argument to this function, and Excel will cater to it.

Other than that, it works the same as the WORKDAY function to return a date that’s a certain number of workdays ahead or before the start date.

Syntax of the WORKDAY.INTL function

The syntax of the WORKDAY.INTL function looks like below:

Click to copy

Three of the arguments remain the same as the WORKDAY function:

  • Start_Date – the initial date
  • Days – The number of working days to be added or subtracted from the start date
  • Holidays (optional argument) – list of dates to be excluded from working days calculation

The new argument is the weekend argument, which makes the WORKDAY.INTL function different and better from the WORKDAY function.

  • Weekend (optional argument): There are two ways how you can dictate weekends to Excel.

Step 1) In the form of numbers (weekend codes):

Excel Formula: Calculate Business Days (WORKDAY) (1)

Step 2) Or in the form of a string of seven digits where 0’s represent weekdays and 1’s represent weekends.

So, if you have Tuesday and Wednesday as your weekend, it will be “0110000”, or if you have Friday and Saturday as your weekend, it will become “0000110”

I like the string way better. It rids you of the tension to forget the specific weekend codes. Also, you can make any weekend combination as you like.

Excel Formula: Calculate Business Days (WORKDAY) (2)Kasper Langmann, co-founder of Spreadsheeto

How to use the WORKDAY.INTL function in Excel

Time, we see how to use the WORKDAY.INTL function in Excel.

Step 1) Let’s find 30 days ahead of the start date in Cell A2 by assuming Friday and Saturday as weekends.

Click to copy

Excel Formula: Calculate Business Days (WORKDAY) (3)

The code for Friday and Saturday weekend is 7 hence we have used it. You can otherwise write it as “0000110”.

Step 2) Let’s now use the WORKDAY.INTL function to find the workday 30 days in the past with Sunday & Monday as weekends🔙

Click to copy

Excel Formula: Calculate Business Days (WORKDAY) (4)

Step 3) Let’s also incorporate some holidays into it with a unique combination of weekends i.e. Tuesday, Wednesday, and Thursday.

Click to copy

Excel Formula: Calculate Business Days (WORKDAY) (5)

Since the weekend code list doesn’t offer a code for the weekend combination of Tuesday, Wednesday, and Thursday, we have written it up using the string “0111000”.

Step 4) We can also use it to find workdays starting from today’s date by using the TODAY() function as below.

Click to copy

Excel Formula: Calculate Business Days (WORKDAY) (6)

Step 5) The start date to the WORKDAY.INTL function can be supplied using the DATE function too. Check this out.

Click to copy

Excel Formula: Calculate Business Days (WORKDAY) (7)

These are various ways how you can use the WORKDAY.INTL function to automate workday calculation in Excel 😎

Things to keep in mind while using the WORKDAY and WORKDAY.INTL function

Here are some quick things to keep in mind while you play around with the WORKDAY and the WORKDAY.INTL function in Excel📝

You may see a #VALUE error if:

  • The start date you supply is inappropriate. For example, you supplied it as text in the wrong format as shown below.

Excel Formula: Calculate Business Days (WORKDAY) (8)

  • This could also happen if you supply a non-numeric value as the “days” argument, like here:

Excel Formula: Calculate Business Days (WORKDAY) (9)

Additionally, these functions might pose the #NUM! error if:

  • The holiday argument is invalid i.e., it is not formatted as a date.
  • The weekend argument is invalid.
  • Or, if the start_date together with the days argument results in an invalid date.

Conclusion

The WORKDAY and WORKDAY.INTL functions of MS Excel make workday calculations in Excel so much easier and quicker.

If you enjoyed learning how these functions work in Excel, I am sure you’d be interested in the following Excel tutorials, too. Give them a read.

  • Excel NOW Function Guide: Get Current Date and Time (2024)
  • Day of Week in Excel: WEEKDAY Function Explained (2024)
Excel Formula: Calculate Business Days (WORKDAY) (2024)

References

Top Articles
Latest Posts
Article information

Author: Stevie Stamm

Last Updated:

Views: 6210

Rating: 5 / 5 (60 voted)

Reviews: 83% of readers found this page helpful

Author information

Name: Stevie Stamm

Birthday: 1996-06-22

Address: Apt. 419 4200 Sipes Estate, East Delmerview, WY 05617

Phone: +342332224300

Job: Future Advertising Analyst

Hobby: Leather crafting, Puzzles, Leather crafting, scrapbook, Urban exploration, Cabaret, Skateboarding

Introduction: My name is Stevie Stamm, I am a colorful, sparkling, splendid, vast, open, hilarious, tender person who loves writing and wants to share my knowledge and understanding with you.