ColorSum formulas

ColorSum counts and sums cells by their fill or text color. Open it from Home > ColorSum to count the selected cells by color and insert a formula, or type one yourself. The color is a cell that has it (D1) or a hex code ("#f4cccc").

Excel does not recalculate a formula when only a color changes: tick Refresh them when a color changes in ColorSum, or click Refresh color formulas. Cells with no fill count as #ffffff.

COLORSUM.COUNTBYCOLOR(range, color)

How many cells of range have the fill color. =COLORSUM.COUNTBYCOLOR(A2:A50, D1)

COLORSUM.SUMBYCOLOR(range, color, [sum_range])

The sum of the numbers in the cells of range with the fill color, or of the numbers at the same places in sum_range, like SUMIF. =COLORSUM.SUMBYCOLOR(A2:A50, D1, C2:C50)

COLORSUM.AVERAGEBYCOLOR(range, color, [average_range])

The average of those numbers; #DIV/0! when there are none.

COLORSUM.MAXBYCOLOR(range, color, [max_range])

The largest of those numbers, 0 when there are none.

COLORSUM.MINBYCOLOR(range, color, [min_range])

The smallest of those numbers, 0 when there are none.

COLORSUM.COUNTBYFONTCOLOR(range, color)

How many cells of range have the text color.

COLORSUM.SUMBYFONTCOLOR(range, color, [sum_range])

As SUMBYCOLOR, by text color.

COLORSUM.AVERAGEBYFONTCOLOR(range, color, [average_range])

As AVERAGEBYCOLOR, by text color.

COLORSUM.MAXBYFONTCOLOR(range, color, [max_range])

As MAXBYCOLOR, by text color.

COLORSUM.MINBYFONTCOLOR(range, color, [min_range])

As MINBYCOLOR, by text color.

COLORSUM.COLOROF(range)

The fill color of each cell as a hex code, spilling over a range's size.

COLORSUM.FONTCOLOROF(range)

The text color of each cell as a hex code.

Questions: spyridwn.pd@gmail.com ยท Privacy

Microsoft and Excel are trademarks of the Microsoft group of companies.