ProofDrill

YEAR

Gets the year of a date.

Worked example

In which year was each painting sold?

D2=YEAR(C2)

RowABCD
1PaintingArtistSoldYear
2DunesVale15 Mar 2024
3QuayOrtiz5 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.
Free with a free account

Try YEAR yourself

Real tasks in a spreadsheet, checked on changed data. A free account saves your work and checks your answers.

Practise it free

Watch 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.

Practise it