Converting text to dates

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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!
 
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)
 
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)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top