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

Data Analysis

  • How to Create Thermometer Chart in Excel
  • Data Series in Excel
  • Use Data Form to input, edit and delete records in Excel
  • How To Load Analysis ToolPak in Excel
  • Excel Frequency Function Example

References

  • How to retrieve first match between two ranges in Excel
  • Count rows with at least n matching values
  • Two-way lookup with VLOOKUP in Excel
  • Excel Advanced Lookup using Index and Match Functions
  • How to get last column number in range in Excel

Data Validations

  • Excel Data validation must contain specific text
  • Excel Data validation exists in list
  • Excel Data validation no punctuation
  • How To Create Drop-down List in Excel
  • Excel Data validation allow weekday only

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

  • Excel If, Nested If, And/Or Criteria Examples
  • How to return blank in place of #DIV/0! error in Excel
  • SWITCH function: Description, Usage, Syntax, Examples and Explanation
  • How to use IFS function in Excel
  • IF function: Description, Usage, Syntax, Examples and Explanation

Date Time

  • DATEVALUE function: Description, Usage, Syntax, Examples and Explanation
  • DATE function: Description, Usage, Syntax, Examples and Explanation
  • Convert text date dd/mm/yy to mm/dd/yy in Excel
  • Calculate days remaining in Excel
  • Get work hours between dates and times in Excel

Grouping

  • Map inputs to arbitrary values in Excel
  • Calculate conditional mode with criteria in Excel
  • Group times into 3 hour buckets in Excel
  • Group arbitrary text values in Excel
  • If cell contains one of many things in Excel

General

  • Delete Blank Rows at Once in Excel
  • 44 Practical Excel IF function Examples
  • Share Excel data with Word documents
  • AutoFit Column Width, AutoFit Row Height in Excel
  • Currency vs Accounting Format in Excel
© 2026 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning