Count the days in a date’s year
Turn November 4, 2026 into 365, the number of days in 2026. Leap years give 366.
What you'll make

The formula

| Number | Part | What it does | Result so far |
|---|---|---|---|
| 1 | YEAR(A8)+1 | Takes the year from the date and adds 1. | 2027 |
| 2 | DATE( … ,1,1) | Builds January 1 of the next year. | January 1, 2027 |
| 3 | DATE(YEAR(A8),1,1) | Builds January 1 of the date's own year. | January 1, 2026 |
| 4 | - | Counts the days between those two dates. | 365 |
Read it from the inside out: YEAR works first, then each DATE, then the minus.
=DATE(YEAR(A8)+1,1,1)-DATE(YEAR(A8),1,1)How to use it
Yellow bar at the top? Click Enable Editing.
- See it work. The Example tab shows 20 made-up examples with the formula already in.
- Use your own dates. Paste real dates into the green column of the Template tab. The day counts fill in by themselves.
- Move them into your letter. Copy the results. Then use Paste Special and choose Values.
Before you send
Dates typed as text turn amber. Retype them as real dates to get a count.
Microsoft's help: DATE function
OTHER ROUTES YOU MIGHT LIKE

Build a date that stops at month-end
2026 + month 2 + day 31 → February 28, 2026
Get the template →
Count weekend days in a date range
November 4, 2026 to November 10, 2026 → 2 weekend dates
Get the template →
Count day boundaries between times
7/4/2026 11:59:59 PM to 7/5/2026 12:01:59 AM → 1
Get the template →
Show a letter date as November 5, 2026
11/5/2026 → November 5, 2026
Take this route →