Home
» Wiki
»
How to use the WORKDAY function in Microsoft Excel
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.
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.
Enter the formula =WORKDAY(A2, B2)
Then press Enter key on your keyboard to see the result.
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.