Day of year
"Ruth" wrote in message
...
"Jimmy B" wrote:
Is it possible to get Excel 2003 to display a date as the day of the
year?
For instance, today is 4-6-07, the 96th day of the year. How can I get
the
spreadsheet to display 96?
Highlight the cells that you want to display the year
Goto Format ---Cells----in the Category section of the pop up box,
select
Custom---in "Type" box - type "yyyy" click ok
Are you sure, Ruth? Won't that display 2007, rather than 96?
To get 96, you'll need Niek's formula:
=TODAY()-DATE(2007,1,0)
or =A1-DATE(2007,1,0) to convert a particular date.
--
David Biddulph
|