Formula Functions > Functions M to Q > MATCH |
This function returns the relative position of a specified item in a range.
MATCH(value1,array,type)
You can use a single array (cell range) instead of a list of values. You can use multiple arrays (cell ranges) as well.
Argument | Description |
---|---|
value | Value to search for |
array | Range to search in |
type | [Optional] Value to return if the formula returns an error |
The value can be a number, text, or logical value or a cell reference to a number, text, or logical value. The array is the range of cells to search.
The type can be 0 (first value that is equal to value), 1 (largest value that is less than or equal to value), or -1 (smallest value that is greater than or equal to value) and is optional.
The value can be a number, text, or logical value or a cell reference to a number, text, or logical value. Returns numeric data.
MATCH(25,A1:E5)
This function is available in product version 5.0 or later.
MIN | LOOKUP | Lookup Functions