YEAR
Gets the year of a date.
- Text and dates
- Practised in 1 lesson
Worked example
D2=YEAR(C2)
| Row | A | B | C | D |
|---|---|---|---|---|
| 1 | Painting | Artist | Sold | Year |
| 2 | Dunes | Vale | 15 Mar 2024 | |
| 3 | Quay | Ortiz | 5 Dec 2025 |
Excel stores a date as a number, and YEAR reads the year from it.
How to write it
=YEAR(serial_number)
serial_number- A date.
Try YEAR yourself
Real tasks in a spreadsheet, checked on changed data. A free account saves your work and checks your answers.
Practise it freeWatch out for
- If it gives 1900, the cell holds a small number, not a date.
- Format the answer as a number, or 2026 shows as a date in 1905.