How to Use the YEAR Function in Excel

In this article, we will learn about how to use the YEAR function in Excel.

The YEAR function is a Date & Time function. It returns the year of the date which is an argument to the function.
Syntax:

=YEAR (serial number)

Serial number : A valid date in Excel
16
Let’s understand this function using it in an example.
17
Here we have a dates in column A. And we will use the YEAR function to get the year out in column B.

Use the formula:

=YEAR(A2)

A2 : A valid excel date as an argument to the function.
18
As you can see from the above snapshot the year to date in Column B.
Copy the formula in other cells using the keyboard shortcut keys Ctrl + D.
19
The formula returns the Year from the Dates.
The function returns the #VALUE! error if text is given as an argument.
20
Uses
Use the function with other functions like TODAY() to get the year of Today’s date. This returns a value which is dynamic. So the year will change as the Today function is dynamic.
39
Hope you understood how to use the YEAR function in Excel. Explore more articles on Excel function here. Please feel free to state your query or feedback for the above article.

Related Articles:

Excel TIME function

How to use the NOW Function in Excel

How to Use TODAY Function in Excel

How to use WEEKDAY Function in Excel

How to Use MONTH Function in Excel

Popular Articles:

The VLOOKUP Function in Excel

COUNTIF in Excel 2016

How to Use SUMIF Function in Excel

 

How to use the MONTH Function in Excel

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Terms and Conditions of use

The applications/code on this site are distributed as is and without warranties or liability. In no event shall the owner of the copyrights, or the authors of the applications/code be liable for any loss of profit, any problems or any damage resulting from the use or evaluation of the applications/code.

Visit Us On TwitterVisit Us On FacebookVisit Us On Google PlusVisit Us On Youtube