+ Reply to Thread
Results 1 to 9 of 9

How to convert Julian Date to regular excel date

  1. #1
    Registered User
    Join Date
    06-18-2013
    Location
    Uberlandia Brazil
    MS-Off Ver
    Excel 2010
    Posts
    7

    How to convert Julian Date to regular excel date

    Hey fellas,

    i've been trying to convert a seven digit Julian Date to regular excel date. Actually i was able to do it, although i checked other ways to do it and i was ended up working with to formulas which gave me two different results. Now i'm not sure which result is right . Can anyone help? Thanx in advance.

    Julian Date Digits = 2012200

    First Formula used =Date(int(A1/1000),1,mod(A1,1000)) Result date obtained = Jul-18-12 (found this firs formula here on this forum)

    Second Formula used =DATE(IF(0+(LEFT(A1,2))<30,2000,1900)+LEFT(A1,2),1,RIGHT(A1,3)) Result date obtained = Jul-18-20

    Also Fellas according to PcMag the Julian date for December 11, 1942 is 2430705, i tried this julian date "2430705", i tried in my first formula and i got Result date Dec-6-31
    and on my second formula i got Dec-5-25

    So now i really don't know which is which, please help Fellas.

  2. #2
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: How to convert Julian Date to regular excel date

    I work with julian dates a lot in SQL and the julian dates I'm used to seeing are not like this....are sure these are considered julian dates?

    julian date for today - 113169

    first 3 character are the number of years from 1900 --- 113
    second 3 are the number of days from january 1 --- 169
    Ernest

    Please consider adding a * if I helped

    Nothing drives me crazy - I'm always close enough to walk....

  3. #3
    Banned User!
    Join Date
    10-14-2006
    Posts
    1,211

    Re: How to convert Julian Date to regular excel date

    Try this:

    =DATE(LEFT(A1,4),1,RIGHT(A1,3))

  4. #4
    Registered User
    Join Date
    06-18-2013
    Location
    Uberlandia Brazil
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: How to convert Julian Date to regular excel date

    Hey Judgeh59,

    according to the julian date you provided "113169" the fist formula works. =Date(int(A1/1000),1,mod(A1,1000))

    Thanx a lot, very much apreciated;

  5. #5
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: How to convert Julian Date to regular excel date

    does that fix your issue?....glad I could help....

  6. #6
    Registered User
    Join Date
    06-18-2013
    Location
    Uberlandia Brazil
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: How to convert Julian Date to regular excel date

    Teethless mama ,

    according to your formula "=DATE(LEFT(A1,4),1,RIGHT(A1,3))" the year comes out messed up. but thanx anyways

  7. #7
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: How to convert Julian Date to regular excel date

    weird...the teethless mama solution works for me if I use 2012200 Julian date and that "=DATE(LEFT(A1,4),1,RIGHT(A1,3))"....it doesn't work if I use my julian version...113169....interesting....

  8. #8
    Registered User
    Join Date
    06-18-2013
    Location
    Uberlandia Brazil
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: How to convert Julian Date to regular excel date

    Hey Ernest, yes it did fix the issue, thanx .
    teethless mama i had tried you formula with judgeh59's julian version 113169... and it didnt work , but just like judgeh said when i try it with my version of julian date which is the one with seven digits, it works just fine. so thank u very much . it all works .

  9. #9
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: How to convert Julian Date to regular excel date

    glad we could help....please don't forget to set the thread to SOLVED....

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1