Table of Contents
The process of counting the number of rows with a specific value in Google Sheets involves using the COUNTIF function. This function allows users to specify a certain criteria and then counts the number of cells within a given range that meet that criteria. By using the COUNTIF function and specifying the desired value, users can easily determine the total number of rows with that specific value in a Google Sheets document. This method is an efficient way to organize and analyze data within a spreadsheet.
Count Rows with Value in Google Sheets (3 Examples)
You can use the following methods to count rows with a particular value in Google Sheets:
Method 1: Count Rows with Any Value
=COUNTIF(A1:A10, "<>")Method 2: Count Rows with No Value
=COUNTBLANK(A1:A10)Method 3: Count Rows with Specific Value
=COUNTBLANK(A1:A10, "50")The following examples show how to use each method with the following dataset in Google Sheets:

Example 1: Count Rows with Any Value
We can use the following formula to count the number of rows with any value in column B:
=COUNTIF(B2:B11, "<>")The following screenshot shows how to use this formula in practice:

We can see that there are 7 rows with any value in the Points column.
Example 2: Count Rows with No Value
We can use the following formula to count the number of rows with no value in column B:
=COUNTBLANK(B2:B11)The following screenshot shows how to use this formula in practice:

We can see that there are 3 rows with no value in the Points column.
Example 3: Count Rows with Specific Value
We can use the following formula to count the number of rows with a value of “8” in column B:
=COUNTIF(B2:B11, "8")The following screenshot shows how to use this formula in practice:

We can see that there are 3 rows with a value of “8” in the Points column.
Additional Resources
Cite this article
stats writer (2024). How can I count the number of rows with a specific value in Google Sheets?. PSYCHOLOGICAL SCALES. Retrieved from https://scales.arabpsychology.com/stats/how-can-i-count-the-number-of-rows-with-a-specific-value-in-google-sheets/
stats writer. "How can I count the number of rows with a specific value in Google Sheets?." PSYCHOLOGICAL SCALES, 1 Jul. 2024, https://scales.arabpsychology.com/stats/how-can-i-count-the-number-of-rows-with-a-specific-value-in-google-sheets/.
stats writer. "How can I count the number of rows with a specific value in Google Sheets?." PSYCHOLOGICAL SCALES, 2024. https://scales.arabpsychology.com/stats/how-can-i-count-the-number-of-rows-with-a-specific-value-in-google-sheets/.
stats writer (2024) 'How can I count the number of rows with a specific value in Google Sheets?', PSYCHOLOGICAL SCALES. Available at: https://scales.arabpsychology.com/stats/how-can-i-count-the-number-of-rows-with-a-specific-value-in-google-sheets/.
[1] stats writer, "How can I count the number of rows with a specific value in Google Sheets?," PSYCHOLOGICAL SCALES, vol. X, no. Y, ص Z-Z, July, 2024.
stats writer. How can I count the number of rows with a specific value in Google Sheets?. PSYCHOLOGICAL SCALES. 2024;vol(issue):pages.
