For business users of Microsoft Excel Free guides and templates
Home >  Excel Help >  Excel Functions >  

Date and time

YEAR Function

Converts a date serial number to a year

by Charley Kyd, MBA
Microsoft Excel MVP, 2005-2014
The Father of Spreadsheet Dashboard Reports

Returns the year number that corresponds to a date serial_number. The month is given as an integer that ranges from 1900 to 9999.



  • serial_number can take two forms. First, it can be the date-time code that Excel uses for date and time calculations. Second, it can be text that the DATEVALUE function could convert into a date serial number.

Applies To

Excel 2003 and above


Probably the most-frequent use of the MONTH function is in combination with the DATE function.


You can download this example workbook here, along with all other example workbooks I've completed for this Excel help area.

Examples for the YEAR worksheet function.

Note that several examples for the DATE function also include the YEAR function.

Other Help


Charley's SwipeFile charts

Free Excel Dashboards