How do I convert dd/mm/yy date format to yyddd Julian date format

F

FrankWood

If you are trying to get 02/08/1964 to show as 64Sat you could just change to
format of the cell to “Custom†and set it as YYDDD.

If you want to convert it to the PC serial number set the formatting to
“general†and you will get the number of days from Jan 1, 1900 and the date
(assuming you are not using the 1904 date system).

If that’s not what you are looking for give me a little more info. What is
the date in questions and what do you want it to look like as a result.

Hope that helps.

Frank
 
E

Eduardo

Hi,
with custom format, choose the range to be changed, right click on the
mouse, custom, type

yy ddd
 
P

Pete_UK

Julian dates have a 2-digit year number followed by a 3-digit day
number, so they may look something like 09235, meaning the 235th day
of 2009 (century 2000 assumed for yy between 00 and 30).

Follow the link I posted for further details.

Hope this helps.

Pete
 
D

David Biddulph

But that doesn't give a Julian date, Eduardo.
Today it would give 09Thu, instead of 09344
 
R

Rick Rothstein

Here is yet another way (one function call less than the other posted
formulas)...

=RIGHT(YEAR(A1)*1000+A1-DATE(YEAR(A1),1,0),5)

And if you are willing to trade a function call for a concatenation, we can
reduce the formula by yet another function call...

=RIGHT(YEAR(A1)*1000+A1-("1/1/"&YEAR(A1))+1,5)
 

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

Top