View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.programming
Jake Marx[_2_] Jake Marx[_2_] is offline
external usenet poster
 
Posts: 23
Default DayOfYear Function?

Hi Joe,

This function should do that:

=A1-DATE(YEAR(A1),1,1)+1

--
Regards,

Jake Marx
MS MVP - Excel

Joe wrote:
Is there anyway to return the day number of the year. For example,
where 12/26/2003 would be = to 300.