Math & Statisticsintermediate
SUMIFS for monthly revenue by category
=SUMIFS($D:$D,$B:$B,$G$2,$C:$C,">="&DATE(2026,1,1),$C:$C,"<"&DATE(2026,2,1))
Build quick KPI tiles for dashboard summaries without creating a pivot table.
Step-by-step instructions
Point COUNTIFS at the status column and require the value Active.
Add the segment column as a second condition.
Reference the selected segment from a summary cell like G2.
Example data
| Customer | Status | Segment |
|---|---|---|
| Acme | Active | Enterprise |
| Nova | Active | SMB |
| Luna | Inactive | Enterprise |
Common mistakes
Count is too low
Check for extra spaces or inconsistent labels like Active vs active in your source data.
FAQ
Can COUNTIFS count date-based activity too?
Yes. Add another criteria range and a date condition to further narrow the result.
Related how-to guides