Results 1 to 8 of 8

Auto-incrementing dates

Threaded View

  1. #1
    Valued Forum Contributor
    Join Date
    12-02-2009
    Location
    Austin, Tx
    MS-Off Ver
    Office 365 64-Bit, 2108, build 14326.21018
    Posts
    3,979

    Auto-incrementing dates

    Okay, here's a weird one:

    I have a series of macros that create a projection. During part of the process the user selects dates of history months to use in creating the projection from a userform. The history months available in the listbox need to be ONLY the month ending date for the 12 month period preceding the current month. So for today the range would be:

    12/31/2009
    1/31/2010
    2/28/2010
    3/31/2010
    4/30/2010
    5/31/2010
    6/30/2010
    7/31/2010
    8/31/2010
    9/30/2010
    10/31/2010
    11/30/2010

    I have these dates in a named range on my Sheet1, and each month I have to go update the range by adding the newest and deleting the oldest range.

    My question is: is there a date formula that I can put in the cells that will provide the dates, formatted as above, but for the current twelve month cycle? In other words, it would look at today's date and make a calculation as to which month it should be showing. I'm sure there's a formula that would do it, but date formulas aren't my strong suit.

    Thanks in advance for any help on this.
    Last edited by jomili; 12-30-2010 at 10:43 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1