date formats

Lenny

New Member
Joined
Apr 1, 2002
Messages
9
I am importing data into excel from a Computer maintenance management system. The problem is the data that is imported is in a format excel doesn't recongnize. This is the result of a "year 2000 bug fix". The dates are in this format:

991023 : which is Oct. 23, 1999
1001023: which is Oct. 23, 2000
1011023: which is Oct. 23, 2001
1020403: which is Apr. 3, 2002
How can I make excel put this into a standard format such as 10/23/99, or Oct/23/01. Please help.
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
On 2002-04-02 21:42, Lenny wrote:
I am importing data into excel from a Computer maintenance management system. The problem is the data that is imported is in a format excel doesn't recongnize. This is the result of a "year 2000 bug fix". The dates are in this format:

991023 : which is Oct. 23, 1999
1001023: which is Oct. 23, 2000
1011023: which is Oct. 23, 2001
1020403: which is Apr. 3, 2002
How can I make excel put this into a standard format such as 10/23/99, or Oct/23/01. Please help.

Hi,

Data in column A
Cell A1 being tested here.

=DATE(LEFT(A1,LEN(A1)-4)+1900,MID(A1,LEN(A1)-3,2),RIGHT(A1,2))

and copy down the your list.

This should work for you.

Regards,
Jay
 
Upvote 0
Hi Lenny


How about

=DATEVALUE(MID(A2,3,2)&"/"&RIGHT(A2,2)&"/"&LEFT(A2,2))

And format the cell as the date format needed.
 
Upvote 0

Forum statistics

Threads
1,213,527
Messages
6,114,142
Members
448,551
Latest member
Sienna de Souza

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