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

What Young Riders Should Know About Moving Their Motorcycles Across Cities

What Young Riders Should Know About Moving Their Motorcycles Across Cities

Long-distance travel can involve heavy traffic, changing weather conditions, and rider fatigue. If you are also dealing with the responsibilities of moving home, such as packing belongings or coordinating accommodation, a long ride may add unnecessary pressure to an already busy schedule.

Solving Microsoft Teams Shortcut Error Not Opening

Solving Microsoft Teams Shortcut Error Not Opening

Tired of Microsoft Teams shortcut error preventing you from opening the app? Follow our expert, step-by-step guide with the latest fixes for instant resolution. Works on Windows, Mac & web – no tech skills needed!

Solving Microsoft Teams Task Management Sync Error

Solving Microsoft Teams Task Management Sync Error

Tired of Microsoft Teams Task Management Sync Error halting your workflow? Follow our proven, step-by-step fixes to resolve sync issues fast and restore seamless task collaboration. No tech expertise needed!

Troubleshooting Microsoft Teams Wiki Error Formatting

Troubleshooting Microsoft Teams Wiki Error Formatting

Struggling with Microsoft Teams Wiki Error Formatting? This step-by-step guide reveals proven fixes for common wiki tab issues, ensuring smooth editing and collaboration in Teams. Get back to productive wikis fast!

How to Fix Microsoft Teams Installation Error for Linux

How to Fix Microsoft Teams Installation Error for Linux

Struggling with Microsoft Teams installation error on Linux? Discover step-by-step fixes for Ubuntu, Fedora & more. Resolve dependency issues, crashes, and errors quickly with our ultimate guide. Get Teams running smoothly today!

Solving Microsoft Teams Error Page Not Loading

Solving Microsoft Teams Error Page Not Loading

Struggling with Microsoft Teams "Error Page" not loading? Get step-by-step fixes for desktop, web, and mobile. Solve Microsoft Teams Error Page issues quickly and resume seamless teamwork today.

Solving Microsoft Teams Error Screenshot Issues

Solving Microsoft Teams Error Screenshot Issues

Tired of Microsoft Teams "Error Screenshot" blocking your workflow? Get proven, step-by-step solutions to resolve screenshot errors in Teams instantly and boost productivity. No tech skills needed!

How to Fix Microsoft Teams Error U User

How to Fix Microsoft Teams Error U User

Tired of Microsoft Teams "Error U" User blocking your chats? Get proven, step-by-step fixes to clear cache, reset, and restore seamless collaboration instantly.

Where are Microsoft Teams Registry Keys Located on Windows 11?

Where are Microsoft Teams Registry Keys Located on Windows 11?

Unlock the precise locations of Microsoft Teams registry keys on Windows 11. Step-by-step guide to find, access, and safely tweak them for optimal performance and troubleshooting. Essential for IT pros and Teams enthusiasts.

How to Fix Microsoft Teams Training Error Video Lag

How to Fix Microsoft Teams Training Error Video Lag

Tired of Microsoft Teams "Training Error" Video Lag ruining your meetings? Follow our step-by-step guide with the latest fixes for smooth video calls—no more frustration!