Skip to main content
MedCalc
Mail a PDF copy of this page to:
(Your email address will not be added to a mailing list)
working
Show menu Show menu

COUNTPOS function

Description

Count positive numbers function. COUNTPOS(range) counts the number of positive numbers (> 0) in range.

The argument range can be a list of numbers, cell addresses, cell ranges (such as A1:A10).

Range can also be a matrix. In that case the function returns a matrix with one row and the same number of columns, with each element the COUNTPOS of the corresponding column. If range is a row matrix, it is converted to a column matrix first.

Example

COUNTPOS(A1:A5) returns 3 if the contents of 3 cells in the range A1:A5 are positive numbers.

Calculator

COUNTPOS(  

Related functions