separate into month, day and year

ehardway123

New Member
Joined
May 24, 2013
Messages
22
Hey all,

I am trying to separate these dates to have a column of there own, month day and year. The current format it is in is 150120 (year,month,day or YMD). what function do i use to separate it in powerpivot?

Thanks,

Etica
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
Assuming the date is in column A and you want the separated data in columns B, C and D respectively.
Starting in cell A2 Formulas As follows:
Cell B2:
Code:
=Mid(A2,3,2)
Cell C2:
Code:
=Mid(A2,5,2)
Cell D2:
Code:
=Left(A2,2)
Then select the the three cells in columns B.C and D and drag (copy) them down as far as you need them.
 
Upvote 0
Could you not just convert them to actual dates using text to columns and go from there?
 
Upvote 0

Forum statistics

Threads
1,223,246
Messages
6,170,996
Members
452,373
Latest member
TimReeks

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