Formula Library

Excel Formula To Calculate Total Revenue By Color

Sum by by color with a ready-to-use formula for Excel, Google Sheets, and WPS. Excel/WPS needs a ColorIndex helper range built with GET.CELL; Google Sheets needs an Apps Script custom function.

Quick answer

Calculate Total revenue by color.

Unified formula

ExcelWPS
=SUMIF(ColorIndex, E2, B:B)
View platform differences

Google Sheets

=SUMBYCOLOR(B2:B200, E2)

How it works

Need a custom version?

Related formulas