Explanation

In this example, we are sorting a table with 10 rows and 3 columns.

The goal is to sort the table using values in the Group column in this same custom order.

This array is passed into the SORTBY function as theby_array1argument.

Excel formula: Sort by one column

The range or array used to sort does not need to appear in results.

MATCH supports approximate and exact matching, andwildcards(* ?)

Often, MATCH is combined with the…

Excel formula: Sort by two columns

Excel formula: Random sort

Excel formula: Sort text by length

Excel SORTBY function

Excel MATCH function