Sort Dates by Year in Excel: A Step-by-Step Guide

Sorting dates in Excel can be a breeze once you understand the built-in functions and features. One common requirement is to sort dates by year, which is not th...

Sorting dates in Excel can be a breeze once you understand the built-in functions and features. One common requirement is to sort dates by year, which is not the default behavior in Excel. Let's dive into how to achieve this in a step-by-step manner.

How to Sort Dates in Excel by Year (4 Methods) - ExcelDemy
How to Sort Dates in Excel by Year (4 Methods) - ExcelDemy

Before we begin, ensure your dates are formatted correctly. Excel stores dates as serial numbers, so it's crucial to have them in a recognizable date format. If your dates are not recognized, you might need to convert them first.

Create a date sequence in Excel and auto fill date series
Create a date sequence in Excel and auto fill date series

Understanding Excel's Sorting Limitations

Excel sorts dates based on their serial numbers, not the actual year. This means that by default, it sorts dates in chronological order, not by the year. To sort by year, we'll need to use a helper column or adjust the sort order.

How to Sort Dates in Excel by Month and Year (4 Methods) - ExcelDemy
How to Sort Dates in Excel by Month and Year (4 Methods) - ExcelDemy

For this guide, let's assume you have a column (A) with dates in the following format: "dd/mm/yyyy".

Using a Helper Column

Sort birthdays by month only in Excel - Full guide
Sort birthdays by month only in Excel - Full guide

One way to sort dates by year is to create a new column that extracts the year from the date. Then, sort by this new column.

Here's how to do it:

  1. In a new column (let's say B), enter the following formula: `=YEAR(A2)`. This will extract the year from the date in cell A2.
  2. Drag this formula down to copy it for the rest of the dates.
  3. Select any cell in column B, then go to the "Data" tab, click "Sort & Filter", and choose "Sort Largest to Smallest". This will sort your dates by year in descending order.
Microsoft Excel format text as date (dd mm yyyy format )
Microsoft Excel format text as date (dd mm yyyy format )

Adjusting the Sort Order

If you don't want to create a new column, you can adjust the sort order to sort by year.

Here's how:

How to Convert Date to Day of Year in Excel: 4 Methods - ExcelDemy
How to Convert Date to Day of Year in Excel: 4 Methods - ExcelDemy
  1. Select any cell in your date column (A).
  2. Go to the "Data" tab, click "Sort & Filter", then "Custom Sort".
  3. In the "Sort by" dropdown, choose "Cell Color". This might seem counterintuitive, but it's a workaround to sort by year.
  4. Click "OK". Your dates should now be sorted by year.

Sorting in Reverse Chronological Order

How to Sort by Date in Excel
How to Sort by Date in Excel
How to Filter Dates by Month and Year in Excel (4 Easy Methods)
How to Filter Dates by Month and Year in Excel (4 Easy Methods)
due date excel
due date excel
How to Sort Excel Sheet by Date (8 Suitable Examples) - ExcelDemy
How to Sort Excel Sheet by Date (8 Suitable Examples) - ExcelDemy
EVERYTHING about working with Dates & Time in Excel
EVERYTHING about working with Dates & Time in Excel
How to Sort by Date in Excel: 9 Suitable Methods - ExcelDemy
How to Sort by Date in Excel: 9 Suitable Methods - ExcelDemy
How to Convert Date to Month and Year in Excel (4 Ways) - ExcelDemy
How to Convert Date to Month and Year in Excel (4 Ways) - ExcelDemy
How to use DATE, DAY, MONTH Function in Google sheets with examples.
How to use DATE, DAY, MONTH Function in Google sheets with examples.
How to Convert Date to Month in Excel (6 Easy Methods) - ExcelDemy
How to Convert Date to Month in Excel (6 Easy Methods) - ExcelDemy
Creating and managing tables in Excel
Creating and managing tables in Excel
How to Remove Year from Date in Excel (5 Easy Ways) - ExcelDemy
How to Remove Year from Date in Excel (5 Easy Ways) - ExcelDemy
How to Calculate Average Salary for Employment Center in Excel
How to Calculate Average Salary for Employment Center in Excel
How to Sort Rows by Date in Excel (8 Methods)
How to Sort Rows by Date in Excel (8 Methods)
How to Convert a Date to a Quarter and Year in Excel (3 Methods) - ExcelDemy
How to Convert a Date to a Quarter and Year in Excel (3 Methods) - ExcelDemy
Example Formula for Highlighting Dates by Period in Excel
Example Formula for Highlighting Dates by Period in Excel
How to Subtract Dates to Get Years in Excel - 7 Methods - ExcelDemy
How to Subtract Dates to Get Years in Excel - 7 Methods - ExcelDemy
How to Calculate Age in Excel in Years and Months (5 Ways) - ExcelDemy
How to Calculate Age in Excel in Years and Months (5 Ways) - ExcelDemy
How to Add 3 Years to a Date in Excel (3 Effective Ways) - ExcelDemy
How to Add 3 Years to a Date in Excel (3 Effective Ways) - ExcelDemy
How to use CONCATENATE function for Excel dashboard charts
How to use CONCATENATE function for Excel dashboard charts
Formula INDEX and MATCH with Multiple Search Criteria in Excel
Formula INDEX and MATCH with Multiple Search Criteria in Excel

If you want to sort your dates in ascending order by year (from oldest to newest), you can do so by changing the sort order in the "Custom Sort" window.

Here's how:

  1. Follow steps 1-3 from the previous section.
  2. In the "Order" dropdown, choose "Smallest to Largest".
  3. Click "OK". Your dates should now be sorted in ascending order by year.

Sorting dates by year in Excel can be a bit tricky, but with these methods, you should be able to sort your data with ease. Happy sorting!