COUNT Function in Google Sheets: Explained
In this article, you will learn how to use the COUNT function in Google Sheets. The COUNT function is easy to use and helpful when you need to count the number of numeric values in Google Sheets.
How to use the COUNT function in Google Sheets
- Type “=COUNT(” or go to “Insert” → “Function” (or directly navigate to the “Functions” icon) → “Statistical” → “COUNT”.
- Select a range or an array containing numerical values whose numbers you want to count.
- Press the “Enter” key.
The general syntax is as follows:
Value1: This argument should be a cell, range, or array.
Value2: If you need to select other ranges, you can add as value2, value3, ….
Note
- The COUNT function counts the number of all numeric values in a selected range, even when a specific value appears more than once in a data set.
- The formula counts dates and times as numeric values.
- The function does not count the number of text values and blanks - they are ignored.
- Ensure all values you want to count as numerical ones don’t have hidden text such as “‘“, or an apostrophe. For example, if a cell input is “‘7”, it looks like “7”.
Assume you are a manager in an HR group and want to see how many valid (numerical) answers you get for a survey on a newly introduced communication tool. As you can see, the formula returns eight because, out of ten survey results, two results are “N/A”, text values which this formula doesn’t count.
What is the difference between the COUNT and COUNTA functions in Google Sheets?
COUNTA stands for “count all”.The difference is that the COUNTA counts everything, including numbers, texts, dates, and times whereas COUNT counts only numeric values, including dates and times. They are in common that they don’t count the number of blank cells.