Results 1 to 5 of 5

List months between two dates

Threaded View

  1. #1
    Forum Contributor
    Join Date
    09-16-2004
    Posts
    100

    List months between two dates

    Hi,

    What I'm trying to do, for the purposes of a larger macro, is find a way to generate a list of the months and years between two dates.

    In cell A2 I have a number for the month (e.g 9 for September), and in A3 I have a year (e.g. 2011). In A5 i have another month (e.g. 2 for February), and in A6 another year (e.g. 2012).

    What I want is to generate somewhere a list that uses those two dates and looks like the below (month and year need to be in seperate cells):

    9 2011
    10 2011
    11 2011
    12 2011
    1 2012
    2 2012

    Any ideas gratefully received!

    thanks,

    Jon
    Last edited by madbloke; 09-08-2011 at 05:54 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