How to use the WORKDAY function in Microsoft Excel

In Microsoft Excel , the WORKDAY function is a date and time function that returns the date before and after a specified number of business days. Business days do not include weekends or any days that are designated as holidays. People can use the WORKDAY function to calculate invoice due dates, estimated delivery times, or the number of days a job will take.

What is the formula and syntax for the WORKDAY function in Excel?

The formula for the WORKDAY function is:

WORKDAY(start_date, days, [holidays])

The syntax for the WORKDAY function is explained as follows:

  • Start_date: Start date. This is a required parameter.
  • Days: The number of non-weekend or non-holiday days before or after the start date. This is also a required parameter.
  • Holidays: Days to be excluded from the work schedule, such as national holidays.

How to use the WORKDAY function in Excel

To use the WORKDAY function in Excel, follow the steps below:

Launch Microsoft Excel.

Create a table or use an existing table.

How to use the WORKDAY function in Microsoft Excel
Create a table or use an existing table

First, we will calculate the first day in the table using the syntax with only start_date and days.

Enter the formula =WORKDAY(A2, B2) in the cell where you want the result to be placed.

How to use the WORKDAY function in Microsoft Excel
Enter the formula =WORKDAY(A2, B2)

Then press Enter key on your keyboard to see the result.

How to use the WORKDAY function in Microsoft Excel
Press Enter to see the results

For the second day in the table, for example you want to exclude holidays next week from working days.

So, type =WORKDAY(A3, B3, F2) into the cell.

How to use the WORKDAY function in Microsoft Excel
Enter =WORKDAY(A3, B3, F2)

Then press Enter.

Other ways to use the WORKDAY function in Excel

There are two other methods to use the WORKDAY function in Excel.

How to use the WORKDAY function in Microsoft Excel
Click the fx button

The first method is to click the fx button at the top left of the Excel worksheet.

The Insert Function dialog box appears.

Inside the dialog box, in the Select a Category section , select Date and Time from the list box.

In the Select a Function section , select the WORKDAY function from the list.

Then click OK.

The Function Arguments dialog box opens.

How to use the WORKDAY function in Microsoft Excel
The Function Arguments dialog box opens.

In the Start_date field , enter in cell A3.

In the Days section , enter B3 in the box.

In the Holidays section , type F2 in the box.

Then click OK to see the results.

Another method is to click the Formulas tab and click the Date and Time button in the Function Library group.

In the list, select WORKDAY.

How to use the WORKDAY function in Microsoft Excel
Select WORKDAY

The Function Arguments dialog box appears.

Follow the steps in method one for Function Arguments.

Good luck!

Leave a Comment

Troubleshooting Microsoft Teams Download Error on Macbook

Troubleshooting Microsoft Teams Download Error on Macbook

Facing Microsoft Teams "Download Error" on MacBook? Discover proven troubleshooting steps to resolve download failures quickly, from cache clears to reinstalls, and get back to smooth teamwork.

Troubleshooting Microsoft Teams Where is Teams Folder Error

Troubleshooting Microsoft Teams Where is Teams Folder Error

Tired of the frustrating Microsoft Teams "Where is Teams" Folder Error? Discover proven, step-by-step troubleshooting fixes to resolve it quickly and restore smooth teamwork. Latest methods included!

How to Fix Microsoft Teams JavaScript Error on Desktop App

How to Fix Microsoft Teams JavaScript Error on Desktop App

Frustrated by Microsoft Teams JavaScript Error on desktop app? Discover proven steps to fix it fast: clear cache, update, reset, and reinstall. Get back to seamless collaboration in minutes!

How to Fix Microsoft Teams Guest Login Error

How to Fix Microsoft Teams Guest Login Error

Struggling with Microsoft Teams "Guest Login" Error? Discover step-by-step fixes, from quick cache clears to admin settings, to resolve guest access issues fast and collaborate seamlessly. Updated with the latest tips!

How to Fix Microsoft Teams For PC Download Error

How to Fix Microsoft Teams For PC Download Error

Tired of the Microsoft Teams "For PC" download error blocking your work? Follow our proven, step-by-step guide to resolve it quickly and get Teams running smoothly on your PC today.

Solving Microsoft Teams Windows 7 Login Error

Solving Microsoft Teams Windows 7 Login Error

Struggling with Microsoft Teams "Windows 7" login error? Discover step-by-step fixes for this frustrating issue on Windows 10/11. Clear cache, edit registry, and more – get back to seamless collaboration today!

How to Fix Microsoft Teams Error Code 0x80070005 (2026 Guide)

How to Fix Microsoft Teams Error Code 0x80070005 (2026 Guide)

Tired of Microsoft Teams Error Code 0x80070005 blocking your meetings? Follow this 2026 guide with step-by-step fixes for access denied issues. Get Teams running smoothly in minutes!

How to Install the Microsoft Teams Add-in for Outlook 2026

How to Install the Microsoft Teams Add-in for Outlook 2026

Master the installation of the Microsoft Teams Add-in for Outlook 2026 effortlessly. Boost your productivity with seamless scheduling and meetings. Follow our proven, up-to-date steps for instant success!

How to Fix Microsoft Teams License Error 2026

How to Fix Microsoft Teams License Error 2026

Struggling with Microsoft Teams "License Error" 2026? Discover proven, step-by-step solutions to resolve it fast. Clear cache, check licenses, and get back to seamless collaboration—no IT help needed!

The Best Exercises for 50+

The Best Exercises for 50+

Whether youre in your 50s, 60s, or even 70s, its not too late to prioritize your health and put yourself first. Here are the best exercises for people 50 and older.

Solving Microsoft Teams Error Caa50024 on Windows 10/11

Solving Microsoft Teams Error Caa50024 on Windows 10/11

Struggling with Microsoft Teams Error Caa50024 on Windows 10/11? Follow our step-by-step fixes to resolve crashes and launch issues quickly. Latest proven solutions for seamless teamwork.

How to Fix Microsoft Teams Login Error AADSTS50011

How to Fix Microsoft Teams Login Error AADSTS50011

Stuck with Microsoft Teams login error AADSTS50011? Discover proven, step-by-step fixes to resolve the reply URL mismatch issue and log in seamlessly. No tech skills needed!

How to Fix Microsoft Teams Win 7 Compatibility Error

How to Fix Microsoft Teams Win 7 Compatibility Error

Tired of the frustrating Microsoft Teams "Win 7" Compatibility Error blocking your meetings? Get instant fixes with our step-by-step guide, including workarounds for older Windows versions. Resolve it now and stay connected!

Solving Microsoft Teams Error R Restart

Solving Microsoft Teams Error R Restart

Tired of the endless Microsoft Teams "Error R" restart loop? Get step-by-step fixes to solve Microsoft Teams Error R quickly. Clear cache, reset, reinstall & more for smooth collaboration. Works on Windows, Mac & web.

Solving Microsoft Teams Bị lỗi Troubleshooting Guide

Solving Microsoft Teams Bị lỗi Troubleshooting Guide

Struggling with Microsoft Teams "Bị lỗi" issues? Discover proven fixes for crashes, sign-in errors, and more in this comprehensive troubleshooting guide. Get back to seamless collaboration!