<p>The <b>MATCH</b> function is one of the lookup and reference functions. It is used to return a relative position of a specified item in a range of cells.</p>
<pstyle="text-indent: 50px;"><em><b>lookup-value</b></em> is a value in the <em><b>lookup-array</b></em> to search for. It can be a numeric, logical or text value, or a cell reference.</p>
<pstyle="text-indent: 50px;"><em><b>lookup-array</b></em> is a single row or column you need to analyze.</p>
<pstyle="text-indent: 50px;"><em><b>match-type</b></em> is a type of match. It's an optional argument. It can be one of the following numeric values:</p>
<tablestyle="width: 40%">
<tr>
<td><b>Numeric value</b></td>
<td><b>Meaning</b></td>
</tr>
<tr>
<td>1 or omitted</td>
<td>The values must be sorted in ascending order. If the the exact match is not found, the function will return the largest value that is less than <em><b>lookup-value</b></em>.</td>
</tr>
<tr>
<td>0</td>
<td>The values can be sorted in any order. If the the exact match is not found, the function will return the #N/A error.</td>
</tr>
<tr>
<td>-1</td>
<td>The values must be sorted in descending order. If the the exact match is not found, the function will return the smallest value that is greater than <em><b>lookup-value</b></em>.</td>
</tr>
</table>
<p>To apply the <b>MATCH</b> function,</p>
<ol>
<li>select the cell where you wish to display the result,</li>