0
0
Google Sheetsspreadsheet~10 mins

COUNT and COUNTA functions in Google Sheets - Cell-by-Cell Formula Trace

Choose your learning style9 modes available
Sample Data

Sample data with numbers, text, and empty cells in columns A and B.

CellValue
A110
A215
A3Hello
A420
A5
B1Apple
B225
B330
B4
B5Banana
Formula Trace
=COUNT(A1:A5)
Step 1: COUNT(10, 15, "Hello", 20, "")
Cell Reference Map
    A    B
1 | 10 | Apple  
2 | 15 | 25     
3 |Hello| 30    
4 | 20 |        
5 |    | Banana  

COUNT references A1 to A5 (highlighted in column A).
The formula references cells A1 through A5, which include numbers, text, and empty cells.
Result
    A    B      C
1 | 10 | Apple  | 3  
2 | 15 | 25     |    
3 |Hello| 30    |    
4 | 20 |        |    
5 |    | Banana  |    

Cell C1 shows the result of =COUNT(A1:A5) which is 3.
The result 3 appears in cell C1, showing the count of numeric values in A1:A5.
Sheet Trace Quiz - 3 Questions
Test your understanding
What does the COUNT function count in the range A1:A5?
AOnly numbers
BNumbers and text
COnly text
DEmpty cells
Key Result
COUNT counts only numeric values in a range; COUNTA counts all non-empty cells including text and numbers.