You don't need complex formulas to summarize thousands of rows when PivotTables can do the heavy lifting for you.
PivotTable-aware conditional formatting ties rules to fields, so visuals persist even when you refresh, filter, or change layout.