ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Day number of given date in a year (https://www.excelbanter.com/excel-worksheet-functions/18457-day-number-given-date-year.html)

Jeff Gordon

Day number of given date in a year
 
Today = Mar 20, 79th day in the year 2005. need simple function to calculate
that for any given date in any given year.

Bob Phillips

=TODAY()-DATE(YEAR(TODAY()),1,0)

--
HTH

Bob Phillips

"Jeff Gordon" <Jeff wrote in message
...
Today = Mar 20, 79th day in the year 2005. need simple function to

calculate
that for any given date in any given year.





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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com