Google Sheets™ add-on

Function By Color Google add-on for Google Sheets™

Function By Color helps you calculate colored cells in Google Sheets™ by background fill color or text color. Use it to count, sum, average, find min and max, count blank cells, and summarize color-coded spreadsheet data without manual checking.

Function By Color sidebar for Google Sheets
Select range Choose color Apply function
Best for color-coded sheets Summarize tasks, grades, inventory, finance, and other data that already uses fill or font colors.
Count colored cells in Google Sheets Background and text color CELLSBYCOLOR custom function
154K+ Users shown on Google Workspace Marketplace
155 User reviews shown on Google Workspace Marketplace
Free trial Try Function By Color before choosing a subscription
Best use cases

Use Function By Color when color is part of your spreadsheet workflow

Start with the problems spreadsheet users recognize first: color-coded tasks, grading, sales tracking, inventory, finance notes, and quick summaries from existing visual labels.

Supported functions

Calculate by background fill color or text color

Function By Color supports the common spreadsheet calculations users look for when they ask how to count colored cells in Google Sheets or sum cells by color.

SUM

SUM by color

Add numeric values from cells that match the selected background fill color or text color.

AVG

AVERAGE by color

Average numeric values from one color group instead of building manual helper columns.

PROD

PRODUCT by color

Multiply numeric values for a selected color group when your spreadsheet uses color as a category.

COUNT

COUNT numbers by color

Count numeric cells matching the selected fill color or font color.

TEXT

COUNTA text by color

Count text cells in a color group when you need totals for labels, names, notes, or statuses.

BLANK

COUNTBLANK by color

Find empty cells that still belong to a selected background or text-color group.

MIN

MIN and MAX by color

Find the smallest or largest value inside a matching color group.

MODE

MODE and MEDIAN by color

Summarize the common or middle value for cells that share the same visual category.

STAT

STDEV and VAR by color

Use statistical functions for numeric color groups when the sheet needs deeper analysis.

How to use

Install Function By Color, select a range, choose a color, and apply a function

Follow the workflow for choosing a color, selecting a calculation, and applying Function By Color in Google Sheets™.

Formula examples

Use sidebar formulas or the CELLSBYCOLOR custom function

Function By Color supports a sidebar workflow and a custom function for grouped color summaries.

1

Calculate a selected color group

The sidebar can insert formulas for matching fill color and text color in the selected range.

=SUM(CELLSVALUEBYCOLOR("#4a86e8", "#0c343d", "C3:C12"))
2

Average values grouped by font color

CELLSBYCOLOR can return a color-by-value summary for each matching font color group.

=CELLSBYCOLOR("A2:D40", "font", "AVERAGE")
3

Sum values grouped by background color

Use background mode when the fill color is the visual category for the sheet.

=CELLSBYCOLOR("A2:D40", "background", "SUM")
4

Color-by-value summary

The output can become a quick summary table for color-coded spreadsheet analysis.

background or font + SUM, COUNT, AVERAGE, MIN, MAX, and more
Product screens

A clearer sidebar and spreadsheet workflow

Preview Function By Color screens before you open the Google Workspace Marketplace listing.

FAQ

Common Function By Color questions

Quick answers about background color, font color, counting, formulas, and supported calculations.

Function By Color is built for this need. It helps count colored cells in Google Sheets™ by background fill color or text color.
Yes. You can work with background fill color and font or text color.
Supported calculations include SUM, COUNT, COUNTA, COUNTBLANK, AVERAGE, MIN, MAX, PRODUCT, MODE, STDEV, VAR, and MEDIAN.
CELLSBYCOLOR is a custom function that summarizes values grouped by either font color or background color.
Yes. The tutorial flow includes choosing a result cell, then applying the function to place the result in the spreadsheet.
Detailed guide

More details about counting and calculating colored cells in Google Sheets™

Learn how Function By Color, CELLSBYCOLOR, and Google Sheets color calculations help you work with colored cells.

Calculate colored cells without manual counting

Function by color Google app calculates the sum, count, max, min, average, and other colored cells with the same background and text color.

Use it when your Google Sheets™ data already uses colors for priorities, categories, statuses, grades, inventory groups, or financial review states.

The add-on helps identify matching background fill colors and text colors, then applies spreadsheet functions to the selected cell range.

Color calculations in Google Sheets™

Use Function By Color, the Function by color Google add-on for Google Sheets™, to count colored cells in Google Sheets and answer common color-calculation questions.

Extra related phrases were added where they fit naturally: Google Sheets count colored cells, sum by color Google Sheets, count by background color, count by font color, CELLSBYCOLOR, CELLSVALUEBYCOLOR, background fill color, and text color.

Install from Google Workspace Marketplace, follow the tutorial steps, review function examples, and explore related add-ons whenever you need them.

Ready to calculate colored cells in Google Sheets™?

Install Function By Color, select your range, choose background fill color or text color, pick a function, and apply the result to your spreadsheet.

Hi, I am your personal AI assistant