How to Sort in Excel by Color [3 Techniques]

Microsoft Excel allows us to sort data in Excel based on cell colors, font colors, and conditional formatting colors. In this article, you will learn 3 techniques to sort in Excel by color.

Use the Sort Command to Sort in Excel by Cell Color

If you want to sort data in Excel based on cell color, follow the steps below:

Step_1: Click on any cell of your dataset.

Step_2: Go to the Data tab and click on the Sort button.

Go to the Data tab and click on the Sort button to sort in Excel by cell color

The Sort dialog box will appear.

Step_3: Under the Column section, select the name of the column to sort based on that column’s data.

For this instance, I’m selecting the column “Author”. Because I want to sort based on the cell colors of this column.

Step_4: From the Sort On section, select Cell Color.

Step_5: In the Order section, select the cell color that you want to keep at the top.

I’m selecting the Green color for now.

Step_6: After that click on the Copy Level button.

This will copy the setting that you’ve just set and create another level for you.

You can also click on the Add Level button. But that will create a brand new level and you have to tweak the settings from scratch then.

The Sort dialog box: Sort in Excel by cell color

Step_7: In the copied layer, select another cell color and click on the Copy Level again.

Select another cell color and click on the Copy Level again

Step_8: This time, select the next cell color that you want to keep after your previous selection of cell colors.

And continue this process until you are done with all the cell colors.

Step_9: After making the order of all the cell colors, hit the OK button.

Now you will have your data sorted by their cell colors as in the picture below:

Sort data in Excel based on cell color

Sort in Excel by Font Color

If you have data with various font colors and want to sort them according to their font colors, then proceed with the following steps.

Step_1: First of all, select any cell of your data table.

Step_2: Then go to Data > Sort.

Go to Data > Sort to sort in Excel by font color

The Sort dialog box will appear.

Step_3: Select the column name to sort based on its font colors in the Column section.

Step_4: Choose Font Color in the Sort On section.

Step_5: Then choose a font color from the Order section and hit the Copy Level button.

The Sort dialog box: Sort in Excel by font color

Step_6: Select another font color in the copied level and hit the Copy Level button again.

Select another font color in the copied level and hit the Copy Level button again

Step_7: Choose another font color in the copied level and continue this process until you are done choosing all the font colors.

Step_8: Finally hit the OK button.

Continue this process until you are done choosing all the font colors

Now your data will be sorted based on their font colors as in the picture below:

Sort in Excel by font color


How to Sort Multiple Columns in Excel (4 Techniques)

How to Sort in Excel by Name (3 Techniques)

How to Sort by Number in Excel (4 Techniques)


Sort by Conditional Formatting Command in Excel

The usage of Conditional Formatting icons is one of the convenient ways to format data based on their properties.

Excel allows sorting data based on Conditional Formatting colors.

If you are looking for ways to sort your data based on the Conditional Formatting icons, follow the steps below:

Step_1: Click on any cell of your dataset.

Step_2: Then go to the Data tab and hit the Sort button.

Go to the Data tab and hit the Sort button to Sort by Conditional Formatting Color in Excel

Step_3: Select the name of the column in the Column section where the Conditional Formatting icons are.

Step_4: Then move on to the Sort On section and choose the Conditional Formatting icon.

Step_5: In the Order section, choose the first Conditional Formatting icon that you want to put on the top.

Step_6: Then hit the Copy Level button.

Move on to the Sort On section and choose the Conditional Formatting Icon

Step_7: Select another Conditional Formatting icon in the copied level,

Step_8: Then hit the Copy Level button again.

Step_9: Go ahead with selecting another Conditional Formatting icon and continue this process until all the icons are selected.

Step_10: Finally hit the OK button to see the changes.

Finally hit the OK button to see the changes

Finally, you will see your data sorted as per the Conditional Formatting icons just like in the picture below:

Sort by Conditional Formatting Color in Excel

How to Sort Rows by Color in Excel

If you have rows with different colors, you can easily sort them based on the row colors.

Now follow the steps below to sort rows by color in Excel.

Step_1: First of all, click on any row to select.

Step_2: Then go to the Data tab and hit the Sort button.

The Sort dialog box will appear.

Step_3: Now select any column name in the Column section.

Step_4: Select Cell Color from the Sort On drop-down.

Step_5: From the Order drop-down, select any row color that you want to keep at the top.

Step_6: After that hit the Copy Level button.

Step_7: Then choose another row color from the Oder drop-down and hit the Copy Level button again.

Step_8: Choose the next row color that you want to keep after your previous selections of row colors.

Now continue this process on and on until you are done sorting all the row colors.

Step_9: Finally hit the Ok command to apply changes.

After that, you will see your rows sorted by color just like in the picture below:

Sort Rows by Color in Excel


How to Sort in Excel by Date (3 Ways)

How to Sort Data in Excel Using a Formula (7 Formulas)


Conclusion

In this article, I’ve discussed sorting techniques in Excel based on cell color, font color, and conditional formatting icons. Feel free to comment on anything regarding the topic. I will try to respond as soon as possible.

Rate this post

Similar Posts

Leave a Reply

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