Remember Me?
Menu
Home
Search
Today's Posts
Home
Search
Today's Posts
ExcelBanter
»
Excel Newsgroups
»
Excel Worksheet Functions
>
converting julian day and year to a date?
LinkBack
Thread Tools
Search this Thread
Display Modes
Prev
Next
#
2
Posted to microsoft.public.excel.worksheet.functions
Roger Govier
Posts: n/a
converting julian day and year to a date?
Hi Chad
Try
=DATE(A1,1,1)+B1
--
Regards
Roger Govier
"Chad Nordberg" <Chad
wrote in
message ...
I have a weather station that outputs a text file with two columns, one
with
a 4 digit year, and another with the julian day. I need to convert
the
julian day to a standard date format (i.e. 3/25/2006). I can use the
"DAY"
function in excel to return the day from the julian day, but it only
works if
February has 29 days. Does anyone have a calculation to convert the
julian
day to the correct standard date format taking into consideration the
year.
I have been using the following formula to do it, but it only works on
or
after march 1st. I have to change it for 1/1 through 2/28 for the
other 3
years.
=DATEVALUE(CONCATENATE((MONTH(B1+1)),"-",(DAY(B1+1)),"-",A1))
Where B1 is the julian day and A1 is the 4 digit year.
Thank you for your time and effort.
Sincerely,
Chad Nordberg
Reply With Quote
Thread Tools
Search this Thread
Show Printable Version
Search this Thread
:
Advanced Search
Display Modes
Switch to Linear Mode
Switch to Hybrid Mode
Threaded Mode
Posting Rules
Smilies
are
On
[IMG]
code is
On
HTML code is
Off
Trackbacks
are
On
Pingbacks
are
On
Refbacks
are
On
All times are GMT +1. The time now is
12:59 PM
.
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
Contact Us
ExcelBanter forum home
Privacy Statement
LinkBack
LinkBack URL
About LinkBacks