This post will guide you how to count the number of cells that only positive numbers within a range of cells using a formula in Excel 2013/2016 or Excel office 365.How do I count the number of cells that contain negative values using a simple formula in Excel. The below steps will show you how to use the COUNTIF function to count the number of cells that meet a certain criteria.
Count Number of Cells that Contain Positive Numbers
Assuming that you have a data list in the range of cells B1:B6, and you want count the number of cells containing only positive numbers, and write the result in cell D1.You can use the below formula based on the COUNTIF function.
=COUNTIF(B1:B6,”>0″)
LET’S SEE THAT HOW THIS FORMULA WORKS:
The COUNTIF function can be used to count the number of cells that match a single condition or criteria. And in this case, you need to provide a criteria as “>0
”, which is evaluated as “values that need to grater than zero”. Then the total count of all cells in the range B1:B6 that meet the above criteria is returned.
You can also adjust this formula to count cell based on other criteria, such as, you wish to count cells with a value that greater than or equal to 50, and you can use the following formula:
=COUNTIF(B1:B6,”>=50)
Count Number of Cells that Contain Positive Numbers
If you wish to count number of cells that containing negative numbers within a range of cells B1:B6, and you can use the below formula based on the COUNTIF function. And you can provide a criteria “<0
”, which is evaluated the values less than zero.
=COUNTIF(B1:B6,”<0”)
Related Functions

Excel COUNTIF function
The Excel COUNTIF function will count the number of cells in a range that meet a given criteria. This function can be used to count the different kinds of cells with number, date, text values, blank, nonblanks, or containing specific characters.etc.= COUNTIF (range, criteria)…
Related Posts
Break ties with helper COUNTIF and column
Suppose you got a task to adjust the values that contain the ties; what would be your first attempt to break the ties of the given value? If you are wondering about doing this task manually, let me add that ...
Calculate Total Cost with Excel VLOOKUP Function
In today's article we will show you how to calculate the total cost for a given weight using the Excel VLOOKUP function. This function will help us to find the appropriate unit price for that weight and then we can ...
Excel Formulas To Calculate The Bond Valuation
Assume that you've been assigned a task of calculating bond valuation; so if you are new to Ms Excel or do not have much experience with it, then I am pretty sure about it that doing this task manually might ...
BMI Calculation Formula In Ms Excel
You might have come across a task in which you were assigned to make BMI calculations of the supplied numbers, and you may be looking for an efficient approach to accomplish this process rather than doing BMI calculations manually, by ...
Working Time Calculation Based on Timesheets
In the office, a special machine record the time when you start working (clock in office) and when you finish working (clock out of office). We can calculate the total working time by subtracting the end working time from the ...
Sort/Rank Numeric Values with Duplicate Values Exist
Excel builtin RANK function can sort a set of values. If there are duplicate numbers, then the rank number is also duplicated. See the following example: There are two numbers “100” in range A2:A9, they are both the third largest ...
Calculate Days Open in Excel
If you want to know how to Calculate days in Excel, there are some formulas that you can use to do so. For example, you can use the DAYS function in Excel to find the number of days between two ...
Calculate Grades With VLookup in Excel
Why Should You Calculate Grades With VLookup Excel? If you're looking for a simple way to find out a student's grades, VLOOKUP Excel can do the trick. This function uses a lookup table to find the values and sort them ...