×

Custom Sort Order in Excel

Microsoft Excel Worksheet is widely used for office, personal and various usages. The data present in the worksheet is a combination of numbers and alphabets. If the worksheet contains more content, organizing the worksheet is more critical for a good and easy viewing of data. To manage the worksheet, Excel provides a default function called SORT, which is used to sort the data based on user preference. The content or data in the worksheet is sorted based on alphabetic, numeric and anyways. The Sorting process in Excel is done in multiple ways, like, sorting data, sorting range, and sorting a sheet and a cell.

What is Custom Sorting?

Excel provides default sorting option. But sometimes, the user needs to sort the data based on their preference. To sort the order based on the preference, Excel provides the option to create custom list for the desired sorting order. This process is called Custom Sorting.

Method #1. How to create a Custom Sorting?

To create a custom sorting, the steps to be followed are,

Step 1: Enter the data in the worksheet based on respective rows and columns.

Custom Sort Order in Excel

Step 2: From the data, select the desired cell in the column which needs to be sorted in the order. Here the cell F1 is selected.

Step 3: Choose the Sort Command from Data Tab.

Custom Sort Order in Excel

Step 4: A sort dialog box will display. In that enter the value in Sort by list. Here the value is entered as House, where the data are arranged based on the house size such as Small, Medium and Large. In the Sort on choose Values, and choose the Custom List from the order.

Custom Sort Order in Excel

Step 4: After selecting the Custom List, the custom list dialog box will appear, in that choose, New List from Custom List. Enter the respective entries in the “List the entries” dialog box. Here the entries are based on the house size, hence add the entries as Small, Medium and Large .Enter the individual entries by clicking the Enter key after entering the single entries. Choose the “Add” button, to add the entries in the Custom List. The new sort order will display in the Custom List box. Select the “New list” in the Custom list and click Ok.

Custom Sort Order in Excel

Step 5: The custom lists dialog box will close after pressing the OK button. Press OK in the Sort dialog box where the custom sort is performed.

Custom Sort Order in Excel

From the above worksheet, the data is arranged in a custom order like SMALL, MEDIUM and LARGE.

Method #2. How to sort the multiple columns in a data?

From the previous concept, the data is arranged based on custom order using the sort dialogue box. In that method, the values or data present within the column is interchanged. Here in this concept, the columns are sorted based on the values from smallest to largest and largest to smallest using add level option. To sort the single or multiple columns by using add level option, the steps to be followed are,

Step 1: Enter the data in the worksheet based on respective rows and columns.

Step 2: Here the column which contains serial number is selected for sorting.

Custom Sort Order in Excel

Step 3: Choose the Sort Command from Data Tab.

Custom Sort Order in Excel

Step 4: A sort dialog box will display. Enter the column name in the Sort by list. Here the column name is entered as Serial Number. If one more column needs to be added, choose the add list in the Sort dialog box.

Custom Sort Order in Excel

From the above method, the column name serial number is added in the sort by column. If the user wants to add more columns, click the add level option.

Custom Sort Order in Excel

The add level option is used to add one or more column. Here the column called “NAME” is chosen where the name is to be sorted from “A to Z”.

Custom Sort Order in Excel

From the above image, two columns are selected for sorting based on the order. After the column is selected, the data are arranged in the specified order.

Custom Sort Order in Excel

From the above worksheet, the Serial Number is arranged from smallest to largest order. To sort the name from A to Z, same method should be followed.

Summary

From the above method, the steps and methods to customize the data is explained briefly.


Related Topics

Locate Maximum Values in Excel

Excel is a combination of numeric values and numbers. To retrieve the result, Excel provides various formulas and functions. Sometimes the user needs to find the largest value from the...

5 minutes read.

Operators in Excel

In MS Excel, operators are used to defining the operation you want to perform on the used elements or between variables. There are four types of operators: Arithmetic operators, Comparison...

4 minutes read.

Basics of Excel

Different ways to open an excel file There are various ways to open an excel file, some of them are listed below - From Start Menu:Go to the start menu and search for Ms-Excel...

5 minutes read.

Converting Units in Excel

The numeric values present in Excel consist of various types such as constant, integer, decimal etc. For calculation purposes, the values present in the data need to be converted to...

4 minutes read.

Excel Themes

Microsoft Excel contains various features to enhance the appearance of the worksheet like text color, font size and general outlook of the objects. The users are provided with multiple theme...

3 minutes read.

Excel MOD() Function

Excel MOD() Function The MOD() function in excel returns the remainder after a number is divided by a divisor Syntax MOD(number, divisor) Parameter Number(required)- This parameter represents the number which you want to divide. Divisor(required)- This parameter represents...

1 minute read.

Data Analysis in Excel

Data Analysis in Excel Data analysis is a powerful tool that helps the users to make better decisions by comparing different information. Microsoft Excel extends its credibility to enforce the data analysis tool...

6 minutes read.

Insert Row in Excel

It was known that we have various multiple ways that are extremely helpful in inserting a particular row in the Microsoft Excel. And we have lots of shortcut options available...

6 minutes read.

Check Marks in Excel

What is a Check Mark? Among various characters checkmark is one of the characters used to indicate that the item or product in the list is correct, chosen or selected. A...

5 minutes read.

How to lock cells in Excel?

How to lock cells in Excel? The locked cells feature used to protect and secure your Excel sheet or workbook from the unauthorized access. If the cells are locked, it can’t be deleted, reformatted,...

5 minutes read.

Data Validation in Excel

What is Data Validation? Data Validation is one of the features in Excel that allows user to restrict values which other people can fill in – for example, in a form, you may...

4 minutes read.

Excel EOMONTH() Function

Excel EOMONTH() Function The EOMONTH() function in excel returns the serial number of the last day of the month before or after a specified number of months. Syntax EOMONTH (Start_Date, Month) Parameter Start_Date(required)- This parameter...

1 minute read.

Excel SECOND() Function

Excel SECOND() Function The SECOND() function in excel converts a serial number to SECOND (0 - 59). Syntax SECOND (SERIAL_NUMBER) Parameter SERIAL_NUMBER (required)- This parameter represents the date or time from which you want to extract...

1 minute read.

Excel EXACT() Function

The EXACT() function in excel checks whether the specified values (texts, numbers) are exactly the same or not. It returns a Boolean value TRUE if the compared values are same, else it...

1 minute read.

SumIF Formula in Microsoft Excel

SUMIF Formula in Microsoft Excel is considered the primary and vital formula individuals can use to remove their workload. In this tutorial, we will discuss and learn about the SUMIF Formula...

7 minutes read.

Excel WORKDAY() Function

Excel WORKDAY() Function The WORKDAY() function in excel returns the serial number of the date before or after a specified number of workdays. Syntax WORKDAY (START_DAY, DAYS, [HOLIDAYS]) Parameter START_DAY (required)- This parameter represents the...

1 minute read.

Excel LEFT() Function

The LEFT () function in excel returns the leftmost characters from a text value. This function is used for data manipulation. Syntax LEFT(Text, [num_chars]) Parameter Text (required)- This parameter represents the string from which you want to...

1 minute read.

Excel ROUND() Function

Excel ROUND() Function The ROUND() function in excel rounds the numbers to specified digits. Syntax ROUND(Number,num_digits) Parameter Number(required)- This parameter represents the number which you want to round up. num_digits(required)- This parameter represents the number of decimal places to which...

1 minute read.

Excel TEXT() Function

The TEXT () function in excel converts a supplied numerical value into the text of a specific format. Syntax TEXT(Value, Format_text) Parameter Value (required)- This parameter represents the value for which we need to...

1 minute read.

How to remove duplicate values from excel?

Remove duplicate values from excel Duplicate values occur when the same date or set of values is repeated in your Excel sheet. While working with Excel sheets many a time, the...

5 minutes read.