3.1 C
London
Friday, December 20, 2024
HomeSoftware TutorialsGoogle SheetsGoogle Sheets: COUNTIF Greater Than Zero

Google Sheets: COUNTIF Greater Than Zero

Related stories

Learn About Opening an Automobile Repair Shop in India

Starting a car repair shop is quite a good...

Unlocking the Power: Embracing the Benefits of Tax-Free Investing

  Unlocking the Power: Embracing the Benefits of Tax-Free Investing For...

Income Splitting in Canada for 2023

  Income Splitting in Canada for 2023 The federal government’s expanded...

Can I Deduct Home Office Expenses on my Tax Return 2023?

Can I Deduct Home Office Expenses on my Tax...

Canadian Tax – Personal Tax Deadline 2022

  Canadian Tax – Personal Tax Deadline 2022 Resources and Tools...

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")

Additional Resources

The following tutorials explain how to perform other common COUNTIF() operations in Google Sheets:

Google Sheets: How to Use COUNTIF From Another Sheet
Google Sheets: How to Use COUNTIF with Multiple Ranges
Google Sheets: How to Use COUNTIFS with a Date Range

Subscribe

- Never miss a story with notifications

- Gain full access to our premium content

- Browse free from up to 5 devices at once

Latest stories