Count functions: COUNT, COUNTA, COUNTBLANK and COUNTIF
Counting comes in four kinds. COUNT counts the cells that hold numbers, COUNTA counts every cell that isn't empty, and COUNTBLANK counts the empty ones.
COUNTIF counts only the cells that match a rule. =COUNTIF( reads as "count the cells in B2 to B9 that say Paid". With wildcards, it can also count cells that contain a word anywhere in them.
Lessons in this topic
- 1COUNT and COUNTAAbout 4 minutes
Use COUNT to count cells with numbers and COUNTA to count every cell that isn't empty, in Excel and Google Sheets.
- 2Find empty cells with COUNTBLANKAbout 3 minutes
Use COUNTBLANK to count the empty cells in a range, so you can see how much data is still missing.
- 3Count what matches with COUNTIFAbout 5 minutes
Use COUNTIF to count only the cells that match a rule, like one department or salaries over a set amount.
- 4COUNTIF with wildcardsAbout 5 minutes
Use * and ? inside a COUNTIF condition to count cells that start with, end with, or contain some text.