Increasing MM.YYYY Label by 1 month

dbernart

New Member
Joined
Aug 4, 2003
Messages
34
Is there a way to have a formula add one month to a pseudo-date label ('MM.YYYY)?

Excel Workbook
ATAUAV
211.201212.201201.2013
WorldWide-New


Given the text label in AT2, can you put a formula in AU2 onward that would add one to the previous "month" and keep it as a label? Also can you have it increase the year by one if the month is December?

Yes, I know that if it was an actual date, it would be much easier using the Date function... but I'm limited to the text label in AT2.

Thanks,
Doug
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
Try

=TEXT(EDATE(SUBSTITUTE(AT2,".","/")+0,1),"m.yyyy")


This requires the Analysis Toolpack Addin from Tools - Addins.
 
Upvote 0
Nice job! The only thing I had to do was change your "m" to "mm" and it worked like a charm!

Many thanks!!

Doug
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,587
Messages
6,179,740
Members
452,940
Latest member
rootytrip

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top