Go Back

How to Generate a Series of Dates by Workdays in Excel

Working with dates is one of the most challenging aspects for many. However, Excel has made working with dates simpler over time. One of these features offered by Excel is to generate weekdays excluding weekends. We can do it using the WORKDAY function. In this tutorial, we will be learn how to get a series of dates by workdays in Excel.

Figure 1. Example of How to Get a Series of Dates by Workdays

Generic Formula


How the Function Works

Here, we are using the WORKDAY function. It extracts the next working date from the date provided. The arguments used are:

  • start_date – This argument is required. It is the starting day from which WORKDAY starts generating dates.
  • days – This argument is also required. We will use 1 here. It represents the code of weekend dates. 1 stands for Saturday and Sunday.
  • [holidays] – This one argument is optional. It represents the non-working dates. Such as, federal or floating holidays.

The WORKDAY function extracts the next working day from the starting date. We can provide custom holidays to skip in [holidays] argument. This will skip the dates for those days.

Setting up Data

We will be using a data set with a starting date in column A.

Figure 2. The Sample Data Set

To generate a series of dates by workdays, we need to:

  • Go to cell A3.
  • Assign the formula =WORKDAY(A2,1) to A3.
  • Press Enter.
  • Drag the formula from cells A3 to A6.

Figure 3. Applying the Formula to the Data

After completing all this we will get a series of dates by workdays.


  • If you have different weekends than Saturday and Sunday, you need to customize the day. The default provides 1.
  • You can solve the previous example by the WEEKDAY function. We need to assign the formula =IF(WEEKDAY(A2)=6,A2+3,A2+1) to A3.

Figure 4. Example of Using the WEEKDAY Function

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.

Another blog reader asked this question today on Excelchat:
Here are some problems that our users have asked and received explanations on

i would like to know if there is any way in excel to calculate days between dates and the answer should be devided by month for an example between jan 12 2018 to feb 8 2018 there is 13 workdays in jan and 6 workdays in feb
Solved by Z. L. in 16 mins
I have a data series in column of dates and counts. Not all dates have a count. I want to populate/fill in the series with the dates without a count so i can easily aggregate the data by week/month, etc. How can I do this?
Solved by F. W. in 26 mins
I have two columns, a series of dates and a series of times. I need to take the mode time of each week within the time series
Solved by V. Q. in 11 mins

Leave a Comment