RANK.EQ (PQL - xl)

This function returns the rank of a number in a set of numbers

  • 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

RANK.EQ(number, ref, OPTIONAL order)

Function Arguments

Name

Description

Type

Optional

number

Number whose rank you want to return

Number

ref

Reference to the set of numbers

CellRange

order

How the number is ranked, either in descending order (0 or omitted) or ascending order (non-zero value)

Number

Y

Comments

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