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: Listing Dates at Regular Intervals.
Written by Allen Wyatt (last updated April 20, 2024)
This tip applies to Excel 97, 2000, 2002, and 2003
Roland is looking for a way to create a list of every second Tuesday through an entire year. Fortunately, there are many ways you can come up with every other Tuesday. The first is to simply use a formula to do the dates for you, as is done in these steps:
That's it; the dates are all Tuesdays—every second Tuesday—because you've added 14 (the number of days in two weeks) to the previous Tuesday's date. This approach has a benefit, as well: If you change the date in cell A2, then all the other dates change, as well. This allows you to have a dynamic set of dates, each date two weeks later than the previous date.
If you don't need the list to be dynamic, then you can create a list of second-Tuesday dates in this manner:
Figure 1. The Series dialog box.
The result is that Excel fills all the selected cells with dates that are 14 days apart from each other. Another way to display the same Series dialog box is to perform step 1 and then right-click on the Fill handle and drag it downward. When you release the mouse button, a Context menu appears. Choose Series, and the Series dialog box appears. You can then continue with steps 4 and 5.
If you'd rather not mess with the Series dialog box, there is a shortcut way of accomplishing the same task using the Fill handle:
When you release the Fill handle, Excel fills those cells with dates that are patterned after the two dates in cells A2:A3. Since those dates are two weeks apart, the filled dates will also be two weeks apart.
ExcelTips is your source for cost-effective Microsoft Excel training. This tip (2428) 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: Listing Dates at Regular Intervals.
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!
Sometimes it is handy to know how many days are left in the current year. This tip provides a quick formula that ...
Discover MoreExcel can easily store dates. If you want to increment a date by one month, there are a number of ways you can accomplish ...
Discover MoreWant to push a date to some pre-defined day of the month? Here's some ways to force the issue.
Discover MoreFREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)
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.
FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
Copyright © 2024 Sharon Parq Associates, Inc.
Comments