YEAR function

Category: Date and time
Introduced: Excel 2003

Summary

Converts a serial number to a year

Syntax

YEAR(serial_number) The YEAR function syntax has the following arguments:
• Serial_number Required. The date of the year you want to find. Dates should be entered by using the DATE function, or as results of other formulas or functions. For example, use DATE(2025,5,23) for the 23rd day of May, 2025. Problems can occur if dates are entered as text.

Example

=YEAR(A3)
=YEAR(A4)

Microsoft Support Page

https://support.microsoft.com/en-us/office/year-function-c64f017a-1354-490d-981f-578e8ec8d3b9

Back to Functions