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

Data Analysis

  • Remove Duplicates Example in Excel
  • How to create dynamic reference table name in Excel
  • How to create running total in an Excel Table
  • Conditional Formatting New Rule with Formulas in Excel
  • How to combine 2 or more chart types in a single chart in Excel

References

  • How to reference named range different sheet in Excel
  • Lookup entire row in Excel
  • How to use Excel MATCH Function
  • Vlookup Examples in Excel
  • How to use Excel FORMULATEXT function

Data Validations

  • Excel Data validation date in next 30 days
  • Excel Data validation don’t exceed total
  • Prevent invalid data entering in specific cells
  • Excel Data validation no punctuation
  • Data validation must not exist in 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

  • Complete List of Excel Logical Functions, References and Examples
  • Not Equal To ‘<>‘ operator in Excel
  • Excel If, Nested If, And/Or Criteria Examples
  • How to use IFS function in Excel
  • SWITCH function example in Excel

Date Time

  • Convert time to time zone in Excel
  • How to determine year is a leap year in Excel
  • Get work hours between dates custom schedule in Excel
  • DAY function: Description, Usage, Syntax, Examples and Explanation
  • Calculate number of hours between two times in Excel

Grouping

  • Map text to numbers in Excel
  • Group numbers at uneven intervals in Excel
  • How to randomly assign people to groups in Excel
  • How to randomly assign data to groups in Excel
  • Group arbitrary text values in Excel

General

  • How to calculate percentage discount in Excel
  • Find, Select, Replace and Go To Special in Excel
  • Currency vs Accounting Format in Excel
  • Automatically fill series of cells in Excel using AutoFill
  • Find, Trace and Correct Errors in Excel Formulas using ‘Formula Auditing’
© 2026 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning