Tips : Change Periode(yymm) to datetime

ymulyana

New Member
Joined
Mar 30, 2014
Messages
8
I have problem when using period time like this : 201301,201302 etc. But when i using formula in powerpivot such as : Sales Previous Month, Sales Month last Year, YTD, MAT. And then after i tried conversion from yymm (201301) to date time (01/01/2013) its works.


See the file for the details,
url : http://vivezashop.com/images/DimDate.xlsx




Regards
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
Sorry it's not very clear what you are asking. As you said if you convert it it works so it sounds like you have a solution.
 
Upvote 0
Sorry it's not very clear what you are asking. As you said if you convert it it works so it sounds like you have a solution.

yes i have a solution with this case, may be it can works if there's some proble like this. Or there's any alternative way.

Regarsds
 
Upvote 0
Thanks ymulyana. To summarize the tip for others without opening the workbook... the suggest is:

"If you have a date column in yyyyMM format, create a new calculated column with this formula to create a real date"
=DATE(LEFT(A6,4),RIGHT(A6,2),1)
 
Upvote 0
Thanks ymulyana. To summarize the tip for others without opening the workbook... the suggest is:

"If you have a date column in yyyyMM format, create a new calculated column with this formula to create a real date"
=DATE(LEFT(A6,4),RIGHT(A6,2),1)

Yeay great, thanks in advanced.

Regarsd
 
Upvote 0

Forum statistics

Threads
1,223,236
Messages
6,170,915
Members
452,366
Latest member
TePunaBloke

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