Julian Date

  • Thread starter Thread starter A
  • Start date Start date
A

A

I need laymen terms for help - I am not a programmer... I have a date in a
column and need to make it a julian date. IE: 12/31/07 to 365 Working with
Excel 03
 
The following example assumes that the gregorian date is in cell A1

=A3-DATE(YEAR(A3),1,0))
 
Say what?

In the United States. the Julian date for January 9, 2008 is: 08009. The
Julian date consists of year, day of year. The year could be 1,2 or 4
numbers wide. i.e; 8009, 08009 or 0008009. How does your formula produce
that?

Tyro
 
Sorry, I gave you the Julian day formula, the following is the formula I
meant to send:

=RIGHT(TEXT(YEAR(A1),"####"),2)&TEXT((A1-DATE(YEAR(A1),1,0)),"00#")
 
If you want the Julian date left justified as text, enter:
=RIGHT(YEAR(A1),2)&TEXT(A1-DATE(YEAR(A1),1,0),"000")
If you want the Julian date right justified as a number enter:
=--(RIGHT(YEAR(A1),2)&TEXT(A1-DATE(YEAR(A1),1,0),"000"))

Tyro
 

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