Forum Discussion
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?
If you select all your dates before Ctrl+H when Replace All shall work, otherwise find (and replace) one by one
14 Replies
- SergeiBaklanDiamond Contributor
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/
- BejaiCopper ContributorI 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 - demoejaCopper 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 HeckmanCopper Contributor
Thanks, but Find and Replace won't work because I have several dates within the column.
- SergeiBaklanDiamond Contributor
If you select all your dates before Ctrl+H when Replace All shall work, otherwise find (and replace) one by one
- JamilBronze 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- SergeiBaklanDiamond Contributor
Jamil,
=EDATE(A1,1)
shall work in such case
- John HeckmanCopper Contributor
This works rather easily! Thanks.