How to Sort by Color in Excel?

We can separate the data cells that have the same color by sorting the data by color. There are numerous ways to sort by color, including by font color, cell color, and more. When sorting data by color, we may additionally include more levels. Analysis is relatively simple and time-efficient when sorted by color.

How to sort by single color/ Sort by Cell Color?

Given a dataset of Students attendances. In the given data set the rows are colored with green whose attendances are greater than 85%. Try putting all the cells at the top whose attendances are greater than 85%.

Sort by Color

Steps for sorting data by single color:

Step-1: Select the cells you want to apply the sort to. (Cells A2 to B11 in the example).

Sort by Color

Step 2: Select the Data Tab and then select the Sort option. Choose Sort from the menu. This will bring up the Sort dialog box.

Sort by Color

Step 3: Make sure “My Data has headers” is chosen in the Sort dialog box. You can leave this option unchecked if your data doesn’t include headers.

Sort by Color

Step 4: There are multiple choices in the pop-up.

Add Level: Depending on the priority, we can add various levels using this option.

Delete Level: It aids in erasing the extra levels.

Copy Level: It enables us to duplicate various levels in order to reorganize the priority.

Sort by Color

Step 5: Select the basis on which you wish to sort the data under Sort by column.

Step 6: Select “Cell Color” under “Sort On” to arrange your cells according to the color of their backgrounds.

Sort by Color

Step 7: Select the color you wish to retain at the top or bottom of the list by clicking the “Order” drop-down menu.

Sort by Color

Step 8: Choose where you want to put the cells with the chosen color by clicking the drop-down menu next to this one. You have two choices: “On Top” and “On Bottom.”

Sort by Color

Step-9: Click OK. Result outlined below:

Sort by Color

How to Sort by Multiple Color in Excel?

Given a dataset of Students attendances. In the given data set the rows are colored with green whose attendances are greater than 80% and red whose attendance are below 80%. Try putting all the cells at the top whose attendances are greater than 80%.

Sort by Color

Steps for sorting data by Multiple color:

Step-1: Select the cells you want to apply the sort to. (Cells A2 to B11 in the example).

 Sort by Color

Step 2: Select the Data Tab and then select the Sort option. Choose Sort from the menu. This will bring up the Sort dialog box.

Sort by Color

Step-3: Select “Attendance” from the “Sort By” drop-down menu. This is the column that we intend to use to sort the data.

Sort by Color

Step-4: Go to the ‘Sort On’ drop-down menu and select Cell Color.

Sort by Color

Step-5: Pick the first color you want to use to sort the data from the ‘Order’ drop-down. It will display each and every color found in the dataset. Choose green.Sort by Color

Step-6: Choose your first fill color and retain On Top for the Order value.

Sort by Color

 

Step-7: In the panel’s upper left corner, click the Add Level button. This will result in the addition of another sort order rule.

Sort by Color

Step 8: Select the basis on which you wish to sort the data under Sort by column.Sort by Color

Step-9: Go to the ‘Sort On’ drop-down menu and select Cell Color.

Sort by Color

Step-10: Select the second color you wish to use to sort the data in the ‘Order’ drop-down. It will display each and every color found in the dataset. Choose Red.

Sort by Color

 

Step-11: Choose On-Bottom from the second drop-down menu under Order.

Sort by Color

Step-12: Click OK. Result outlined below:

Sort by Color

How to sort data by font color?

Steps for sorting by font color:

Step-1: Select the cells you want to apply the sort to. (Cells A1 to B11 in the example).

Sort by Color

Step 2: Select the Data Tab and then select the Sort option. Choose Sort from the menu. This will bring up the Sort dialog box.

Sort by Color

Step-3: Select “Attendance” from the “Sort By” drop-down menu.

Sort by Color

Step-4: Go to the ‘Sort On’ drop-down menu and select Font Color.

Sort by Color

Step-5: Pick the red color to sort the data from the ‘Order’ drop-down.

Sort by Color

 

Step-6: Choose ‘On Top’ for the Order value.Sort by Color

Step-7: Click OK. Result outlined below:

Sort by Color

How to bring back original order of the data?

  • You can easily restore the data to its initial state by using the Undo button (or the shortcut Ctrl + Z). However, you can only accomplish this if you do it immediately after applying filters. After much editing and closing and reopening of workbooks, this would not be a trustworthy way to employ.
  • The most dependable technique is to temporarily add a new column with sequential numbering and then, to return to the initial condition, filter using the temporary ordinated column.

Steps for bringing back the original order of the data:

Step-1: Prepare a data table with sequential numbering outlined below:

Sort by Color

Step-2: After different Sorting, if you want to revert back, Select the Data Tab and then select the Filter option.

Sort by Color

Step-3: Select the dropdown arrow appeared in Index cell.

Sort by Color

Filter result will be appeared, outlined below:

Sort by Color

You may be interested:

  1. Financial Dashboards
  2. Sales Dashboards
  3. HR Dashboards

Leave a Comment

Your email address will not be published. Required fields are marked *

Categories