Get the year from a date
Turn the date November 4, 2026 into its year: 2026.
What you'll make

The formula

| Number | Part | What it does | For row 8 |
|---|---|---|---|
| 1 | A8 | The real date. | November 4, 2026 |
| 2 | YEAR( … ) | Gives the year as a number. | 2026 |
The result is a number, so you can sort it or count by it.
=YEAR(A8)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 years fill in by themselves.
- Move them into your letter. Copy the results. Then use Paste Special and choose Values.
Before you send
Pasted text that only looks like a date may turn amber. Retype it as a real date.
Microsoft's help: YEAR function
OTHER ROUTES YOU MIGHT LIKE

Get the month number from a date
November 4, 2026 → 11
Get the template →
Get the day of the month from a date
November 4, 2026 → 4
Get the template →
Show the full weekday name from a date
November 4, 2026 → Wednesday
Get the template →
Show a letter date as November 5, 2026
11/5/2026 → November 5, 2026
Take this route →