XcelNoteXcelNote
  • MS Excel Intro
  • Tips & Tricks
  • Tutorial
  • Excel Formulas
  • Excel Shortcut
Reading: How to Sort Data in Excel
Share
Notification Show More
Font ResizerAa
XcelNoteXcelNote
Font ResizerAa
  • MS Excel Intro
  • Tips & Tricks
  • Tutorial
  • Excel Formulas
  • Excel Shortcut
Search
  • MS Excel Intro
  • Tips & Tricks
  • Tutorial
  • Excel Formulas
  • Excel Shortcut
Follow US
Copyright © 2014-2023 Ruby Theme Ltd. All Rights Reserved.
XcelNote > Blog > Tips & Tricks > How to Sort Data in Excel
Tips & TricksTutorial

How to Sort Data in Excel

Mithlesh By Mithlesh Last updated: January 15, 2026 8 Min Read
How to Sort Data in Excel
SHARE

Sorting data in Excel is a simple but effective method to organize your information so that it’s easier to look at and understand. If you know how to sort data in Excel, you will easily find what you need, whether you’re dealing with a small dataset or a massive table.

Contents
What Does Sorting Mean in Excel?How to Sort a Single Column in ExcelHere is the step-by-Step Method:STEP 2: Go to the Data tab on the RibbonHow to Sort Multiple Columns in ExcelSTEP 1: Select your whole dataStep 2: Go to the Data tabStep 3: Click Sort in the ‘Data tab’Step 4: Choose the first sort columnStep 5: Add additional sorting levels (it’s optional)Step 6: Then click ‘OK’How to Apply a Custom Sort in ExcelHow to Sort by Date in ExcelSTEP 1: First Click a date cellHow to Sort Data in Excel the Right WayFinal Thought

In this article you learn how to sort a single column in Excel and how to sort multiple columns in Excel for more complicated datasets.

We’ll also talk about how to use a custom sort in Excel so that you may put your data in the order you want.

What Does Sorting Mean in Excel?

Sorting in Excel is used to arrange data in a certain order. You can sort number-based data either from smallest to largest or from largest to smallest. If you have text values, you can use SORT in Excel to arrange them from A to Z or Z to A. You can also sort information in a way that fits your needs.

For Example:

  • Arranging names in order from A to Z
  • Arranging numbers in order from smallest to largest
  • Arranging dates in order from oldest to newest
  • Arranging sales data in order from highest to lowest

Sorting is generally the first thing you do before filtering, analyzing, or making charts.

ALSO READ: How to Use XLOOKUP in Excel

How to Sort a Single Column in Excel

It’s easy to sort a single column in Excel. This allows you to arrange data in either ascending order or descending order according to the values in that column.

Here is the step-by-Step Method:

STEP 1: Select any cell in the column you want to sort

In this I want to sort the data of the department from A to Z. So I selected a cell of the department column.

STEP 2: Go to the Data tab on the Ribbon

STEP 3: In the Sort & Filter group, select any of these:

  • Sort A to Z (ascending order)
  • Sort Z to A (descending order)

In my case I want it in ascending order, so I selected “A to Z.” After that, Excel will automatically sort the entire table.

How to Sort Multiple Columns in Excel

Mostly, you only need to sort one column. But sometimes you need to sort across multiple columns at once. Advanced sorting methods let you sort data by more than one column. The following is the step-by-step guide:

STEP 1: Select your whole data

You can click anywhere in the range of data you want to sort. Select the whole table, including the header row if possible.

Step 2: Go to the Data tab

On the Excel ribbon, click on the “Data” tab.

Step 3: Click Sort in the ‘Data tab’

Find the “Sort” button in the “Data Tab” group and click it.

Step 4: Choose the first sort column

A “Sort” dialog box will be shown. Choose the first column you want to sort by from the “Sort by” dropdown menu. This is the main thing you need to sort by.

Step 5: Add additional sorting levels (it’s optional)

To sort by more than one column, click the “Add Level” button. Next, from the new “Then by” dropdown menu, select the next column you want to sort by and choose whether you want it to go ascending (up) or descending (down). You may repeat this step to sort by a third level.

Step 6: Then click ‘OK’

Once you’ve set your sorting rules, click “OK” to start the sort.

ALSO READ: How to Pin a Row in Excel

How to Apply a Custom Sort in Excel

You can use custom sorting in Excel to create your own order. There may be times when you need to sort data that cannot be arranged alphabetically or in ascending order. Excel allows you to create custom lists to help you sort data.

For example, assume you want to sort the dataset by department in the order of IT, Sales, and Marketing. For your reference, please follow the steps below:

  • Choose the dataset > In the Data tab, click on the Sort button.
  • Pick the Department column to sort
  • Choose Cell Values under Sort On.
  • Pick the Custom List from the Order drop-down menu.
  • In the Custom Lists dialog box, put the List entries in a row, with commas between them. For example, IT, Sales, Marketing
  • Click on Add > Click OK.

Below is the result of the same.

How to Sort by Date in Excel

Knowing how to sort dates in Excel can help you analyze data more quickly and avoid making expensive mistakes, whether you’re working with invoices, attendance records, project timelines, or sales reports.

Below is the step-by-step guide to sorting dates in Excel:

You can sort dates by:

  • Newest to Oldest
  • Oldest to Newest

STEP 1: First Click a date cell

STEP 2: Go to the Data tab from the Ribbon.

STEP 3: Choose the desired date sorting option

Make sure that your dates are in the right format and not just text.

How to Sort Data in Excel the Right Way

  • Always make a copy of your data before sorting it.
  • Use Excel tables to sort things more safely and automatically.
  • Make sure your data is clean and consistent.
  • Use custom sorts to put things in an order that makes sense.
  • For more advanced analysis, use filters and sorting together.

Final Thought

Sorting data in Excel is a simple but useful skill that can make a big difference in how you organize and view information. Excel offers multiple ways to sort data, from simple alphabetical sorting to advanced multi-column sorting and custom sorting. It can handle datasets of any size.

If you learn how to sort data in Excel, you can save time, reduce errors, and present information clearly and professionally. Sorting is a basic Excel skill that is useful in many situations, whether you are a student, office worker, analyst, or business owner.


TAGGED:excel custom sort datesexcel data sorting If you want:excel date format problemexcel date functionsexcel date order issueexcel date sorting not workingexcel dates stored as textExcel for beginnersexcel sort by monthexcel sort by yearexcel sort datesexcel sorting tutorialExcel tips and tricksfix date sorting in excelhow excel stores dateshow to sort dates in excelsort dates in excel correctlysort dates newest to oldest excelsort dates oldest to newest excel
Share This Article
Facebook Twitter Copy Link Print
Share
Previous Article How to Draw a Scatter Plot on Excel How to Draw a Scatter Plot on Excel
FacebookLike
TwitterFollow
InstagramFollow
YoutubeSubscribe
Most Popular
How to Sort Data in Excel
How to Sort Data in Excel
January 15, 2026
How to Draw a Scatter Plot on Excel
How to Draw a Scatter Plot on Excel
January 10, 2026
how to enable macros in Excel
How to Enable Macros in Excel
January 5, 2026
How to subtract in Excel
How to Subtract in Excel
December 27, 2025
How to pin a row in Excel
How to Pin a Row in Excel
December 27, 2025

You Might Also Like

XLOOKUP
Tutorial

How to Use XLOOKUP in Excel: Step-By-Step + Examples (2026)

7 Min Read
Excel VBA: A Beginner’s Guide to Automating Tasks and Saving Time
Tutorial

VBA Excel: A Beginner’s Guide to Automating Tasks and Saving Time

10 Min Read
Percentage Formula in Excel: 3 Ideal Methods
Tips & TricksTutorial

Percentage Formula in Excel: 3 Ideal Methods

5 Min Read
How to Recover Unsaved Excel File
MS ExcelTutorial

How to Recover Unsaved Excel File

5 Min Read
XcelNote

“Unlock the Power of Excel: Your Ultimate Tutorial Hub” is your go-to destination for mastering Microsoft Excel. 

Quick links

  • Disclaimer
  • About Us
  • Contact Us
  • Privacy Policy
  • Terms and Conditions
Go to mobile version
Welcome Back!

Sign in to your account


Lost your password?