CHANGING A DATE FORMAT FROM yyyymmdd TO mm/dd/yyyy

jshepherdal

New Member
Joined
Jun 9, 2015
Messages
1
I have a data set from an AS400 system that has dates formatted in yyyymmdd and I want to convert them to mm/dd/yyyy. How do I do this??
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes

Rick Rothstein

MrExcel MVP
Joined
Apr 18, 2011
Messages
38,154
Office Version
  1. 2019
  2. 2010
Platform
  1. Windows
I have a data set from an AS400 system that has dates formatted in yyyymmdd and I want to convert them to mm/dd/yyyy. How do I do this??
Do you mean you want to convert them "in place" (that is, change for example, 20150609 in cell A1 to 06/09/2015 in cell A1)? If so, select the column with your AS400 dates in them and then call up the Text To Column dialog box (Data tab, Data Tools panel), click Next twice and on the Step 3 of 3, select the Date option button (upper left corner of dialog box) and select YMD from the drop down control next to it, then click the Finish button.
 
Upvote 0

Forum statistics

Threads
1,195,666
Messages
6,011,046
Members
441,580
Latest member
BornholmerBjarne

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
Top