Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Neil
 
Posts: n/a
Default Excel should support DAYOFYEAR(year,month,day) returns julian dat.

And the reverse function JULDATE. This is easier than writing the equation:
=DATE(2005,4,15)-DATE(2005,1,1)+1
  #2   Report Post  
Jason Morin
 
Posts: n/a
Default

While complaining about lack of basic essential
functionality in Excel is OK, it should be accompanied by
some type of Excel-related question. Posts that simply
whine waste everyone's time. In addition to your
complaint, you could have asked "Is there a shorter
alternative to my formula?" Sure! A UDF!

Function Dayofyear(iYear As Long, _
iMonth As Long, iDay As Long) As Long
Dayofyear = DateSerial(iYear, iMonth, iDay) - _
DateSerial(iYear, 1, 1) + 1
End Function

HTH
Jason
Atlanta, GA

-----Original Message-----
And the reverse function JULDATE. This is easier than

writing the equation:
=DATE(2005,4,15)-DATE(2005,1,1)+1
.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
I get a program error when I download an excel template Ladybug Excel Discussion (Misc queries) 3 March 4th 05 12:02 AM
html to excel nellie Excel Discussion (Misc queries) 4 February 8th 05 10:37 PM
Excel should support multiple monitors better (like Word does) CoffeeAdict Excel Worksheet Functions 5 February 8th 05 02:04 AM
Excel error - Startup (and Acrobat PDFMaker) gxdata Setting up and Configuration of Excel 0 February 4th 05 03:44 AM
Merge from Excel to Excel dalstar Excel Discussion (Misc queries) 3 January 30th 05 02:37 PM


All times are GMT +1. The time now is 12:34 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"