Sort Multiple Columns in Excel by Number: A Step-by-Step Guide

Sorting multiple columns in Excel by number is a common task when dealing with large datasets. It allows you to organize and analyze data more efficiently. Here...

Sorting multiple columns in Excel by number is a common task when dealing with large datasets. It allows you to organize and analyze data more efficiently. Here's a step-by-step guide on how to achieve this, ensuring your Excel skills are up to par with the latest best practices.

How to Use Columns Formula in Excel
How to Use Columns Formula in Excel

Before we dive into the process, let's assume you have a table like this:

How To Move Multiple Rows and Columns In Excel - The Easy Way!
How To Move Multiple Rows and Columns In Excel - The Easy Way!
Column AColumn BColumn C
10Zebra15
5Elephant20
8Lion12

You want to sort this table first by Column A (numbers) in ascending order, then by Column C (numbers) in descending order.

Grouping Rows/Columns in Excel📚
Grouping Rows/Columns in Excel📚

Sorting by One Column

Let's start by sorting by a single column. This will give you a solid foundation for understanding the process.

How to merge and combine Excel spreadsheets into one
How to merge and combine Excel spreadsheets into one

First, select any cell within your data range. Then, click on the "Sort & Filter" button in the "Home" tab. Choose "Sort A to Z" or "Sort Z to A" based on your preference. This will sort your data by the first column (Column A) in ascending or descending order.

Sorting by Another Column

Now, let's sort by Column C. After sorting by Column A, select any cell within your data again. Click on "Sort & Filter" and this time, choose "Sort Largest to Smallest" or "Sort Smallest to Largest". This will sort your data by Column C while maintaining the order of Column A.

How to merge multiple columns into a single column using Microsoft Excel
How to merge multiple columns into a single column using Microsoft Excel

This is the basic process of sorting by multiple columns. However, Excel provides a more streamlined way to do this.

Sorting by Multiple Columns at Once

Select any cell within your data range. Click on "Sort & Filter" and then "Custom Sort...". In the "Sort by" dropdown, choose "Column A". In the "Sort On" dropdown, choose "Values". In the "Order" dropdown, choose "Smallest to Largest". Click "Add Level" to add another sorting level.

Resize Rows and Columns
Resize Rows and Columns

In the new "Sort by" dropdown, choose "Column C". In the "Sort On" dropdown, choose "Values". In the "Order" dropdown, choose "Largest to Smallest". Click "OK" to sort your data by both columns at once.

Sorting with Non-Numeric Data

a laptop computer sitting on top of a desk next to a monitor with the words automateally number rows
a laptop computer sitting on top of a desk next to a monitor with the words automateally number rows
Excel Sort by Column or Row One or Multiple Sort by Cell Color Font Color Customize Sort
Excel Sort by Column or Row One or Multiple Sort by Cell Color Font Color Customize Sort
How to Add a Column in Excel Without Moving Data the Wrong Way
How to Add a Column in Excel Without Moving Data the Wrong Way
Autofit Rows and Columns in Excel with VBA
Autofit Rows and Columns in Excel with VBA
165K views · 992 reactions | Learn VLOOKUP in Excel 🔍 | Fetch Multiple Columns Easily #exceltips | excel_funclub | Facebook
165K views · 992 reactions | Learn VLOOKUP in Excel 🔍 | Fetch Multiple Columns Easily #exceltips | excel_funclub | Facebook
How to Sort Multiple Columns in Excel (5 Quick Methods) - ExcelDemy
How to Sort Multiple Columns in Excel (5 Quick Methods) - ExcelDemy
Excel Tutorial - Sort Data Automatically based on multiple columns without using macros
Excel Tutorial - Sort Data Automatically based on multiple columns without using macros
Sort data by color in Excel
Sort data by color in Excel
How to Transpose data from rows to columns in excel
How to Transpose data from rows to columns in excel
Tom’s Tutorials For Excel: Using SUMPRODUCT on Multiple Columns – Tom Urtis
Tom’s Tutorials For Excel: Using SUMPRODUCT on Multiple Columns – Tom Urtis
How to Combine Two Columns in Microsoft Excel
How to Combine Two Columns in Microsoft Excel
How to Split Text Data of a Cell to Column in Excel - ExcelDataPro
How to Split Text Data of a Cell to Column in Excel - ExcelDataPro
Tables in Excel
Tables in Excel
an excel spreadsheet showing the number and type of columns in each column,
an excel spreadsheet showing the number and type of columns in each column,
Five Minute Lessons
Five Minute Lessons
Excel Pro Trick: Combine Merge Multiple Columns into One Column with #Excel TOCOL Function Quickly
Excel Pro Trick: Combine Merge Multiple Columns into One Column with #Excel TOCOL Function Quickly
How to Rearrange Columns in excel quickly - Tamil
How to Rearrange Columns in excel quickly - Tamil
How to Hide Columns in Excel Without Deleting Data
How to Hide Columns in Excel Without Deleting Data
How to Sort a Column Using VBA in Excel (4 Methods) - ExcelDemy
How to Sort a Column Using VBA in Excel (4 Methods) - ExcelDemy
Excel Tricks: How to Freeze Rows or Columns in Excel
Excel Tricks: How to Freeze Rows or Columns in Excel

What if you have non-numeric data in your columns? You can still sort by these columns, but you'll need to ensure the data is in the correct format.

For example, if you have text data in Column A, you can sort it alphabetically by selecting any cell in the column, clicking "Sort & Filter", and choosing "Sort A to Z" or "Sort Z to A". If your text data includes numbers (like "10Apples"), you'll need to convert the numbers to text before sorting. To do this, select the column, click "Home" > "Number" > "Text".

Sorting with Dates

Sorting by date columns follows a similar process to sorting by numeric columns. Select any cell in the column, click "Sort & Filter", and choose the appropriate sort order. Excel will sort dates correctly, even if they're formatted as text.

Remember, sorting by multiple columns is a powerful tool for organizing and analyzing data. It's a crucial skill for anyone working with Excel.

Now that you've mastered sorting multiple columns in Excel, you're ready to tackle even the most complex datasets. Happy sorting!