Count the days remaining in the year

Turn November 4, 2026 into the days left in its year: 57.

What you'll make

In Excel: November 4, 2026 becomes 57 days left.

The formula

The formula, with a numbered bracket under each part.
NumberPartWhat it doesResult so far
1A8The real date.November 4, 2026
2YEAR( … )Takes only the year from the date.2026
3DATE( … ,12,31)Builds December 31 of that year.December 31, 2026
4-A8Takes the date away, leaving the days between.57

Read it from the inside out: YEAR works first, then DATE, then the date is taken away.

=DATE(YEAR(A8),12,31)-A8

How to use it

Yellow bar at the top? Click Enable Editing.

  1. See it work. The Example tab shows 20 made-up examples with the formula already in.
  2. Use your own dates. Paste real dates into the green column of the Template tab. The days left fill in by themselves.
  3. Move them into your letter. Copy the results. Then use Paste Special and choose Values.

Before you send

December 31 shows 0, because no days are left after it. The date itself isn't counted.

Microsoft's help: DATE function