AVERAGEIF (PQL - xl)

This function calculates the average of the specified numeric values provided that they meet the specified criteria

  • 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

AVERAGEIF(range, criteria, average range)

Function Arguments

Name

Description

Type

Optional

range

The range of the cells you want to evaluate

CellRange

criteria

The condition or criteria in the form of a number, expression, or text that defines which cells will be used to find the avarage

StringOrNumber

average range

The actual cells to be used to find the avarage. If omitted, the cells in range are used

CellRange

Comments

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