Help with Date Format

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

Guest

I need help with data that i have exported from a database.

The date column is in a format i havent seen before

6093 Basically the "6" is for 2006, "093" is 93 days since the first of Jan.

Can someone please help me use the date function to get this into dd/mm/yy
format.

Thanks in advance
Hervinder
 
Hervinder said:
I need help with data that i have exported from a database.

The date column is in a format i havent seen before

6093 Basically the "6" is for 2006, "093" is 93 days since the first of
Jan.

Can someone please help me use the date function to get this into dd/mm/yy
format.

What about
=DATE(2000+INT(A1/1000),1,MOD(A1,1000))
or =DATE(2000+LEFT(A1,1),1,MID(A1,2,3)) ?
 
Try this:

For a value in A1
B1: =DATEVALUE("1/1/"&INT(A1/1000))+MOD(A1,1000)-1

Is that something you can work with?
***********
Regards,
Ron

XL2002, WinXP
 

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