ColorTally

ColorTally help

Count and sum one color

  1. Open your sheet, then Extensions, ColorTally, Open.
  2. Select the cells to count and click Use selection.
  3. Click one cell that has the color you want and click Use selection again. Or type a color like #ffff00.
  4. Click Count and sum this color.

Cell formulas

FormulaWhat it does
=COUNTBYCOLOR(range, color)Counts non-empty cells with that fill color
=SUMBYCOLOR(range, color)Adds up the numbers in cells with that fill color
=AVERAGEBYCOLOR, =MINBYCOLOR, =MAXBYCOLORAverage, smallest and largest number
=COUNTBYFONTCOLOR, =SUMBYFONTCOLORThe same, matching the text color

color is a cell that has the color (like D1) or a color code in quotes (like "#ffff00"). The range can be on another tab: 'March'!A2:A50.

Totals that update when colors change

Google Sheets only recalculates when a value changes, not a color. In the sidebar, tick Recalculate when colors change. ColorTally then refreshes its formulas a moment after you recolor a cell. You can also use Extensions, ColorTally, Refresh color totals at any time.

Good to know

Questions: hello@curlydogstudios.com