23.08.2023 Views

CFI-Excel-eBook

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

The Corporate Finance Institute Excel

YEAR

Get the year from a date

date

What is the YEAR Function?

The YEAR function is a Date/Time function that is used for calculating the year

number from a given date. The function will return an integer that is a fourdigit

year corresponding to a specified date. For example, if we use this

function on a date such as 12/12/2017, it will return 2017.

Using dates in financial modeling is very common and the YEAR function helps

extract a year number from a date into a cell. The function can also be used to

extract and feed a year value into another formula such as the DATE function.

Formula

=YEAR(serial_number)

The serial_number argument is required. It is the date of the year that we

wish to find. Dates should be entered either by using the DATE function or as

results of other formulas or functions. Problems can occur if dates are entered

as text.

How to use the YEAR Function in Excel?

It is a built-in function that can be used as a worksheet function in Excel. To

understand the uses of the YEAR function, let’s consider a few examples:

corporatefinanceinstitute.com

52

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!