Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 204
Default Number of the day of the year

I need a formula that will look at a date and tell me what number day it is
in that year. eg 31/1/2007 would show as 31. 1/3/2008 is 61. It is sort of
like a julian date but without the year part of the number.

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default Number of the day of the year

Try the below with date in cell A1

=DATEDIF(DATE(YEAR(A1),1,0),A1,"d")

--
Jacob (MVP - Excel)


"NDBC" wrote:

I need a formula that will look at a date and tell me what number day it is
in that year. eg 31/1/2007 would show as 31. 1/3/2008 is 61. It is sort of
like a julian date but without the year part of the number.

Thanks

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 464
Default Number of the day of the year

=A1-DATE(YEAR(A1)-1,12,31) and Format as General.



--
Regards
Dave Hawley
www.ozgrid.com
"NDBC" wrote in message
...
I need a formula that will look at a date and tell me what number day it is
in that year. eg 31/1/2007 would show as 31. 1/3/2008 is 61. It is sort
of
like a julian date but without the year part of the number.

Thanks


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 376
Default Number of the day of the year

Hi

=A1-DATE(YEAR(A1),1,0)
--
Regards
Roger Govier

NDBC wrote:
I need a formula that will look at a date and tell me what number day it is
in that year. eg 31/1/2007 would show as 31. 1/3/2008 is 61. It is sort of
like a julian date but without the year part of the number.

Thanks

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
Financial Year Month Number Tiffany Excel Worksheet Functions 3 January 20th 09 11:25 PM
ID number as per Year Rao Ratan Singh Excel Discussion (Misc queries) 6 February 25th 07 07:16 AM
Day Number For 365 Day Year Jim J. Excel Worksheet Functions 4 September 22nd 06 06:11 PM
Number of days in a year XtraNeed Excel Discussion (Misc queries) 4 September 21st 05 03:37 PM
Day number of given date in a year Jeff Gordon Excel Worksheet Functions 1 March 20th 05 05:35 PM


All times are GMT +1. The time now is 02:10 PM.

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

About Us

"It's about Microsoft Excel"