How to use the SORT function in Microsoft Excel

Although Microsoft Excel provides a built-in tool for sorting data, you may prefer the flexibility of functions and formulas.

The advantage of using the SORT function is that you can sort the data at different locations. If you want to manipulate projects without interfering with the original data set, you'll love the SORT function in Excel. However, if you prefer to sort items in-place, you should use the sort function.

Use the amazing SORT function in Excel to sort Excel data by one or more columns. Let's try it.

1. The following simple SORT function has only one parameter (A2:D12). By default, the SORT function sorts by the first column in ascending order (Last Name).

NOTE: This dynamic array function is entered into cell F2, filling multiple cells.

2. Use the second parameter of the SORT function to sort by different columns. The SORT function below sorts by the second column (Sales).

NOTE: Just edit the formula in cell F2. Excel will do the rest.

3. Use the third parameter of the SORT function to sort in a different order. The SORT function below sorts by the first column in descending order.

Guess you like

Origin blog.csdn.net/wyxtx/article/details/131782988
Recommended