sum date format with number format

xymcrush17

New Member
Joined
May 17, 2014
Messages
49
hi mrExcel
I have data like this

1112 which mean (NOV-2012) and sum 18 which mean (1year 6 months) result I want is 05-2014 which mean ( May 2014)


thanks for advance
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
This assumes all your dates are in the 21st century.

Does this work for you?

=TEXT(DATE("20"&RIGHT(A1,2),LEFT(A1,2)+B1,1),"mm-yyyy")

Where B1 contains 18
 
Upvote 0
I'm sure there's a shorter way

=DATE(YEAR(DATEVALUE("01/"&LEFT(A1,2)&"/"&RIGHT(A1,2))+0),LEFT(A1,2)+18,1)
 
Upvote 0
Try this: Do not forget the cell ref:

=DATE(YEAR("1january"&RIGHT(B5,2)),LEFT(B5,2)+18,5)
 
Upvote 0

Forum statistics

Threads
1,215,548
Messages
6,125,468
Members
449,230
Latest member
ASBeard

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