How do I use YEAR in Excel?
Use YEAR when you want to extract the year from a date. Enter Date cell in that order, then add optional arguments when needed.
Extracts year from a date.
YEAR(serial_number)serial_number
RequiredEnter a date/reference-related value.
Use YEAR to return the result with these settings (Date cell: B2 (cell B2 (Start Date in column B))).
| # | ATask ID | BStart Date | CEnd Date | DNotes | EHoliday |
|---|---|---|---|---|---|
| 2 | T001 | 2026/03/01 | 2026/03/05 | Standard task | 2026/03/03 |
| 3 | T002 | 2026/03/03 | 2026/03/10 | Priority task | 2026/03/06 |
| 4 | T003 | 2026/03/05 | 2026/03/12 | Standard task | 2026/03/10 |
| 5 | T004 | 2026/03/08 | 2026/03/14 | Urgent task | 2026/03/12 |
| 6 | |||||
| 7 | |||||
| 8 |
How to Use (Formula)
=YEAR(B2)Result
2026
Use YEAR when you want to extract the year from a date. Enter Date cell in that order, then add optional arguments when needed.
Use the "Start Function Practice" button to jump straight into YEAR drills.
The main arguments are Date cell. Enter them in order.