Skip to content
Free Excel Tutorials
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Data Analysis

  • How to combine 2 or more chart types in a single chart in Excel
  • How to create a Histogram in Excel
  • How to create dynamic reference table name in Excel
  • How to conditionally sum numeric data in an Excel table using SUMIFS
  • How To Create Pareto Chart in Excel

References

  • How to use Excel TRANSPOSE Function
  • Find closest match in Excel
  • CHOOSE function: Description, Usage, Syntax, Examples and Explanation
  • How to use Excel VLOOKUP Function
  • How to get address of named range in Excel

Data Validations

  • Excel Data validation allow uppercase only
  • Excel Data validation allow weekday only
  • Excel Data validation specific characters only
  • Data validation must not exist in list
  • Excel Data validation with conditional list

How to get year from date in Excel

by

If you need to extract the year from a date, you can use the YEAR function.

Formula

=YEAR(date)

Explanation

In the generic form of the formula above, the date  must be in a form that Excel recognizes as a valid date.

How the formula works

The YEAR function takes just one argument, the date from which you want to extract the year. In the example, the formula is:

=YEAR(B4)

B4 contains a date value for January 5, 2016. The YEAR function returns the number 2016 representing the year of the date.

Note that you can use YEAR to extract the year from a day entered as text:

=YEAR("1/5/2016")

However, using text for dates can cause unpredictable results on computers using different regional date settings. In general it’s better (and more flexible) to supply an address to a cell that already contains a valid date.

Display only year

If you want to enter a date and only display the year, you can apply a custom number format like “yyyy” or “yy”.

Post navigation

Previous Post:

DECIMAL function: Description, Usage, Syntax, Examples and Explanation

Next Post:

AVERAGE function: Description, Usage, Syntax, Examples and Explanation

Leave a Reply Cancel reply

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

Learn Basic Excel

Ribbon
Workbook
Worksheets
Format Cells
Find & Select
Sort & Filter
Templates
Print
Share
Protect
Keyboard Shortcuts

Categories

  • Charts
  • Data Analysis
  • Data Validation
  • Excel Functions
    • Cube Functions
    • Database Functions
    • Date and Time Functions
    • Engineering Functions
    • Financial Functions
    • Information Functions
    • Logical Functions
    • Lookup and Reference Functions
    • Math and Trig Functions
    • Statistical Functions
    • Text Functions
    • Web Functions
  • Excel VBA
  • Excel Video Tutorials
  • Formatting
  • Grouping
  • Others

Logical Functions

  • Check multiple cells are equal in Excel
  • OR function: Description, Usage, Syntax, Examples and Explanation
  • SWITCH function example in Excel
  • Excel If, Nested If, And/Or Criteria Examples
  • IF, AND, OR and NOT Functions Examples in Excel

Date Time

  • Convert date to Julian format in Excel
  • How to calculate working days left in month in Excel
  • Convert decimal hours to Excel time
  • DAYS function: Description, Usage, Syntax, Examples and Explanation
  • How to get Holiday Date from Year in Excel

Grouping

  • Group numbers at uneven intervals in Excel
  • If cell contains one of many things in Excel
  • Group numbers with VLOOKUP in Excel
  • Running count group by n size in Excel
  • Map inputs to arbitrary values in Excel

General

  • How to Insert Cells, Row and Rows in Excel
  • How to fill cell ranges with random text values in Excel
  • How to calculate percent sold in Excel
  • Currency vs Accounting Format in Excel
  • How to get Excel workbook path only
© 2025 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning