# Learn How to Sort by Custom List in Microsoft Excel

Written by | 0 Comments | 591 Views

In this article, you will learn how to evaluate things in Dynamic Arrays with formulas in Microsoft Excel using a single/combination(s) of functions. You will also know How to Sort by Custom List and see the generic formula.

Learn How to Sort by Custom List in Microsoft Excel

The main purpose of this formula is to sort a list in a custom order. Here we will learn how to sort by custom list in the given data range in the workbook in Microsoft Excel. That implies, with the help of a formula based on the SORTBY and MATVH functions you can able to sort a list in a custom order,. So, with the help of this formula, you can able to sort by custom list in the given data range in the workbook in Microsoft Excel.

General Formula to Sort by Custom List

=SORTBY(rng,MATCH(rng,custom,0))

The Explanation to Sort by Custom List

So we know that with the help of the given formula above you can able to sort a list in a custom order. Here we will learn how to sort by custom list 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. In the example given here, we are unable to use the named range "custom" directly in SORTBY. So, with the help of this formula, you can able to sort a list in a custom order. So now you have learned how to sort by custom list in the given data range in the workbook in Microsoft Excel.