Spread WPF Documentation
MATCH

Summary

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)

See Also

 

 


Copyright © GrapeCity, inc. All rights reserved.

Support Options | Documentation Feedback