**Learn How to Sort Values by Columns in Microsoft Excel **

The main purpose of this formula is to sort values by columns. Here we will learn how to sort values by columns in the given data range in the workbook in Microsoft Excel.

That implies, with the help of a formula based on the SORT function, you can able to sort values by columns.

So, with the help of this formula, you can able to sort values by columns in the given data range in the workbook in Microsoft Excel.

**General Formula to Sort Values by Columns**

=SORT(data,index,order,TRUE)

**The Explanation to Sort Values by Columns**

So we know that with the help of the given formula above, you can able to sort values by columns. Here we will learn how to sort values by columns in the given data range in the workbook in Microsoft Excel.

As we know thatÂ the SORTBY function allows the sorting based on one or more “sort by” arrays, as long as dimensions are compatible with the source data.

So, with the help of this formula, you can able to sort values by columns. So now you have learned how to sort values by columns in the given data range in the workbook in Microsoft Excel.