SUMIF (PQL - xl)

This function adds the cells using a given criteria

  • Library: PQL \ Spreadsheet \ Math & Trig
  • 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

SUMIF(range, criteria, sum range)

Function Arguments

Name

Description

Type

Optional

range

Range of cells to check; each cell in the array can be a double-precision floating-point value or an integer value

StringOrNumber

criteria

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

StringOrNumber

sum range

Range of cells to add; if omitted, then all the cells in the array are added

StringOrNumber

Comments

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