Table of Contents
The COUNTIF function in Google Sheets allows users to count the number of cells within a specified range that meet a certain criteria. In order to count cells that are greater than zero, the user would need to first select the range of cells they want to count. They would then enter the formula “=COUNTIF(range,”>0″)” into the desired cell, replacing “range” with the actual range of cells they want to count. This formula will count all the cells within the specified range that have a value greater than zero. This can be useful for tracking data or analyzing numerical values in a spreadsheet.
Google Sheets: COUNTIF Greater Than Zero
You can use the following basic formula to count the number of cells that are greater than zero in Google Sheets:
=COUNTIF(B2:B11, ">0")
This particular formula counts the number of cells in the range B2:B11 that have a value greater than zero.
The following example shows how to use this formula in practice.
Example: COUNTIF Greater Than Zero in Google Sheets
Suppose we have the following dataset in Google Sheets that shows the number of sales made by various employees at a company during a given month:

We can use the following formula to count the number of employees who made more than zero sales:
=COUNTIF(B2:B11, ">0")The following screenshot shows how to use this formula in practice:

We can see that 6 employees had more than zero sales.
We can confirm this by manually identifying each of these employees:

If you would like to count the number of cells in a range that are equal to or greater than zero, simply use the following formula:
=COUNTIF(B2:B11, ">=0")The following tutorials explain how to perform other common COUNTIF() operations in Google Sheets:
Cite this article
stats writer (2024). How do I use COUNTIF in Google Sheets to count cells that are greater than zero?. PSYCHOLOGICAL SCALES. Retrieved from https://scales.arabpsychology.com/stats/how-do-i-use-countif-in-google-sheets-to-count-cells-that-are-greater-than-zero/
stats writer. "How do I use COUNTIF in Google Sheets to count cells that are greater than zero?." PSYCHOLOGICAL SCALES, 27 Jun. 2024, https://scales.arabpsychology.com/stats/how-do-i-use-countif-in-google-sheets-to-count-cells-that-are-greater-than-zero/.
stats writer. "How do I use COUNTIF in Google Sheets to count cells that are greater than zero?." PSYCHOLOGICAL SCALES, 2024. https://scales.arabpsychology.com/stats/how-do-i-use-countif-in-google-sheets-to-count-cells-that-are-greater-than-zero/.
stats writer (2024) 'How do I use COUNTIF in Google Sheets to count cells that are greater than zero?', PSYCHOLOGICAL SCALES. Available at: https://scales.arabpsychology.com/stats/how-do-i-use-countif-in-google-sheets-to-count-cells-that-are-greater-than-zero/.
[1] stats writer, "How do I use COUNTIF in Google Sheets to count cells that are greater than zero?," PSYCHOLOGICAL SCALES, vol. X, no. Y, ص Z-Z, June, 2024.
stats writer. How do I use COUNTIF in Google Sheets to count cells that are greater than zero?. PSYCHOLOGICAL SCALES. 2024;vol(issue):pages.
