converting raw characters to a date

mad3

Board Regular
Joined
Sep 15, 2009
Messages
130
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
[TABLE="width: 79"]
<colgroup><col width="105" style="width: 79pt; mso-width-source: userset; mso-width-alt: 3840;"> <tbody>[TR]
[TD="class: xl64, width: 105, bgcolor: transparent"]ActualStartDate[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent, align: right"]1100203[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent, align: right"]1100526[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent, align: right"]1100708[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent, align: right"]1140423[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent, align: right"]1120523



[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
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,224,826
Messages
6,181,192
Members
453,021
Latest member
pingpong7117

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