COUNTIF counts cells that pass one test. COUNTIFS counts rows that pass every test. The attendance tracker uses the same pair of functions on a roster.
The eight household amounts are $86.40, $1,900, $48.25, $112.17, $143.60, $42, $30, and $800. Four are over $100: $1,900, $112.17, $143.60, and $800.
=COUNTIF(A2:A9,">100")
The > has to sit inside quotes. A bare >100 is not the criteria. COUNTIF adds nothing. It returns 4.
=COUNTIF(A2:A9,">100")| A | B | |
|---|---|---|
| 1 | Amount | |
| 2 | 86.40 | |
| 3 | 1900 | |
| 4 | 48.25 | |
| 5 | 112.17 | |
| 6 | 143.60 | |
| 7 | 42 | |
| 8 | 30 | |
| 9 | 800 | |
| 10 | Over $100 | 4 |
One test, then both
The five orders are TX $120, CA $80, TX $40, NY $200, and TX $90.
COUNTIF of the state column for TX is 3. COUNTIF of the amount column for >=100 is 2. Those two are the $120 and the New York $200. The $90 is under $100, so it is not in that 2.
COUNTIFS keeps a row only when every test passes:
=COUNTIFS(A2:A6,"TX",B2:B6,">=100")
The Texas $120 passes both. The Texas $40 and the Texas $90 fail the amount test. The New York $200 fails the state test. The count is 1.
=COUNTIFS(A2:A6,"TX",B2:B6,">=100")| A | B | |
|---|---|---|
| 1 | State | Amount |
| 2 | TX | 120 |
| 3 | CA | 80 |
| 4 | TX | 40 |
| 5 | NY | 200 |
| 6 | TX | 90 |
| 7 | TX | 3 |
| 8 | >= 100 | 2 |
| 9 | Both | 1 |
Texas or California is two COUNTIF results added, 3 + 1 = 4. Putting both states in one COUNTIFS would require a row to be TX and CA at the same time, and that count is 0.
COUNTIF is not case-sensitive. On the unique-values page, austin, Austin, and Austin are three COUNTIF hits and four UNIQUE rows. The ranges in one COUNTIFS have to be the same size. Different sizes are #VALUE!.
The PTO tracker uses COUNTIFS on dates, which is a different pair of tests. Avery’s ended periods from June 16 through November 15, 2026 are 10. Jordan’s are 21.