ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Help with Date Format (https://www.excelbanter.com/excel-discussion-misc-queries/88828-help-date-format.html)

Hervinder

Help with Date Format
 
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

David Biddulph

Help with Date Format
 
"Hervinder" wrote in message
...
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)) ?
--
David Biddulph



Ron Coderre

Help with Date Format
 
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


"Hervinder" wrote:

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



All times are GMT +1. The time now is 09:49 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com