Please Note: This article is written for users of the following Microsoft Excel versions: 2007 and 2010. If you are using an earlier version (Excel 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Excel, click here: Calculating Future Workdays.
by Allen Wyatt
(last updated April 29, 2019)
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:
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:
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 (11415) applies to Microsoft Excel 2007 and 2010. You can find a version of this tip for the older menu interface of Excel here: Calculating Future Workdays.
Comprehensive VBA Guide Visual Basic for Applications (VBA) is the language used for writing macros in all Office programs. This complete guide shows both professionals and novices how to master VBA in order to customize the entire Office suite for their needs. Check out Mastering VBA for Office 2010 today!
Doing math with dates is easy in Excel. Doing math with old dates, such as those you routinely encounter in genealogy, is ...Discover More
When you load data into Excel that was created in other programs, the formatting used for some types of data (such as ...Discover More
Excel includes a large number of functions that can be used in evaluating the data in a worksheet. In this tip you learn ...Discover More
FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu interface.