Converting text to dates

J

Jack

Hi -

I'm trying to convert a simple value of 7152004 to a date, and can't seem to
figure it out. When I format cells to date, I get a long #### response, and
I'm not getting that b/c of the column size. I've tried to do DATEVALUE on
the cell, but it gives a VALUE! error. Any suggestions? Thanks!
 
B

Bob Phillips

In an adjacent cell, use

=DATE(RIGHT(A1,4),LEFT(A1,LEN(A1)-6),MID(A1,LEN(A1)-5,2))

--

HTH

RP
(remove nothere from the email address if mailing direct)
 
J

Jack

That worked! Thanks!

Bob Phillips said:
In an adjacent cell, use

=DATE(RIGHT(A1,4),LEFT(A1,LEN(A1)-6),MID(A1,LEN(A1)-5,2))

--

HTH

RP
(remove nothere from the email address if mailing direct)
 
Top