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.
快速答案
统一公式
ExcelWPS
=SUMIF(ColorIndex, E2, B:B)查看平台差异
Google Sheets
=SUMBYCOLOR(B2:B200, E2)使用说明
- 将示例区域(如 A2:A)替换为你的实际区域。
- 保持与示例一致的列顺序。
- 向下填充以应用到所有行。