HomeGoogle DocsSpreadsheetFilter or Sort by Font or Cell Color in Google Sheets -...

Filter or Sort by Font or Cell Color in Google Sheets – Built-in Feature

Published on

Earlier many of us were using scripts or add-ons to filter or sort a dataset by font or cell fill color in Google Sheets. That’s the story of the past! A new built-in feature for the same is now available in Sheets.

Google has started rolling out this feature from early this month (March 2020). You can now filter or sort your data by font color (text color) or cell color using the Data menu Filter command. Google has announced the same via their G Suite Updates Blog.

As per the blog post, this feature will be available not only to G Suite customers but also to users with personal Google Accounts.

Let’s see how to filter/sort by cell font or cell background color in Google Sheets.

How to Filter by Font or Cell Color in Google Sheets

I have a sample list containing the advance amount requirement from employees.

The green color highlighted cells (as per the image below) indicate that the request has been approved and the orange color highlighted cells indicates that the request is under consideration.

See how I am filtering the approved advance amounts based on the cell fill color (background color).

  • First of all, select the data range A1:B and filter it from the menu Data > Create a filter.
  • Click on the down arrow on cell B1.
  • Since we want to filter by the cell background color, click on Filter by color > Fill color and click on the color to filter by (as per our example, it the green color).
Filter by Cell Color in Google Sheets

This way we can filter a dataset by cell color in Google Sheets.

To filter a dataset or table by font color, follow the above same steps. But instead of “Fill color” select “Text color”.

In the above example, the menu item “Text color” is disabled as there is no font color to filter by.

How to Sort by Font or Cell Color in Google Sheets

As already mentioned above, now you can sort your data by cell color or font (text) color in Google Sheets. Compared to filter by cell color, this sorting of data has one advantage!

Before coming to that (advantage) let me show you how to sort a dataset by font/cell color.

Steps to follow:

  • Click on the drop-down on cell B1.
  • Since we want to sort by the cell background color aka cell fill color, click on Sort by color > Fill color and click on the color to sort by.
Sort by Cell Color in Google Sheets

What is the advantage of this feature (sorting) over filter by cell color?

The filter helps us to see our required data by filtering out (hiding) unwanted rows. On the other hand, using sorting, we can prioritize our viewing of data. I mean with sorting we can move our required data to the top of the table.

We can do multiple sort to prioritize our viewing of required data. That’s the said advantage. How?

Assume I want to sort the below list by the font colors Green > Blue > Red.

Order by Font Color

I can do that by following the below steps.

  • Click on the Filter Drop-down > Sort by color > Text color > Red.
  • Then click on Sort by color > Text color > Blue, and finally;
  • Click on Sort by color > Text color > Green.

The output will be as below.

Sheets tips - Sort and Filter

Conclusion

Filter/Sort by cell/font color was one of the most sought out features in Google Sheets. It’s good to see that Google has finally added that.

The above feature is only available within the Data menu ‘Create a filter’ as well as the Data menu ‘Filter view’.

It’s so far not available within the other filter tools in Google Sheets like the Slicer and Pivot Table.

If you are not seeing this feature on your sheet, go to the File menu and create a new sheet. Then check. Still not available? Wait for Google to roll out this feature for you.

Related Tutorials:

Prashanth KV
Prashanth KV
Your Trusted Google Sheets and Excel Guide Prashanth KV brings a wealth of experience in Google Sheets and Excel, cultivated through years of work with multinational corporations in Mumbai and Dubai. As a recognized Google Product Expert in Docs Editors, Prashanth shares his expertise through insightful blogging since 2012. Explore his blog for practical tips and guidance on maximizing your spreadsheet skills.

Counting XLOOKUP Results with COUNTIFS in Excel and Google Sheets

We can use COUNTIF or COUNTIFS alongside an XLOOKUP formula to conditionally count the...

Appointment Schedule Template in Google Sheets

An appointment schedule template in Google Sheets can assist you in efficiently managing your...

Creating Sequential Dates in Equally Merged Cells in Google Sheets

Do you know how to create sequential dates in equally merged cells across a...

Running Total By Month in Excel

This tutorial demonstrates how to calculate the running total by month in a range...

More like this

Appointment Schedule Template in Google Sheets

An appointment schedule template in Google Sheets can assist you in efficiently managing your...

Creating Sequential Dates in Equally Merged Cells in Google Sheets

Do you know how to create sequential dates in equally merged cells across a...

Interactive Random Task Assigner in Google Sheets

You have multiple tasks and multiple people. Here's a fun way to randomly assign...

3 COMMENTS

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.