Elite Membership

Column Sort in Excel

Written by Jeevan A Y Jeevan A Y Freelance Writer Jeevan, a seasoned data expert with 7 years in MIS reporting, excels in Advanced Excel, VBA, Power BI, and SQL. Currently an Assistant Manager MIS, his insightful data storytelling drives swift decision-making. MBA graduate with Finance & Marketing specializations. Published author on 7+ years of experience MBA (Finance & Marketing) Finance View Full Profile
Reviewed by Dheeraj Vaidya, CFA, FRM Dheeraj Vaidya, CFA, FRM Content Reviewer & Course Director Dheeraj is a former J.P. Morgan and CLSA Equity Analyst with nearly two decades of experience in financial modeling, valuation, equity research, and corporate finance. He specializes in helping students and professionals develop practical and in-demand finance skills through structured and AI-powered, 20+ Years of experience CFA, FRM, IIT Delhi, IIM Lucknow Financial Modeling View Full Profile
Updated Dec 19, 2024
Read Time 3 min

Part of our Data Analysis in Excel guide · 72 articles →

How to Use Column Sort in Excel? (Step-by-Step)

Follow the below steps to sort the column in Excel:

  1. For example, we must select the data. Select means we do not have to select all the data but choose as per the below image. We will select only the columns from B to M.
  2. We must go to the “Data” tab and select the “Sort” option. (We can also press ALT + D + S).
  3. Now, we will click on “Options.”
  4. Clicking on the “Options” button will open up the below dialogue box. First, we must select “Sort Left to Right.”

    Once we select this option in Excel, it understands the data from right to left instead of top to bottom.

  5. We need to click on Excel’s “Sort by” drop-down list. As a result, we will not see any header. Instead, it shows only Row1, Row2, and Row3, as shown below.
  6. It will understand our requirements here. Now, we need to sort the data month-wise. Our month is in the first row. So, we must select “Row 1” as the option. Since we are sorting the data month-wise from Jan to Dec, it becomes oldest to newest. So select “Oldest to Newest” under the “Order” section.
  7. Click the “OK” button to sort the data from Jan to Dec.

Example to Sort Column in Excel

I was in an interview, and I have given data from the hiring manager to sort out the data based on the heading. He has given me the below data and asked me to sort the data. The first column should be “Revenue,the second one should have “Cost,and the final column should be “Profit.

Download FREE Column Sort Excel Template and Follow Along!
Download Excel Template
Column Sort in Excel Step 1

I thought for a minute that he did not ask me to sort the data alphabetically. If that were the case, it would have been a walk in the park for me. Instead, he asked me to sort differently.

After thinking for a minute, I remembered the “Custom Sort” option. In “Custom Sort,” we can mention headings, and decide which one to come first, second, etc for Column Sort in Excel.

  • Step 1: We must select the data.
Step 2
  • Step 2: Press ”ALT + D + S” and go to ”Options.
Step 3
  • Step 3: We must select “Sort left to right.”
Step 4
  • Step 4: Click on “OK,” and under the “Sort by” option, select “Row1.”
Step 5
  • Step 5: Since we need to do a custom sort, we cannot select A to Z, but we must choose the “Custom List” option.
Step 6
  • Step 6: Under the custom list, we can mention our order of the sort. Under “List entries,” we have said our order.
Step 7
  • Step 7: Click on “OK.” The “Order” list will be shown in the “Sort” dialog box.
Step 8
  • Step 8: Click on “OK.” It will sort the data according to the values we have given.
Step 9

Things to Remember

  • It is important to select the options and set our sorting method as “Sort right to the left.” Otherwise, it will sort it as row type.
  • It is beneficial to sort in case of arranging headings alphabetically.
  • Unlike row sorting, there is no “My Data Has Header” option in column sorting.
  • We can sort the dates from oldest to newest.

This article is a guide to Column Sort in Excel. Here, we discuss how to sort a column in Excel using Excel examples and downloadable Excel templates. You may also look at these useful Excel tools: –

Explore the full Data Analysis in Excel guide or browse Excel Resources.