Day of the year:
=A1-DATE(YEAR(A1),1,0)
Remaining days:
=DATE(YEAR(A1),12,31)-A1
Thanks to:Spreadsheet Page Excel Tips: Calculate The Day Of The Year And Days Remaining
=DATE(YEAR(A1),12,31)-A1
Thanks to:Spreadsheet Page Excel Tips: Calculate The Day Of The Year And Days Remaining