+ Reply to Thread
Results 1 to 4 of 4

Date generation in column.

  1. #1
    Forum Contributor
    Join Date
    08-15-2005
    Location
    Oklahoma
    MS-Off Ver
    2010, 2013
    Posts
    112

    Date generation in column.

    How would you generate sequential dates in a column if you entered January 1, (Year) as your first entry and wanted to generate the dates for a given number of years? I enter 1/1/08 in cell A1 and cell A2 becomes 1/2/08, A3 = 1/3/08 .... for five (5) years total. You have all the dates entered through Dec. 31, 2012. Could this be done with any date? Say May 15, 2008 and cell A2 becomes May 16, 2008, etc.

    Thanks,

    Jim

  2. #2
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Date generation in column

    Try this:

    A1: 01/01/2008

    • Select A1
    From the Excel main menu
    • <edit><fill><series>
    Series in: columns
    Type: Date
    Stop value: 12/31/2013
    • Click [OK]

    That will fill in the dates from 01/01/2008 through 12/31/2013

    Does that help?
    Post back with more questions.
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  3. #3
    Forum Contributor
    Join Date
    08-15-2005
    Location
    Oklahoma
    MS-Off Ver
    2010, 2013
    Posts
    112

    Generating dates.

    Thanks! Does this take care of leap years also?

  4. #4
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Filling a date series accounts for leap years

    If you mean....
    Start at 01/01/2000 and fill in through 12/31/2000....
    and there's an entry for 02/29/2000...then:Yes

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Text from Date formatted column
    By kawhite in forum Excel General
    Replies: 3
    Last Post: 12-12-2007, 12:41 PM
  2. Massive Sorting question.
    By Rgaherty in forum Excel Programming / VBA / Macros
    Replies: 35
    Last Post: 11-07-2007, 02:15 PM
  3. csv import - column not importing as date
    By jewel56 in forum Excel General
    Replies: 8
    Last Post: 04-02-2007, 09:56 PM
  4. Saving a column of values by date
    By TypeR in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-21-2007, 04:11 AM
  5. Assignment overDUE PLEASE PLEASE HELP!!
    By undergrad in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-29-2006, 12:34 AM

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