Use a criterion cell
=COUNTIF(B2:B,H2)Put the criterion in H2 so it can be changed without editing the formula.
Count tasks assigned to the North region and change the criterion for another region.
Count tasks by region in Google Sheets with =COUNTIF(B2:B,"North"). Paste it into an empty result cell, then change the ranges or criterion to match your columns.
COUNTIF compares each Region cell with North. In this worked task table, column A stores task labels, B stores Region, C stores Amount, D stores Date, E stores Status and F stores Notes.
The example uses four rows so you can check the output before applying the formula to a larger tasks table. Edit any input in the playground and compare the new output with the visible criteria.
| A | B | C | D | E | F | |
|---|---|---|---|---|---|---|
| 1 | Task | Region | Amount | Date | Status | Notes |
| 2 | ||||||
| 3 | ||||||
| 4 | ||||||
| 5 |
=COUNTIF(B2:B,H2)Put the criterion in H2 so it can be changed without editing the formula.
=COUNTIF(B2:B1000,"North")Bounded ranges can calculate faster in a large file.
=IFERROR(COUNTIF(B2:B,"North"),"No matches")Shows readable text instead of an error when the source has no qualifying rows.
Start every referenced range on row 2 and keep their ending rows aligned.
Check spelling, spaces, number formatting and whether dates are stored as real dates.
Add Task non-blank logic when unused rows should be excluded.
Yes. Replace the quoted criterion with a cell reference such as H2.
Yes. Whole-column ranges are convenient; bounded ranges can be faster in a very large spreadsheet.
Check extra spaces, data types, date values and whether every range begins on the same row.
Send this recipe to the SheetSteps assistant and describe how your columns are arranged.