Excel display the day number of the year.

Solved
herve -  
 HaiTran -
On Excel, I want to display the day number of the year
example January 1, 2004: 001
February 3, 2004: 034
Is there an automatic function for that?
Thank you in advance everyone
Hervé

12 réponses

gbinforme Posted messages 14930 Registration date   Status Contributeur Last intervention   4 742
 
hello

"display the day number of the year" or ordinal date

To display the ordinal date for today the formula is:
=TODAY()-DATE(YEAR(TODAY());1;0)

that is to say today's date minus the date of the day
that precedes the first day of the current year.

To display the ordinal date of a date in cell A10:
=A10-DATE(YEAR(A10);1;0)

that is to say the date in the cell minus the date of the day
that precedes the first day of the year of the cell.

always zen
88
LUYGYS
 
Thank you for your formula, which I was able to apply right away in my spreadsheet. I had no idea how to do it at all, but thanks to you it was really a piece of cake.
Thank you
Luis
1
Alex
 

Hello,

I can't manage to display the date on my Excel sheet.

0
HaiTran
 

Thank you, I was looking for this formula and it couldn't have come at a better time :)

0