YEAR
Extract the four-digit year from a date.
Syntax
=YEAR(serial_number)Worked example
Extract a date’s year for grouping records.
=YEAR(DATE(2026,3,9))Result 2026
Microsoft documentation
Check the arguments, supported editions and behavior of this function in Microsoft’s reference.
Microsoft referenceExcel YEAR Function | Excel One Minute Functions Explained
Practice YEAR
Extract a date’s year for grouping records.
| A | B | |
|---|---|---|
| 1 | ||
| 2 |
Show example formula
=YEAR(B2) Lesson quiz
Answer three questions to see your level in this lesson.
