converting raw characters to a date

mad3

Board Regular
Joined
Sep 15, 2009
Messages
128
Office Version
  1. 365
Platform
  1. Windows
I have a file where column 'S' has a number in it that represents the date. When the file is received, the number is actual text at first. I need to convert it to a date. The first character is a number one followed by the next two characters representing the year, the second two characters representing the month, and finally the last two representing the day. Looking for a quick way to convert to a date format. I have more than 10K of lines in four different columns with date formats such as this one. Below is a sample of one column.

Thanks...Mike in California
ActualStartDate
1100203
1100526
1100708
1140423
1120523



<colgroup><col width="105" style="width: 79pt; mso-width-source: userset; mso-width-alt: 3840;"> <tbody> </tbody>
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
If you are looking for a formula solution, give this one a try...

=0+TEXT(19000000+A1,"0000-00-00")

Format the cell you put it in with the date display format you want.
 
Upvote 0
If you are looking for a formula solution, give this one a try...

=0+TEXT(19000000+A1,"0000-00-00")

Format the cell you put it in with the date display format you want.

Thanks so much! Worked perfectly!
 
Upvote 0

Forum statistics

Threads
1,214,954
Messages
6,122,462
Members
449,085
Latest member
ExcelError

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