Get instant live expert help with Excel or Google Sheets
“My Excelchat expert helped me in less than 20 minutes, saving me what would have been 5 hours of work!”

#### Post your problem and you’ll get Expert help in seconds.

Your message must be at least 40 characters
Our professional Expert are available now. Your privacy is guaranteed.

# Excel WORKDAY Function

We can use the WORKDAY function to know if a day is a workday or not. This function calculates defined “workdays” dates in the future or past. It automatically excludes weekend dates and (optionally), holidays. The steps below will walk through the process.

Figure 1: How to Use Excel WORKDAY Function

## Syntax

`=WORKDAY(start_date, days, [holidays])`

• Start_date: The specified date to start from
• Days: These are working days before or after start_date.
• Holidays: [optional] A list of dates that should be considered non-work days.

## Formula

`=WORKDAY(A4,B4,\$A\$10:\$A\$11)`

## Setting up the Data

• We will set up data by inputting our Dates in Column A
• Column B contains the days we want after the start date and before the start date. A negative value as in Cell B6 signifies that we want a day before the start date
• Our result will be returned by the WORKDAY function in Column C
• Holiday dates are in Cell A10 and Cell A11

Figure 2: Setting up the Data

## Note:

All dates in Column A have been formatted from month/date/year (e.g. 21/1/2019) to what is in figure 2. We can do this by selecting the range (A4:A11) where we will put the dates.

• We will right-click and click on format cells
• We will select the custom option and input ddd, mmm/d/yyyy in the “type” section

Figure 3: Formatting the Cells

• We will press OK

## Workday Function

• We will click on Cell C4
• We will insert the formula below into the cell
`=WORKDAY(A4,B4,\$A\$10:\$A\$11)`
• We will press the enter key

Figure 4: Result of Date is a Workday for Cell C4

• We will click on Cell C4 again
• We will double click on the fill handle tool which is the small plus sign you see at the bottom right of Cell C4. Select and drag down to copy the formula to other cells.

Figure 5: Result of Using the WORKDAY Function

## Explanation

`=WORKDAY(A4,B4,\$A\$10:\$A\$11)`

This formula returns as WORKDAYS in the past or future.

In Cell C4, the formula sees that the start date is a Friday. Because we have specified the days in the future as 1 in Cell B4, the next day ought to be Saturday. However, this function automatically skips weekends and the next WORKDAY is therefore, MONDAY.

## Instant Connection to an Expert through our Excelchat Service

Most of the time, the problem you will need to solve will be more complex than a simple application of a formula or function. If you want to save hours of research and frustration, try our live Excelchat service! Our Excel Experts are available 24/7 to answer any Excel question you may have. We guarantee a connection within 30 seconds and a customized solution within 20 minutes.

### Did this post not answer your question? Get a solution from connecting with the expert.

Solution examples
I need to create a formula where column D becomes the date in column C + 5 business days when I enter a date into column C
Solved by X. Q. in 14 mins
need help with the different sheets and formula IF(A4=B4,0,NETWORKDAYS(A4+1,B4,\$E\$9:\$E\$42) +0.5*(INT((+B4-A4+1)/7)+IF(WEEKDAY(A4+1)+MOD (B4-A4-1,7)>=7,1,0)))
Solved by O. D. in 11 mins
i have this formula currently which works but not if I want it for every day - any ideas ?? (NETWORKDAYS.INTL(L1362,M1362,11,BH!A:A)-1)*("17:30"-"8:30")+IF(NETWORKDAYS.INTL(M1362,M1362,11,BH!A:A),MEDIAN(MOD(M1362,1),"8:30","17:30"),"17:30")-MEDIAN(NETWORKDAYS.INTL(L1362,L1362,11,BH!A:A)*MOD(L1362,1),"8:30","17:30")
Solved by A. D. in 28 mins