+ Reply to Thread
Results 1 to 6 of 6

Duplicate date 3 times for a full year in one column

  1. #1
    Registered User
    Join Date
    11-14-2012
    Location
    new york
    MS-Off Ver
    Excel 2010
    Posts
    26

    Duplicate date 3 times for a full year in one column

    Is it possible to duplicate each day by 3 in 1 column for a full year

    Example:

    1/1/2012
    1/1/2012
    1/1/2012
    1/2/2012
    1/2/2012
    1/2/2012
    1/3/2012
    1/3/2012
    1/3/2012

    All the way down to 12/31/12

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Duplicate date 3 times for a full year in one column

    in a1 to a3 put the date say 1/1/2012
    in a4 put = a1+1
    drag down a4
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Registered User
    Join Date
    11-14-2012
    Location
    new york
    MS-Off Ver
    Excel 2010
    Posts
    26

    Re: Duplicate date 3 times for a full year in one column

    Quote Originally Posted by martindwilson View Post
    in a1 to a3 put the date say 1/1/2012
    in a4 put = a1+1
    drag down a4
    Thanks a million .....how do i keep the format? when I drag down it removes the cell format

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Duplicate date 3 times for a full year in one column

    Apply the format to row 2,3,4 using the format painter...when you drag row 4 down, the format should copy with it
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  5. #5
    Registered User
    Join Date
    11-14-2012
    Location
    new york
    MS-Off Ver
    Excel 2010
    Posts
    26

    Re: Duplicate date 3 times for a full year in one column

    Quote Originally Posted by FDibbins View Post
    Apply the format to row 2,3,4 using the format painter...when you drag row 4 down, the format should copy with it
    Thank You

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Duplicate date 3 times for a full year in one column

    you'r welcome. If this answered your question, please take a moment to mark the thread as "solved" - it helps keep things neet and tidy lol, and consider adding the reputation to those that helped (see points 2 & 3 below)

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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