+ Reply to Thread
Results 1 to 4 of 4

Combine date (month) and text and still be able to add a month to next column

  1. #1
    Registered User
    Join Date
    01-03-2014
    Location
    Winnipeg, Manitoba
    MS-Off Ver
    Excel 2007
    Posts
    10

    Question Combine date (month) and text and still be able to add a month to next column

    I have searched everywhere for this and I can't seem to find it, maybe there is a better way to explain what I need??

    Does anyone know if there is a way to combine a date with text and still be able to add a month so the spreadsheet updates itself if you change one of the dates?

    For example, lets say you had a spreadsheet with the following columns:

    Jan Sales
    Feb Sales
    Mar Sales
    And so on until December

    Is there a formula that I can use so that if the first one changes from Jan Sales to say Apr, the rest of the dates in each column will update automatically?

  2. #2
    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,926

    Re: Combine date (month) and text and still be able to add a month to next column

    If the dates really are dates, and not text that looks like a date (test with =isnumber()...FALSE = text), there are quire a few ways to do what (I think) you want to do. Assuming you have your dates starting in A2 down...

    In A3, copied down
    =edate(A2,1)
    or
    =Date(Year(A2),MONTH(A2)+1,Day(A2))

    It w0iuld be easier to offer more specific suggestions if you provided a sample workbook
    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

  3. #3
    Registered User
    Join Date
    01-03-2014
    Location
    Winnipeg, Manitoba
    MS-Off Ver
    Excel 2007
    Posts
    10

    Re: Combine date (month) and text and still be able to add a month to next column

    Thanks for the help, I managed to get this done a completely unexpected way but I will post the answer just in case anyone else finds it useful as I searched for HOURS!!

    What I did was create a custom format and added it to all the column headers, in the custom format field I typed MMM "Sales".
    Then in the first column I typed a date, then in the second column I used the formula =DATE(YEAR(C1),MONTH(C1)+1,DAY(C1)) and dragged it to the end.

  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,926

    Re: Combine date (month) and text and still be able to add a month to next column

    Good solution, and thanks for sharing it with us

+ 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. [SOLVED] Reflect Month Name when Column A Date is the Same Day & Month
    By mukeshbaviskar in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 01-09-2014, 12:11 PM
  2. [SOLVED] Sumproduct. count how many time a month appears (in column filled by date or text). #Value
    By adriendriver in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-10-2013, 08:43 AM
  3. Covert Date DD/MM/YYYY in to month, with the month as text
    By david1987 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-23-2012, 11:03 AM
  4. Replies: 5
    Last Post: 10-04-2012, 07:06 AM
  5. [SOLVED] Excel month dropdown list to generate day of week and date for selected month
    By aaaaaaaa in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-17-2010, 02:45 PM

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