A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Number of the day of the year



 
 
Thread Tools Display Modes
  #1  
Old May 12th, 2010, 06:17 AM posted to microsoft.public.excel.misc
NDBC
external usenet poster
 
Posts: 110
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  
Old May 12th, 2010, 06:29 AM posted to microsoft.public.excel.misc
Jacob Skaria
external usenet poster
 
Posts: 5,952
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  
Old May 12th, 2010, 08:22 AM posted to microsoft.public.excel.misc
ozgrid.com
external usenet poster
 
Posts: 328
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  
Old May 12th, 2010, 09:11 AM posted to microsoft.public.excel.misc
Roger Govier[_8_]
external usenet poster
 
Posts: 338
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

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 06:35 PM.


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