COUNTIF (PQL - xl)

This function returns the number of cells that meet a certain condition

  • Library: PQL \ Spreadsheet \ Statistical
  • Compatibility: Any content (regardless of data source) in the Tabulate spreadsheet module
  • Solve: This function can be used with the Solve plug-in: both as part of the objective function and constraint functions

Syntax

COUNTIF(range, criteria)

Function Arguments

Name

Description

Type

Optional

range

Range of cells to count; cell range reference

CellRange

criteria

Condition that determines which cells are counted, as a text, number, or expression

StringOrNumber

Comments

This function is the same as the Microsoft Excel 'COUNTIF' function - using the same inputs, logic and outputs.