The COUNT function in Google Sheets is a fundamental tool for tallying numeric values in a dataset, streamlining data analysis for tasks like tracking sales, inventory, or survey results. Counting only numbers and ignoring text, blanks, or other data types, it simplifies working with large datasets.
How It Works:
- Select the range of cells you want to count.
- Use the COUNT function to automatically count only numeric values within the range.
- Ideal for summarizing datasets like scores, sales, or numerical entries.
COUNT Function Google Sheets Syntax:
Here is the syntax of the Google Sheets COUNT formula:
=COUNT(value1, [value2,])
where,
- value1: The first value or range to count.
- value2, (Optional): Additional ranges or values to include in the count.
1. How to Use the COUNT Function in Google Sheets
Using the COUNT function in Google Sheets is simple and straightforward. Here's how you can use it to count the number of numbers in a range:
Step 1: Select the Cell for the Result
Decide where you want to display the result of the COUNT Function.
Click on the desired cell; for example, C2.
- This cell will show the total number of numeric entries in the specified range.
- Tip: Ensure the selected cell is empty to avoid overwriting existing data.

Step 2: Enter the COUNT Formula
In C2, enter the formula:
=COUNT(B1:B10)
Understanding the Formula:
- =COUNT: This is the function name used to count numeric values.
- (B1:B10): This specifies the range of cells to evaluate. In this example, it includes all the values in column B, from row 1 to row 10.
- If this range includes both numeric and non-numeric values (e.g., text or blank cells), the COUNT Function will only count the numeric ones.

Step 3: Press Enter
- After entering the formula, press Enter on your keyboard.
- Google Sheets will automatically calculate and display the total count of numeric values in the range B1:B10.

Additional Notes
Blank Cells and Non-Numeric Data:
- Blank cells or cells with text, dates, or special characters are ignored by the COUNT Function.
- Use COUNTA instead if you need to count all non-blank cells, regardless of content.
Dynamic Ranges:
- You can update the range (e.g., B1:B15) as your dataset grows. The function will adjust automatically.
A Non-Working Example
Sometimes, the COUNT function may not work as expected. For example, if your range includes text or empty cells, it won't count those, even if you think there are numbers present. Here’s a simple example of when it doesn't work:
Step 1: Select the Cell for the Result
Choose the cell where you want to display the count result. For example, C2.

Step 2: Define the Range to Count
Identify and select the range of cells you want to count, such as A1:A10.
Step 3: Write the COUNT Formula
In the selected cell, type the formula:
=COUNT(A1:A10)
This formula will count all numeric entries in the range A1:A10.

Step 4: Press Enter
Hit Enter to apply the formula. The cell will display the count of numeric values in the specified range.

Why It Didn't Work:
This happens because the COUNT function only counts numeric values. If your range includes text, blank cells, or special characters, those will be ignored, and the result will not count them.
To fix this, you might need to use a different function, like COUNTIF, which allows you to count cells based on certain conditions, like only counting numbers or excluding blanks.
Also Read: