Function by Color for Google Sheets
Function by Color for Google Sheets icon

Function by Color for Google Sheets

$15.00 $12.00 ($3 off the 12-month plan)
Version
1.5
License
Shareware
Trial Limitations
30-day fully functional free trial
Operating Systems
Runs inside Google Sheets in a web browser (nothing to install on the PC): Windows 10 and up, macOS 10.15.7 Catalina and up, ChromeOS
System Requirements
A Google account with Google Sheets, an internet connection, and Chrome, Firefox or Safari (Mac only)
Release Date
9/26/2025
Last Updated
11/29/2026
4 views 0 downloads
Sum, count and average Google Sheets cells by fill or font color

Function by Color for Google Sheets: Sum and Count Cells by Their Color

Function by Color is an Ablebits add-on for Google Sheets that sums, counts and averages cells by their fill color, font color or both, something Sheets can't do on its own. It runs in the browser on Windows, Mac and Chromebooks, and the 12-month plan for one Google account is $12 with the discount code applied on the order page (regular price $15), or $39.95 for a lifetime license, with a 30-day free trial.

If you mark paid invoices green and overdue ones red, Google Sheets will happily sort or filter by those colors, but it has no formula that adds up "all the green cells". Function by Color writes that formula for you and keeps it working as the numbers change.

Quick facts

  • Version: 1.5, released September 26, 2025 (the Marketplace listing was last updated February 16, 2026)
  • Developer: APPS4GS (Mikalai Mikhuta JDG), which publishes Google Workspace add-ons under the Ablebits name
  • Works in: Google Sheets in a web browser, on Windows 10 and up, macOS 10.15.7 Catalina and up, and ChromeOS
  • Price: 12-month plan $12 with the discount code (regular $15); lifetime $39.95; each for one Google account
  • Trial: 30 days, fully functional
  • Guarantee: unconditional 30-day money-back guarantee
  • Marketplace rating: 3.3 out of 5 from 70 ratings, 781K+ installs
  • What we checked: on the order page the 12-month plan was $15, or $12 with the code TrSbrExp-MnrAdns-01 that the vendor's own Buy link carries, and the lifetime license was $39.95; the Google Workspace Marketplace page showed version 1.5 as the latest release and a 3.3-star average from 70 ratings, all on November 29, 2026. We didn't install the add-on or run it on our own sheets.

Before you buy

  • Power Tools may be the better buy. Ablebits' Power Tools add-on ($49.99 a year) includes Function by Color as one of its 40-plus tools, along with dedupe, merge and split tools.
  • Everyone who opens the sheet needs the add-on. The formulas use custom functions, so colleagues you share the file with see the results only if they also have Function by Color or Power Tools installed.
  • Color changes don't trigger a recalculation. Google Sheets updates the totals when values change, not when you recolor a cell. You click Refresh results for that.

Download Free TrialBuy 12-Month PlanBuy Lifetime License

Overview

Function by Color lives in a sidebar under Extensions > Function by Color with two tabs. One color calculates cells that match one pattern: you pick a cell on the sheet with the eyedropper, choose a fill and font color from the palettes, or type a hex code. All colors calculates every color it finds in the range and lists a result per color, such as "light red 3: $2,796".

Either way, the add-on doesn't just paste a number. It inserts a real formula (for example =calculateByAllColors("SUM", B2:D13, "fill")), so the result updates when values change and you can reopen the formula later to edit its settings. Version 1.5 put the Refresh results button next to Insert function and made the custom functions faster.

Features

Thirteen functions, all driven by color

Function by Color can return the SUM, COUNT, COUNTA, COUNTBLANK, AVERAGE, AVERAGEA, MIN, MAX, PRODUCT, MODE, STDEV, VAR or MEDIAN of the cells that share a color. COUNTBLANK counts cells that are colored but empty, handy for a sign-up sheet where an empty yellow slot means "still open".

Function by Color for Google Sheets One color tab with the font color palette open

One color tab: picking "dark green 1" as the font color, and the resulting MAX formula in row 14 returning the largest green profit per day.

Every color in the range at once

Function by Color's All colors tab scans the selected range, finds each fill or font color in it, and writes one labeled result per color. You don't have to know in advance how many colors someone used.

Function by Color for Google Sheets All colors tab summing cells by fill color

All colors tab: one SUM per fill color (light red 3, light green 3, light orange 3) written to column F.

Per row, per column or the whole range

Function by Color can return one result for the entire range, or a separate formula under each column or next to each row, created in one go. Picking "each column" with MIN, for example, gives the lowest value of every color in every day's column.

Function by Color for Google Sheets calculating the minimum by fill color in each column

Calculate in: each column. The MIN of every fill color appears under each Profit Day column.

Fill, font or both

Function by Color can match on the background only, the text color only, or cells where both match. That matters when a sheet uses red text for losses and a yellow fill for "check this": you can count just the red-on-yellow cells.

Two functions for your own formulas

Function by Color adds CELLCOLOR(), which returns a cell's color name or hex code, and VALUESBYCOLORALL(), which returns only the values of a given color. Both work inside COUNTIFS, SUMIFS and IF, for example to count Leela's green deals or pay a bonus on green rows. In SUMIF(S) they only work as the criteria range, not the sum range.

Edit and refresh the formulas it made

Function by Color recognizes its own formulas: select one, choose Edit selected formula, change the color, range or function, and put it back. Refresh results recalculates every Function by Color formula on the current tab after you recolor cells.

Benefits

The real gain is that color-coding stops being a dead end. Many teams already mark status with colors because it's quick; Function by Color turns that habit into totals without adding a helper "status" column or writing Apps Script. And because the results are live formulas, the summary row keeps working as new numbers come in.

Real-World Uses

  • Budgets and expense trackers: sum the cells you've colored as paid, planned or overdue, as one reviewer does for personal income and expenses.
  • Schools and rosters: total the invigilation hours colored per teacher, or count which students' cells are marked absent.
  • Sales boards: count deals by stage color and find the largest deal in the "won" color for each rep's column.
  • Shift and sign-up sheets: use COUNTBLANK on the colored slots to see how many are still open.

Who It's For, and Who Should Skip It

It's for anyone who color-codes data in Google Sheets and wants totals from those colors: office admins, teachers, small-business owners, finance and sales staff. You don't need to write formulas or scripts.

Skip it if:

  • you can add a status column instead of colors. A plain SUMIF on a text column is free and works for everyone who opens the file.
  • you share the sheet with many people who won't install add-ons. They'll see errors instead of totals.
  • you also need dedupe, merge or split tools. Power Tools includes Function by Color for $49.99 a year.
  • you work in Microsoft Excel. This add-on runs only in Google Sheets.

Usage Guide

  1. Click Download Free Trial to open the add-on's Google Workspace Marketplace page, click Install and grant the permissions, signed in to the Google account you'll use.
  2. Check File > Settings in your spreadsheet: the vendor recommends having a locale selected there before you start.
  3. Open Extensions > Function by Color > Start.
  4. Select the range with your colored cells, then choose One color (pick the pattern cell or colors) or All colors (choose fill or font colors).
  5. Pick the function, the cell for the result, and whether to calculate in the entire range, each column or each row.
  6. Click Insert function. On large tables the formula may show 0 for a few seconds before the result appears.
  7. After recoloring cells, run Refresh results. When you buy, click the key icon in the add-on and paste your activation key.

Where It Falls Short

  • Slow on big sheets. The vendor says Google Sheets takes time to calculate custom formulas, so a large table can show 0 for a few seconds, and Refresh results is slow because it recalculates every add-on formula on the tab.
  • Copies and shared files. Reviewers report having to reactivate or redo formulas after copying a sheet; Ablebits support helped the reviewers who asked, but plan for it.
  • Visually empty isn't empty. A cell whose formula returns a blank still counts as non-empty for COUNTA and AVERAGE, unless you give it its own color first.
  • Instructions take a while. One 4-star reviewer found the formulas and the sidebar hard to figure out at first.

What Users Say

On the Google Workspace Marketplace, Function by Color has 3.3 out of 5 from 70 ratings and more than 781,000 installs. The written reviews Google shows are mostly 4 and 5 stars; the complaints in them are about the manual refresh and copying sheets rather than wrong results.

What people like

"I needed a way to sum colored cells, and this did the trick!" Roland Blais, 5 stars, September 2026

"I have been using the Function By Colour add-in for several months now for the purposes of tracking my income/expenses and it is perfect for what I need. My spreadsheet, thanks to this add-in is much better than any expense tracking application I have used. It is very easy to use. If you ever run into problems, their customer service responds quickly and they are so pleasant to deal with." Tatianna Desak, 5 stars, March 2022

"4/5 Does exactly what you need and expect. Customer service is quick to respond and very helpful. No beating around the bush." Nathaniel Stapleton, 4 stars, December 2025

"Does exactly what I need and works well. I had issues when copying to a new sheet and the team was very quick to get me dialed." GrymeTyme, 5 stars, April 2025

The criticism

"The function by color is a great tool. I am using it calculate total time for invigilation of educators in a school and it is working fine. The only issue is that I need to refresh the results to load the formulae again." Sarvesh Jugee, 4 stars, October 2025

"It did everything I wanted it to, but it could definitely use some work especially since it's a paid add-on (after the 30-day trial). Definitely needs improved instructions. Took awhile to figure out how to use the different formulas. Took even longer to figure out how to pull up the side menu. If you have it counting the number of colored cells, it doesn't update the number when you add colors." Matthew Verley, 4 stars, May 2024

"easy to use,for some reason every time i open a sheet, the app ask me to pay , (it's paid) , and it doesent remember every time the functions if i make a copy of the sheet." Dani Palade, 5 stars, January 2025. Ablebits replied that activating the add-on with the license key stops the payment prompt

"It is easy to use. After installation i had a small problem with not all menue points appearing. Ablebits support quickly answered and solved my support request." Martin Schäffel, 5 stars, January 2025

The recurring themes

Buyers like that it does one job Google Sheets can't, and they keep mentioning fast, friendly support. The same three frustrations come up again and again: totals don't update when only a color changes (a Google Sheets limit the add-on works around with Refresh results), formulas and activation need attention after copying a sheet, and the sidebar takes some learning. The 3.3 average is lower than the written reviews suggest, so use the full 30-day trial on your real sheet.

Comparisons

Function by Color vs a custom Apps Script

Free scripts that sum by color circulate online, but you have to paste them into Apps Script, they usually handle one function and one color type, and they share the same recalculation problem. Function by Color adds 13 functions, font-and-fill matching, per-row and per-column results, palettes and an editor for existing formulas, without any code.

Function by Color vs Power Tools

Power Tools ($49.99 a year, $99.95 lifetime) includes Function by Color plus more than 40 other tools for duplicates, merging, splitting and text cleanup. If counting by color is all you need, Function by Color at $12 a year with the code costs far less; if you would also buy two or three other Ablebits add-ons, Power Tools is cheaper than the set.

Editions and Pricing

PlanPriceTermUsersBuy
12-month$12 with the code (regular $15)12 months of use and updates1 Google accountBuy 12-Month
Lifetime$39.95One-time payment, all future updates1 Google accountBuy Lifetime

The 12-month button applies the code automatically; the lifetime button orders the one-time license. At $12 a year, lifetime pays off in a little over three years. Buying 10 or more subscriptions gets a volume discount on the order page.

FAQs

Can Google Sheets count colored cells without an add-on?

No. Google Sheets can sort and filter by color, but none of its built-in functions can sum or count cells by fill or font color. Function by Color adds that, or you can write your own Apps Script.

Does Function by Color work with conditional formatting colors?

Function by Color reads the colors you see on the sheet, and the vendor's own help suggests using a conditional formatting rule (Is empty) to color cells it should leave out. Test your own conditional rules during the trial before you rely on them.

Will people I share the spreadsheet with see the totals?

Only if they have Function by Color or Power Tools installed. The results come from the add-on's custom functions, so anyone without it sees an error instead of the number.

Why didn't my total change when I recolored a cell?

Google Sheets doesn't treat a color change as a reason to recalculate formulas, and the add-on can't override that. Use Refresh results in the add-on or under Extensions > Function by Color after you recolor.

What happens when the Function by Color 12-month plan ends?

When the Function by Color 12-month plan ends, renew it or switch to the lifetime license to keep the formulas calculating. Your sheet and its data stay as they are.

Can I move my Function by Color license to another Google account?

Yes. One license covers one Google account at a time; deactivate it from the key icon in the add-on, then activate it under the other account.

Does Function by Color work in Excel?

No. Function by Color runs only inside Google Sheets. The Excel tools sold on ablebits.com are separate products from a different company.

System Requirements

  • A Google account with Google Sheets and an internet connection
  • Windows 10 or later, macOS 10.15.7 Catalina or later, or ChromeOS
  • Chrome, Firefox, or Safari on a Mac
  • Spreadsheets up to 10 million cells

Conclusion

At $12 a year with the code, Function by Color is worth it if your team already color-codes Google Sheets and you're tired of counting colored cells by hand. The All colors tab, which writes a labeled total for every color in one click, is the part that saves the most time.

The main reason not to buy it: the totals depend on the add-on being installed for everyone who opens the file, and they don't refresh on their own when a color changes. If you can switch to a status column, a free SUMIF does the job; if you need more than color math, Power Tools covers it.

Download Free TrialBuy 12-Month PlanBuy Lifetime License

Price & Version History

Listed here since November 29, 2026. The table starts with the listing's earlier price and version and shows each change we have recorded since. Lowest price we have recorded: $12.00 (Nov 29, 2026). Prices are in US dollars; the order page shows the final price.

DateVersionPriceNote
Nov 29, 20261.5$15.00 $12.00Sale price with code TrSbrExp-MnrAdns-01
Nov 29, 20261.5$15.00
Ivertech Editorial Team
Reviewed by Tony Iverson, The Ivertech Editorial Team
Researched from Ablebits's own site and independent review sites, keeping the complaints as well as the praise. How we review software
Last updated 11/29/2026
Developer of Function by Color for Google Sheets? Get the "Reviewed by Ivertech" badge
We may earn a commission when you buy through links on this page.

Related Videos
How to use =CELLCOLOR() & =VALUESBYCOLORALL() in Google Sheets
How to use =CELLCOLOR() & =VALUESBYCOLORALL() in Google Sheets

Video Length: 04:14
Uploaded By: Ablebits (10/28/2021)
View Count: 66,176

How to count colored cells in Google Sheets
How to count colored cells in Google Sheets

Video Length: 02:43
Uploaded By: Ablebits (8/16/2021)
View Count: 70,269

Copyright © 2026, Ivertech. All rights reserved.