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 experts are available now. Your privacy is guaranteed.
All articles DATE SERIES How to Generate a Series of Dates by Workdays in Excel

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

=WORKDAY(start_date,days,[holidays])

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.

Note

  • 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:

Leave a Comment

avatar

Subscribe to Excelchat.co

Get updates on helpful Excel topics

Subscribe to Excelchat.co

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

Another blog reader asked this question today on Excelchat:

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

Your message must be at least 40 characters
Our professional experts are available now. Your privacy is guaranteed.
Trusted by people who work at
Amazon.com, Inc
Facebook, Inc
Accenture PLC
Siemens AG
Macy's
The Allstate Corporation
United Parcel Service
Dell Inc