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

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
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,213,497
Messages
6,113,998
Members
448,539
Latest member
alex78

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