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

Sorting multiple columns in Excel simultaneously can be a breeze once you understand the process. This step-by-step guide will walk you through the process, ens...

Sorting multiple columns in Excel simultaneously can be a breeze once you understand the process. This step-by-step guide will walk you through the process, ensuring you can sort your data efficiently and accurately.

How To Move Multiple Rows and Columns In Excel - The Easy Way!
How To Move Multiple Rows and Columns In Excel - The Easy Way!

Before we dive in, ensure your Excel version is up-to-date. The steps outlined here are applicable to Excel 2016 and later versions. Now, let's get started!

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

Sorting Multiple Columns in Excel

Excel allows you to sort data based on one or more columns. To sort multiple columns together, you'll need to specify the columns in the order you want them sorted.

How to Sort Multiple Columns in Excel Independently of Each Other (2 Easy Ways) - ExcelDemy
How to Sort Multiple Columns in Excel Independently of Each Other (2 Easy Ways) - ExcelDemy

Here's a simple example. Suppose you have a dataset with columns 'A' (Names), 'B' (Countries), and 'C' (Scores). You want to sort this data first by 'Countries' in ascending order, and then by 'Scores' in descending order.

Sorting by One Column

How to sort by multiple columns in Excel
How to sort by multiple columns in Excel

First, let's sort by one column. Select the data you want to sort, 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.

For our example, select the data, click 'Sort & Filter', then 'Sort A to Z' under 'Country'. This will sort the data by the 'Country' column in ascending order.

Sorting by Another Column

How to Sort Multiple Columns in Excel (4 Techniques)
How to Sort Multiple Columns in Excel (4 Techniques)

Now, let's sort by another column. After sorting by 'Country', you'll notice that the 'Sort & Filter' button changes to 'Sort by Color'. Click on the small arrow next to this button to expand the sorting options.

Choose 'Sort by Another Column'. In the dialog box that appears, select 'Country' as the first column to sort by, then click the 'Add Level' button. Select 'Score' as the second column to sort by, and choose 'Descending' from the dropdown menu. Click 'OK'.

Sorting Multiple Columns with Custom Order

How to Sort Multiple Columns in Excel (5 Quick Methods) - ExcelDemy
How to Sort Multiple Columns in Excel (5 Quick Methods) - ExcelDemy

Sometimes, you might want to sort data based on a custom order. For instance, you might want to sort 'Countries' in a specific order, regardless of the alphabet.

To do this, follow the steps above to sort by 'Country' first. Then, instead of adding another column to sort by, click on the 'Options' button in the 'Sort' dialog box. In the 'Custom List' section, click 'Import a List...', then 'From File...'.

Grouping Rows/Columns in Excel📚
Grouping Rows/Columns in Excel📚
Sort Multiple Rows and Columns in Excel
Sort Multiple Rows and Columns in Excel
How to Sort by Multiple Columns (Multisorting) in Excel 2016
How to Sort by Multiple Columns (Multisorting) in Excel 2016
How to Sort Multiple Columns in Excel Pivot Table: Easy Guide
How to Sort Multiple Columns in Excel Pivot Table: Easy Guide
How to Sort Multiple Columns Alphabetically in Excel (4 Methods) - ExcelDemy
How to Sort Multiple Columns Alphabetically in Excel (4 Methods) - ExcelDemy
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
Sort Multiple Rows and Columns in Excel
Sort Multiple Rows and Columns in Excel
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 Sort on Multiple Columns in Excel
How to Sort on Multiple Columns in Excel
Excel Tutorial - Sort Data Automatically based on multiple columns without using macros
Excel Tutorial - Sort Data Automatically based on multiple columns without using macros
How to Use Columns Formula in Excel
How to Use Columns Formula in Excel
How to Sort Multiple Columns of a Table with Excel VBA (2 Methods) - ExcelDemy
How to Sort Multiple Columns of a Table with Excel VBA (2 Methods) - ExcelDemy
How To Sort Based on Multiple Columns in Excel
How To Sort Based on Multiple Columns in Excel
How to Auto Sort Multiple Columns in Excel (2 Useful Methods) - ExcelDemy
How to Auto Sort Multiple Columns in Excel (2 Useful Methods) - ExcelDemy
How to Transpose data from rows to columns in excel
How to Transpose data from rows to columns in excel
Resize Rows and Columns
Resize Rows and Columns
How to Match Multiple Columns in Excel (Easiest 5 ways)
How to Match Multiple Columns in Excel (Easiest 5 ways)
Client Challenge
Client Challenge
SORT and SORTBY with multiple columns
SORT and SORTBY with multiple columns
Vlookup with Multiple Columns in Excel 🎯Vlookup Multiple Values-Vlookup Multiple Criteria #excel
Vlookup with Multiple Columns in Excel 🎯Vlookup Multiple Values-Vlookup Multiple Criteria #excel

Creating a Custom List

In a new Excel worksheet, list the items you want to sort by in the order you want them. For our example, let's list the countries in the order we want them to appear: 'USA', 'Canada', 'Mexico', etc.

Save this list as a text file, then import it into the 'Sort' dialog box. Click 'OK' to close the dialog box, then 'OK' again to sort your data using the custom order.

Sorting with a Custom List

Now, when you sort your data by 'Country', it will use the custom order you've specified. The 'Score' column will still sort in descending order, as specified earlier.

And there you have it! With these steps, you can sort multiple columns in Excel to suit your needs. Happy sorting!