Forum Discussion

John Heckman's avatar
John Heckman
Copper Contributor
Jun 25, 2018
Solved

Change month only in a column containing several rows of dates

Apologize if this has been solved previously. I am attempting to change the month only in a column of already entered dates in a column.  For example I have 1/2/2018, 1/5/2018, 1/17/2018, 1/20/18 etc. and want to only change the month from Jan to Feb like this: 2/2/18, 2/5/2018 etc.  Any ideas? 

  • SergeiBaklan's avatar
    SergeiBaklan
    Jun 25, 2018

    If you select all your dates before Ctrl+H when Replace All shall work, otherwise find (and replace) one by one

  • Hi John,

     

    If we speak only about Jan to Feb, not every month in dates on next one, I'd first apply to your dates custom format

    mm/d/yyyy
    

    when Ctrl+H and replace 01/ on 02/

     

    • Bejai's avatar
      Bejai
      Copper Contributor
      I use Excel to keep track of my monthly spending and had the same question about easily changing the month.
      To explain for other beginners:
      My workbook has a sheet for each month, just so I don't have to do a lot of scrolling. Each month I copy and paste to create a new sheet. Then I have to manually change the due date for each item on my sheet (rent, cable, groceries, etc.)
      This is such an easy solution, why didn't I think to do this! It worked wonderfully.

      thx Sergei
    • demoeja's avatar
      demoeja
      Copper Contributor

      I tried to replace jan to feb. (ex. 1/1/19 to 2/1/19). When doing so, the day also changed to 2? I only want to change the month. using 1/ to 2/ will also change the day if it has 1/. How can I only change the month using the replace function? 

    • John Heckman's avatar
      John Heckman
      Copper Contributor

      Thanks, but Find and Replace won't work because I have several dates within the column.

      • SergeiBaklan's avatar
        SergeiBaklan
        MVP

        If you select all your dates before Ctrl+H when Replace All shall work, otherwise find (and replace) one by one

  • Jamil's avatar
    Jamil
    Bronze Contributor

    lets say your data are in Col A

    you can use this formula below

    =DATE(YEAR(A1),MONTH(A1)+1,DAY(A1))

    then format your cells to date format

Resources