Sorting by Columns

In this article, we are going to learn how to sort data by columns. In Excel, we have default setting for sorting in Ascending or Descending order is by row.

Excel sorts data according to specific sort order rules. We can sort the number data as per ascending order and descending order. And, sort the text according to alphabets A to Z and Z to A in Microsoft Excel.

This option is available in the Data Tab under the Sort & Filter group.


image 1


Let’s take an example to understand how we can sort the data by column.

We have data in range A1:E10 in which every column contains the number. Now, we need to sort the data as per columns number.

To sort data by column, follow below given steps:-

  • Select the cell A1.
  • Go to Data tab, select Sort from the Sort & Filter group.
  • Sort dialog box will appear.

image 2

  • Click on options button.
  • Sort Options dialog box will appear.
  • Select the sort left to right option button and click OK.

image 3

  • In the Sort by option of the sort dialog box, select the row number by which the columns will be sorted.

image 4

  • In the order option of the sort dialog box, select the order Smallest to Larges, and click on OK.

image 5

  • Data will get sorted as per the column data.

image 6

This is the way we can sort by columns in Microsoft Excel.


image 48
If you liked our blogs, share it with your friends on Facebook. And also you can follow us on Twitter and Facebook
We would love to hear from you, do let us know how we can improve, complement or innovate our work and make it better for you. Write us at


Leave a Reply

Your email address will not be published. Required fields are marked *

Terms and Conditions of use

The applications/code on this site are distributed as is and without warranties or liability. In no event shall the owner of the copyrights, or the authors of the applications/code be liable for any loss of profit, any problems or any damage resulting from the use or evaluation of the applications/code.