+ Reply to Thread
Results 1 to 4 of 4

Adding a year to a month-

  1. #1
    Forum Contributor
    Join Date
    01-24-2013
    Location
    NY,NY
    MS-Off Ver
    MS 365
    Posts
    250

    Adding a year to a month-

    Good morning/afternoon,

    Hope all is well! Let me get to the point. This might be quite simple. I have a list with over 1,ooo entries. The column only has months listed but I need to add the year and it has to be in this specific format.
    Right now it's like this January but it needs to look like this January 2017 February 2017 and I also have months from January to present without the year listed next to the month. Any advise is helpful.

    Thank you for your help,

  2. #2
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Adding a year to a month-

    Did you want the same year added to each month? Do you want the result to be text, or an actual date, with the format mmmm yyyy ?
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

  3. #3
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: Adding a year to a month-

    If your data is in A1 and is numeric month use
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    or use
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    and format customize with "mmmm yyyy"

  4. #4
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Adding a year to a month-

    Maybe with this: where month entered as text in A1 and Year in B1
    Enter in C1
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    v A B C
    1 January 2017 January 2017
    2 March 2018 March 2018

    Also, if you want a real date use the same formula as above with added +0
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    This will look like:
    v A B C
    1 January 2017 42736
    2 March 2018 43160
    Now you can format cells in column C as Custom, mmmm yyy
    v A B C
    1 January 2017 January 2017
    2 March 2018 March 2018
    Last edited by AlKey; 05-09-2018 at 10:13 AM.
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

+ 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. Adding Sum Totals by Month for the Year
    By MissM in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-26-2018, 07:23 AM
  2. [SOLVED] Adding year and month to date
    By Ashrahmeka in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 01-16-2015, 12:58 AM
  3. Help with Adding Values from Same Month & Year
    By Caleb9124 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-01-2014, 11:45 AM
  4. [SOLVED] Adding Current month and year to VBA generated text box
    By akhileshgs in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-14-2014, 03:32 AM
  5. Replies: 3
    Last Post: 03-03-2011, 07:17 PM
  6. Adding Year,month and days
    By mutsri in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-06-2008, 10:40 AM
  7. Adding month and year to form date
    By Dino in forum Excel General
    Replies: 2
    Last Post: 11-17-2005, 10:10 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