How to Sort Google Sheets by Color in 4 Easy Steps

Sorting Google Sheets by color will improve the data visibility

Reading time icon 4 min. read


Readers help support Windows Report. We may get a commission if you buy through our links. Tooltip Icon

Read our disclosure page to find out how can you help Windows Report sustain the editorial team. Read more

Key notes

  • You can sort Google Sheets by color to quickly organize a large amount of data in cells for different purposes.
  • Using the Filter toggle and the SORT function are the most effective ways to sort Google Sheets data by color.
  • It is also possible to sort Google Sheets with multiple colors and on the basis of the text color.
Sort Google Sheets by color

Sorting by color is an incredibly useful feature of Google Sheets, but implementing it can be tricky for some. Whether you’re working on a large dataset or need to optimize data, the ability to sort Google Sheets data by color can be the real game-changer.

In this guide, we’ve explained the different methods to sort Google Sheets data based on cell color.

How do I sort Google Sheets by cell color?

1. Using Filter toggles

  1. Drag and select the dataset you want to sort by color.
  2. Select Data from the Toolbar and select Create a filter from the drop-down menu.Sort Google Sheets by color
  3. Click the funnel icon present in the header row of the column you want to sort the data by.
  4. Choose Sort by color from the flyout menu and then the Fill Color option from the submenu. After this, choose the color you want to sort data by.Sort Google Sheets by color

The selected dataset will now be sorted, and any rows marked with the selected color will appear at the top. All the other cells will still be in their original order.

2. Using the Sort range feature

2.1 Find the Hex color code

  1. Select the cell with the color you want to find the code of.
  2. Choose Fill Color from the ribbon and click the Addition symbol.How to Sort Google Sheets by color
  3. Copy the hex code for the current color from the text field.Sort Google Sheets by color

2.2 Sort data based on Hex color code

  1. Insert a new column having the hex color code next to the dataset.How to sort Google Shoots by color
  2. Select the entire range of data, including the new column with the hex color code.
  3. Select Data from the toolbar and choose Sort range.How to sort Google Sheets by color
  4. Then choose the column having the hex color code and whether to sort in A to Z or Z to A order.sort Google Sheets data by color

The data will now be sorted based on the column having the corresponding color hex code. Sort range enables you to sort the data in the selected dataset based on the chosen column. Here, the data is sorted according to the column having the hex code representing the color.

How do I sort Google Sheets with multiple cell colors?

  1. Drag to select the dataset with multiple colors.
  2. Select Data from the Toolbar and then Create a filter from the drop-down menu.How to sort Google Sheets data by color
  3. Click the funnel icon present in the header row of the column.
  4. Choose Sort by color from the sub-menu and then the Fill Color option.How to sort Google Sheets data by color
  5. Choose a color group, for instance, orange to sort all the orange rows on the top.Sort Google Sheets by color
  6. Next, follow the same steps and choose red from the Fill Color option. This will sort all the red color rows below the orange ones.How to sort Google Sheets data by color
  7. Follow the same process once again and choose white as the color group this time. This will group all the white color rows on the top, red below them, and orange rows at the bottom.How to sort Google Sheets data by color

Google Sheets follows a pattern when sorting a dataset having multiple colors. Rows having the first color choice will appear at the bottom, and the last color to be sorted appears on the top in the resulting data.

How do I sort Google Sheets by text color?

  1. Select the dataset, choose Data from the toolbar, and select Create a filter option from the drop-down.How to sort Google Sheets data by color
  2. Click the Funnel icon in any header column.
  3. Select Sort by color from the drop-down and then Text color from the sub-menu.How to sort Google Sheets data by color
  4. Choose the blue color option to sort all the blue color text entries at the top of the list.How to sort Google Sheets data by color

If the dataset has more than two text colors, follow the same process for the next text color as well. Similar to the background color, it is also possible to sort Google Sheets data based on their text color.

These are all the possible ways to sort Google Sheets data by color to make data easier to organize. While here, you may also be interested to know how to hide columns in Google Sheets.

If you found this guide useful, or have any suggestions for us, do let us know in the comments section.

More about the topics: Google Sheets

User forum

0 messages