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

Desk Decorating Ideas for a Spooky Office Cubicle

Desk Decorating Ideas for a Spooky Office Cubicle

Create a spooky office cubicle with Halloween desk decor ideas that keep your workspace usable, tidy, and mindful of workplace safety.

Pop Culture Costume Ideas That Will Dominate Halloween 2026

Pop Culture Costume Ideas That Will Dominate Halloween 2026

Plan a recognizable Halloween 2026 look with pop culture costumes inspired by Spider-Man, Supergirl, Toy Story 5, Moana, Mario, and Wednesday.

Leftover Halloween Candy and Pumpkins: What to Do Next

Leftover Halloween Candy and Pumpkins: What to Do Next

Sort leftover Halloween candy safely, share or repurpose sealed treats, and choose food use or compost for pumpkins based on their condition.

What Not to Wear: A Guide to Professional Workplace Halloween Etiquette

What Not to Wear: A Guide to Professional Workplace Halloween Etiquette

Compare workplace Halloween costume choices by respect, dress code, mobility, and safety—and learn when a subtle accessory or a policy check is the better option.

Couples Costume Ideas for 2026: Iconic Pairs and Clever Tropes

Couples Costume Ideas for 2026: Iconic Pairs and Clever Tropes

Find a couples costume that fits your style, budget, and comfort level, from Addams Family classics to original inside-joke duos.

Last-Minute High School Halloween Costumes That Take 5 Minutes

Last-Minute High School Halloween Costumes That Take 5 Minutes

Need a last-minute high school Halloween costume? Compare 10 easy closet-based ideas by prep time, comfort, school-day practicality, and simple safety checks.

When to Start Decorating for Halloween in 2026

When to Start Decorating for Halloween in 2026

Use a simple 2026 Halloween decorating timeline for indoor décor, outdoor displays, and fresh pumpkins, with practical adjustments for weather and events.

5 Halloween Cocktails That Are Easy to Serve at Your 2026 Bash

5 Halloween Cocktails That Are Easy to Serve at Your 2026 Bash

Mix five vivid, approachable Halloween cocktails with measured recipes, simple prep tips, and an alcohol-free option for your party guests.

15 HR-Approved Office Halloween Costumes for 2026

15 HR-Approved Office Halloween Costumes for 2026

Find 15 office-friendly Halloween costume ideas for 2026, with practical checks for dress codes, respectful themes, comfort, and workplace safety.

Spooky but Sweet: Halloween Party Ideas for Elementary Schools

Spooky but Sweet: Halloween Party Ideas for Elementary Schools

Plan a fun elementary school Halloween party with easy crafts, games, inclusive treats, costume tips, and a sample 75-minute classroom schedule.