Skip to main content

How to sort data by color in excel?

Author: Xiaoyang Last Modified: 2024-07-15

When using a worksheet, you might color-code rows or cells to enhance readability. If you need to sort these cells by color, Excel's sort function can efficiently organize your data based on color. Here's how to do it:

1. Select the range of data you want to sort by color.

2. Click Data > Sort, and a Sort dialog box will appear, see screenshot:

doc-sort-by-color1

3. In the Sort dialog, click Sort by drop down list and select the column to sort. Then, from the Values drop down list, chose Cell color. Then, from the No Cell Color drop down list, select the color you want to appear at the top.

4. Click Add Level if you need to specify the order for additional colors. See screenshot:

doc-sort-by-color2

5. Finally, click the OK button. The sorted data will appear as follows:

doc-sort-by-color3

Best Office Productivity Tools

🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions
Popular Features: Find, Highlight or Identify Duplicates   |  Delete Blank Rows   |  Combine Columns or Cells without Losing Data   |   Round without Formula ...
Super Lookup: Multiple Criteria VLookup    Multiple Value VLookup  |   VLookup Across Multiple Sheets   |   Fuzzy Lookup ....
Advanced Drop-down List: Quickly Create Drop Down List   |  Dependent Drop Down List   |  Multi-select Drop Down List ....
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Ranges & Columns ...
Featured Features: Grid Focus   |  Design View   |   Big Formula Bar    Workbook & Sheet Manager   |  Resource Library (Auto Text)   |  Date Picker   |  Combine Worksheets   |  Encrypt/Decrypt Cells    Send Emails by List   |  Super Filter   |   Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters, ...)   |   50+ Chart Types (Gantt Chart, ...)   |   40+ Practical Formulas (Calculate age based on birthday, ...)   |   19 Insertion Tools (Insert QR Code, Insert Picture from Path, ...)   |   12 Conversion Tools (Numbers to Words, Currency Conversion, ...)   |   7 Merge & Split Tools (Advanced Combine Rows, Split Cells, ...)   |   ... and more

Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time.  Click Here to Get The Feature You Need The Most...

Description


Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
Comments (8)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
How is the auto-sorting some columns by special color in one column?
This comment was minimized by the moderator on the site
helped alot. thanks.
This comment was minimized by the moderator on the site
This helped me to do what I wanted. Will love to say, thanks!
This comment was minimized by the moderator on the site
I know how to do it using the computer. How about sorting cells by their colour in the Microsoft excel in the android phone app?
This comment was minimized by the moderator on the site
This is was very helpful! It's exactly what I needed to do. I had no idea it was possible until I found your website.
This comment was minimized by the moderator on the site
This helped me do what I wanted to do. Just wanted to say thanks!
This comment was minimized by the moderator on the site
I don't have a a colour choice in the drop down. Not sure what to do from here.
This comment was minimized by the moderator on the site
I had the same problem. The SOLUTION will be explained below:
PROBLEM: No color shown to select in " Add level" in advanced sort Excel (sort cells by color)


You can not select cells of different type and width. Also empty cells in the colomn will abort to show the colors in "Advanced Sort --> Add Level --> Sort Cell Color".

So the solution is to sort it by colom, all the data in this colom has to be the same type (all text / all value/ all empty or nothing empty)
There are no comments posted here yet
Leave your comments
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations