Converting Dates

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

Guest

I have a bunch of numbers on an excel file that are this format: 70220. I
would like to convert them to a regular date. I tried just formatting the
cells to dates, but it does not work. It should be 2/20/07. Can anyone help?

Thanks.
 
=DATE(2000+LEFT(A1,LEN(A1)-4),MID(A1,LEN(A1)-3,2),RIGHT(A1,2))
 
Assuming all your dates are 2000 or later

=TEXT(20&TEXT(A1,"000000"),"0000-00-00")+0

format as date
 
=TEXT(200&A1,"0000\/00\/00")*1


daddylonglegs said:
Assuming all your dates are 2000 or later

=TEXT(20&TEXT(A1,"000000"),"0000-00-00")+0

format as date
 

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