# MATCH

Spread for WinForms provides advanced software components that support Excel import/export, full cell customization, an extensive calculation engine with over 450 functions and more, all with zero dependencies on Excel.

## Content



This function returns the relative position of a specified item in a range.

## Syntax

MATCH(*value1*,*array*,type)

## Arguments

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 |

## Remarks

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.

## Data Types

The value can be a number, text, or logical value or a cell reference to a number, text, or logical value. Returns numeric data.

## Examples

`MATCH(25,A1:E5)`

## Version Available

This function is available in product version 5.0 or later.

## See Also

[MIN](/spreadnet/docs/latest/online-formula/formulas-functionsall/formulas-functsMtoQ/FunctionMIN) \| [LOOKUP](/spreadnet/docs/latest/online-formula/formulas-functionsall/formulas-functsFtoK/FunctionLOOKUP) \| [Lookup Functions](/spreadnet/docs/latest/online-formula/formulas-overview/formulas-functs/formulas-functtypes/formulas-functslookup)