+ Reply to Thread
Results 1 to 8 of 8

Do I need serial numbers to make Date by month columns?

  1. #1
    Registered User
    Join Date
    08-29-2012
    Location
    Clearwater, FL
    MS-Off Ver
    Excel 2007
    Posts
    26

    Do I need serial numbers to make Date by month columns?

    Hi guys! Ya'll got a newbie non-programer here, so first off, I SO appreicate your help, especially if it's in step-by-steps. : )

    Ok, I have 40 datasheets that will need new Month columns for 2013. They only have to say Jan-13, Feb-13, etc. How do I add these new 12 columns to my (several years' old) datasheets? I don't know if this will matter, but these sheets were recently conversted to Sharepoint, which we hated, and converted back into Exel 2007.

    Thanks!!
    Kathleen

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,723

    Re: Do I need serial numbers to make Date by month columns?

    Type the first date (1/1/2013) into the first cell (suppose this is M1, and you want the other dates to go across). In N1 you can have this formula:

    =DATE(YEAR(M1),MONTH(M1)+1,1)

    Apply a custom format to those cells of mmm-yy, and then you can copy cell N1 across in O1 onwards (even beyond Dec-2013).

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    08-29-2012
    Location
    Clearwater, FL
    MS-Off Ver
    Excel 2007
    Posts
    26

    Re: Do I need serial numbers to make Date by month columns?

    Do I insert the first blank column,type in 1/1/2013, and put in the formula, then insert 11 more columns?
    Thanks!

  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: Do I need serial numbers to make Date by month columns?

    if you have a ton o sheets to do this to, which it sounds like, try this approach...

    click on the 1st sheet, click on where you want the new colums to be (the column letter).
    then scroll (if you need to) to the last sheet whewre you want to insert the new columns
    hold down the shift key and click on the last sheet.

    they are now all grouped. whatever you do to 1, will be done on all those sheets. so if you insert 12 columns on 1, it gets done to them all. likewise if you enter Jan 13 in 1, bingo, they all get that in that same cell

    a word of warning - make sure you remove "group" when you are done, else you could end up overwriting stuff you didnt want to. remove grouping by either clicking on a tab outside of the group, or by right-clicking on a tab inside the group and selecting ungroup

    hope that helps
    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
    08-29-2012
    Location
    Clearwater, FL
    MS-Off Ver
    Excel 2007
    Posts
    26

    Re: Do I need serial numbers to make Date by month columns?

    I have 42 separate datasheets (almost all of the 48 states in the cont. US), but thanks for that tip!

    Each state's sheet has between 130 and 500 rows. I can do each sheet once I get on a roll of what to do with the first few.
    Thanks...

  6. #6
    Registered User
    Join Date
    08-29-2012
    Location
    Clearwater, FL
    MS-Off Ver
    Excel 2007
    Posts
    26

    Unhappy Re: Do I need serial numbers to make Date by month columns?

    IA DATASHEET - SHAREPOINT CONVERSION.xlsx
    Pete's reply was helpful but when I do the steps, I get a message that says it can't do the specificed action, that it's attempting to shift cells...well yes. That's what I want, isn't it?
    I've attached one of the sheets (I have 40 total by state, this one is Iowa). Maybe someone can insert the first set in for me and I can then cut and paste them into the other state's sheets?

    There needs to be 12 additional columns, one for each month. Jan-13, Feb-13, etc.

    Thanks for help!! : )
    Kathleen
    Last edited by KathleenTurnis; 12-27-2012 at 03:39 PM. Reason: clarity

  7. #7
    Registered User
    Join Date
    08-29-2012
    Location
    Clearwater, FL
    MS-Off Ver
    Excel 2007
    Posts
    26

    Re: Do I need serial numbers to make Date by month columns?

    IA DATASHEET - SHAREPOINT CONVERSION.xlsx
    The replies were helpful but when I do the steps, I get a message that says it can't do the specificed action, that it's attempting to shift cells...well yes. That's what I want, isn't it? Or it makes the date but it says Jan-00. Any changes in the formatting does not seem to change, etiher.

    I've attached one of the sheets -see below- (I have 40 total by state, this one is Iowa). Maybe someone can insert the first set in for me and I can then cut and paste them into the other state's sheets?
    Time is getting crunched for me and your help would be SO appreicated. ; )
    There needs to be 12 additional columns, one for each month. Jan-13, Feb-13, etc.

    Thanks for help!! : )
    Kathleen
    Last edited by KathleenTurnis; 01-02-2013 at 11:12 AM.

  8. #8
    Registered User
    Join Date
    08-29-2012
    Location
    Clearwater, FL
    MS-Off Ver
    Excel 2007
    Posts
    26

    Re: Do I need serial numbers to make Date by month columns?

    HELP!!!!! Why is no one helping me???? : (
    I put the formula in and I get: 1/0/1900 as my result...

    =DATE(YEAR(M1),MONTH(M1)+1,1) is NOT working...I added in to the column after after Jan-2013 and I get 1/0/1900.

+ Reply to Thread

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