A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Hello, Excel does not have a normal built-in formula like SUMIF that can sum cells based on fill color.
However, you can use a somewhat workaround, which requires manual filter done by you first.
Select your data range.
Go to Data > Filter.
Click the filter arrow on the column.
Choose Filter by Color.
Select the fill color you want.
Use this formula below the column:
=SUBTOTAL(109,A2:A100)
109 means SUM visible cells only. Hidden or filtered-out cells are ignored.