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
Unified formula
ExcelWPS
=SUMIF(ColorIndex, E2, B:B)View platform differences
Google Sheets
=SUMBYCOLOR(B2:B200, E2)How it works
- Replace the sample range (like A2:A) with your real range.
- Keep the same column order used in the example.
- Fill down to apply the formula to every row.