Please Note: This article is written for users of the following Microsoft Excel versions: 97, 2000, 2002, and 2003. If you are using a later version (Excel 2007 or later), this tip may not work for you. For a version of this tip written specifically for later versions of Excel, click here: Calculating Future Workdays.

Calculating Future Workdays

Written by Allen Wyatt (last updated October 12, 2024)
This tip applies to Excel 97, 2000, 2002, and 2003


Using Excel to calculate a date in the future is rather easy. If you have a cell (such as C3) that contains a starting date, you can simply use a formula such as the following in a different cell:

=C3 + 3

If you format the cell with the formula as a date, it will be three days in the future.

When you want to calculate workdays, the task gets trickier. For instance, you only want to return a date that is between Monday and Friday. If the starting date was a Thursday, this means the return date should be Monday, even though Sunday is the real day that is three days hence.

One quick way to figure a date three workdays in the future is to use the CHOOSE worksheet function. For instance, let's say you have the issue date for a document, and you store that date in cell B5. If you want cell B6 to show a date three workdays later, then you would place the following formula in cell B6 and make sure it is formatted as a date:

=B5 + CHOOSE(WEEKDAY(B5), 3, 3, 3, 5, 5, 5, 4)

This formula assumes that workdays are Monday through Friday. You can tinker with it to pick a different five-day workweek, if desired.

If you also want your formula to take holidays into account, then you must get a bit more creative. For these instances you can use the WORKDAY function, which is included as part of the Analysis ToolPak add-in. This means that you must make sure the Analysis ToolPak add-in is loaded before you can use WORKDAY. You can check if it is loaded by choosing Add-Ins from the Tools menu. Once the add-in is loaded, you could use the following formula in cell B6 to calculate the target date:

=WORKDAY(B5,3)

After you format the cell as a date, it will show the date three workdays in the future. To include holidays, the simplest way is to set up your holidays in the worksheet. For instance, you might put your company holidays in the worksheet in cells K4 through K10. Then, select the cells and give them a name, such as Holidays. You can now use your holiday rante in the WORKDAY function. Change the formula in cell B6 so it looks like this:

=WORKDAY(B5,3,Holidays)

Now the function will always take your holidays into account when returning a date three workdays in the future.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (2164) applies to Microsoft Excel 97, 2000, 2002, and 2003. You can find a version of this tip for the ribbon interface of Excel (Excel 2007 and later) here: Calculating Future Workdays.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Understanding the If ... End If Structure

One of the most basic of programming structures is the conditional structure: If ... End If. This tip explains how this ...

Discover More

Specifying an Order for Page Printing

If a printout of your worksheet requires multiple pages, you may want to specify the order in which Excel prints those ...

Discover More

Changing Orientations within a Single Printout

Excel allows you to print out information in either portrait or landscape orientation, but what if you need both types of ...

Discover More

Best-Selling VBA Tutorial for Beginners Take your Excel knowledge to the next level. With a little background in VBA programming, you can go well beyond basic spreadsheets and functions. Use macros to reduce errors, save time, and integrate with other Microsoft applications. Fully updated for the latest version of Office 365. Check out Microsoft 365 Excel VBA Programming For Dummies today!

More ExcelTips (menu)

Returning Item Codes Instead of Item Names

The data validation capabilities of Excel are really handy when you want to limit what is put into a cell. However, you ...

Discover More

Referring to the Last Cell

It is not unusual to use worksheets to collect information over time. As you keep adding information to the worksheet, ...

Discover More

Making VLOOKUP Trigger a Macro

VLOOKUP is an oft-used worksheet function to lookup values in a data table. If the function cannot return a value, it ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is seven less than 8?

There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)


This Site

Got a version of Excel that uses the menu interface (Excel 97, Excel 2000, Excel 2002, or Excel 2003)? This site is for you! If you use a later version of Excel, visit our ExcelTips site focusing on the ribbon interface.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.