Why it works
- What it does
- List the categories once in a column, then let one COUNTIF per row count how often each appears in the data, with the category cell as the condition. It is the quickest summary table there is and it updates itself.
- The shape of the formula
- =COUNTIF(category column, category cell)
- How to remember it
- Point the condition at the cell next to it, not at a typed word, and one formula serves every row.
- The usual mistake
- Typing each department name into its own formula. A spelling slip in one of them gives a silent 0.
Keep practicing
- COUNTIF: count rows that matchHow many orders are still open?Open
- SUMIF: add up only the rows that matchHow do I total the invoices from one supplier?Open
- Check a total a second wayHow do I prove the report total matches the invoice list?Open
- Lesson: Count and add only the rows that matchA short lesson in your workspace: the idea, small steps on a sheet, one task with new dataOpen
Updated