Traditional Culture Encyclopedia - The 24 Solar Terms - Excel table calculates the date to the end of the year according to different years?

Excel table calculates the date to the end of the year according to different years?

Use EOMONTH+MONTH to find the last day of the year, and then use DATEDIF to calculate the number of days from that date to the end of the year.

Formula:

=DATEDIF(A2,EOMONTH(A2, 12-MONTH(A2))," d ")