Skip to main content

MATCH

Returns the relative position of a value within a range.

CategoryLookup
SyntaxMATCH(lookup_value, lookup_array, [match_type])

Parameters

ParameterRequiredDescription
lookup_valueRequiredThe value to match in the lookup array.
lookup_arrayRequiredThe range of cells to search.
match_typeOptional1 (default) for largest value ≤ lookup_value (sorted ascending), 0 for exact match, -1 for smallest value ≥ lookup_value (sorted descending).

Example

MATCH(value, range, col)

Auto-generated from the EngCanvas function registry.