Results 1 to 4 of 4
  1. #1
    Lounger
    Join Date
    Dec 2004
    Posts
    26
    Thanks
    0
    Thanked 0 Times in 0 Posts

    convert to julian date (Excel 2002)

    Hi, how i can convert below column date to julian date.
    pls note some cell in that column is null. i need to skip that
    null cell and continue to convert the date and paste it in a new column
    where this new column date pasted is without null cell, just trim the null cell
    and put the converted date all together.

    Date
    21-Jan-05
    09-Feb-05

    10-Feb-05
    11-Feb-05

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: convert to julian date (Excel 2002)

    There are several definitions of Julian date. Can you give an example of which one you want?

  3. #3
    Lounger
    Join Date
    Dec 2004
    Posts
    26
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: convert to julian date (Excel 2002)

    hi ,
    this number is the julian date 2451545
    which refer to 01/01/2000

    thanks alots...

  4. #4
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: convert to julian date (Excel 2002)

    Say that your data are in column A, starting in A2.
    In cell B2, enter this formula:

    <code>=IF(A2="","",IF(A2<DATE(1900,2,29),A2+241501 9.5,IF(A2=DATE(1900,9,29),2415079.5,A2+2415018.5)) )</code>

    and fill down as far as needed. Note: the formula may be split into two lines by your browser; it should be entered as a single line.

    This formula takes a quirk in the Excel date system into account. If all your dates are after February 29, 1904, it can be simplified to

    <code>=IF(A2="","",A2+2415018.5)</code>

    and if you want to return integers

    <code>=IF(A2="","",A2+2415019)</code>

Posting Permissions

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