The custom function for Google Sheets™ calculates the sum, count, max, min, average, and other colored cells with the background or text color.
Listing updated:28 май 2025 г.
Works with:
200 хил.+
Общ преглед
Function by color add-on for Google Sheets™ makes it easy to calculate values based on background (fill) or font (text) color in your spreadsheet. It's perfect for color-coded data and helps you quickly summarize information using visual cues.

You can apply powerful functions like:
**SUM, COUNT (numbers), COUNTA (text), COUNTBLANK, AVERAGE, MIN, MAX, PRODUCT, MODE, STDEV, VAR**, and **MEDIAN**.

It also helps identify empty cells by color and count how many are left blank.

### ⚙️ **How to Use**

1. **Select the range** of cells to analyze (e.g., `C3:C12`) by clicking the “Select Range” input.
2. **Choose the target color** by selecting a cell that contains the desired text and background colors (or set them manually).
3. **Pick a function** to apply (e.g., `SUM`, `AVERAGE`, `COUNT`, `COUNTBLANK`, etc.).
4. **Choose where the result should appear** by selecting the result cell (e.g., `F8`) via the “Result Cell” input.
5. **(Optional)**: Check the box if you want the result cell to use the same font and background color.
6. **Choose whether to calculate by text color or background color** under “Calculate In”.
7. Click **“Apply Function”**.

The formula will be inserted like this:
```
=SUM(CELLSVALUEBYCOLOR("#4a86e8", "#0c343d", "C3:C12"))
```

### 🧮 **Custom Function: CELLSBYCOLOR**

`CELLSBYCOLOR` is a built-in function that calculates or summarizes values grouped by **either background color or font color**.

You can use it directly in your sheet.
**Examples:**

=CELLSBYCOLOR("A2:D40", "font", "AVERAGE")
👉 Returns average values for each **font color** group.

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

👉 Returns total values for each **background color** group.

### ✅ **Perfect for**:

* Teachers grading color-coded responses
* Project managers tracking priority levels
* Anyone using color to organize spreadsheet data
how to count colored cells in google sheets?
count colored cells in google sheets
google sheets count colored cells
can google sheets count colored cells

OUR OTHER PRODUCTS
- Form Field Limit | Removal | Eliminator - allows you to add limits to paragraphs, short answers, dates, multiple choices, checkbox options, dropdowns, linear scales, times, and more in your Google Form™
- Document File Generator | Files Generator- Create custom templates for your Google Sheet™, Google Doc™, and Google Slide™ files into PDFs, Microsoft Office documents, Excel, and Powerpoint
- Form Choice Limiter Limit | Choice Remove Removal developed to limit response counts for scheduled appointment options or limit response counts for multiple choice,  checkboxes, and dropdown question options. If the limit is reached the Form Choice remove option in the form. It is the most accurate and easy-to-use choice eliminator available in the marketplace.
- EWD Mail Merge | Document Mail | Slide Mail is built for Google Sheets™, Google Docs™,  Google Slides™, and Gmail™  in order to solve email sending campaigns so that every one of your recipients gets a personalized email.  Our Mail Merge can be used with Google Sheets, Documents, and Slides.  All your mail will be seen in the primary mail list avoiding spam, promotion, and social boxes.
- Form Response Limit | Form Enable | Form Limiter allows you to add limits to the number of responses your  Google Form™ can have. It also allows you to control when you can enable or disable your  Google Form™ based on the date and time. When your form gets disabled at a certain time, you will receive an email letting you know it is disabled, and you will also get an email when the form's response limit is reached.


SUPPORT
Need help? Just send a message to us.
Contact us: https://www.everestwebdeals.co/contact-us/
Everest Web Deals LLC
Additional information
PricingFree of charge trial
Декларация за поверителност
Подаване на сигналFlag as inappropriate
Function by color will ask for the permissions shown below. Learn more
Function by color will need access to your Google account
This will allow Function by color to :
Преглеждайте и управлявайте електронните таблици, в които е било инсталирано това приложение
Показване на уеб съдържание на трети страни в подканите и страничните ленти в приложенията на Google
Свързвайте се с външна услуга
Преглежда основния имейл адрес за профила ви в Google
Преглежда личната Ви информация, включително тази, която сте направили обществено достъпна
Отзиви
Language:
Сортиране по:
Google не потвърждава отзивите или оценките. Научете повече за отзивите
No comments
Търсене
Изчистване на търсенето
Затваряне на търсенето
Приложения на Google
Главно меню