This function looks for a given product in a range of cells and returns the relative location of that item in the range. For example, if the range A1:A3 contains the numbers 8, 39, and 54, then the formula =MATCH(39,A1:A3,0) yields the number 2, as 39 is the second item in the range.
Syntax:
=MATCH (lookup value, lookup array, [match type])
parameterslist :
Example :
In this example, we are first determining the position of the item Papaya among these Six Fruit Items. As you can see, Papaya is in fifth place, so the answer is 5.
Important points to consider. Match does not care about case. If no match is discovered, Match returns the #N/A error. If match type is 0 and lookup value is text, the wildcard characters asterisk (*) and question mark (?) can be used. An asterisk represents any sequence of characters, whereas a question mark represents any single character.
Ask Your Query