Clear, practical technology insights About · Contact

YEAR - The function returns the year corresponding to a date in Excel

YEAR: The function returns the year value corresponding to a date in Excel. The year value returns an integer with a value between 1900 and 9999. Syntax: YEAR (serial_number).

Author: Lesley Montoya2 minutes read

The following article introduces you to the YEAR function - one of the functions in the date and time group function is very popular in Excel.

images 1 of YEAR - The function returns the year corresponding to a date in Excel

Description: The function returns the year value corresponding to a date in Excel. The year value is an integer between 1900 and 9999.

Syntax: YEAR (serial_number).

Inside:

- serial_number: Date to search for the year value, is a required parameter.

Attention:

- Excel stores the date as a serial number to facilitate the calculation process.

- The value returned in the YEAR function will be a Gregorian value regardless of the format.

For example:

Calculate the corresponding annual value of the following specific dates:

images 1 of YEAR - The function returns the year corresponding to a date in Excel

- In the cell to calculate enter the formula: = YEAR (F7)

images 1 of YEAR - The function returns the year corresponding to a date in Excel

- Press Enter -> the corresponding year is:

images 1 of YEAR - The function returns the year corresponding to a date in Excel

- Similarly copying the formula for the remaining values ​​results:

images 1 of YEAR - The function returns the year corresponding to a date in Excel

- In case of incorrect input value serial_number -> function returns error value #VALUE!

images 1 of YEAR - The function returns the year corresponding to a date in Excel

Above are instructions and some specific examples when using the YEAR () function in Excel.

Good luck!

Was this article helpful?

Your feedback helps us improve.

Discussion

Reader Comments 0

Sign in with email or Google to join the discussion.