COUNT, COUNTA and COUNTIF

Count the cells that hold a number, the cells that hold anything, or only the cells that pass a test such as more than 10.

EasyPremium8 min
Task 1COUNT and COUNTA4 questions

Two functions count cells in place of adding them up.

=COUNT(B2:B7)
how many cells hold a number
=COUNTA(B2:B7)
how many cells are not empty, whatever they hold

A cell that holds 0 holds a number, so both count it. A cell that holds text is counted by COUNTA only.

Larkhill Stationery, stock count
ABC
1ItemIn stockChecked by
2Copier paper40Asha
3Envelopes0Ben
4Ring bindersTBC
5Marker pens15Asha
6Sticky notes
7Staplers12Ben
Task 2COUNTIF counts the cells that pass a test4 questions