=MATCH(lookup_value, lookup_array, [match_type])
=MATCH(D6,B6:B14,0)
returns 5 because MATCH finds the position of the value in D6 in the lookup_array B6:B14. This command searches for the exact value of D6 in the given range.
=MATCH(E2,B3:B11,0)
returns 4 because MATCH finds the position of E2 in the lookup_array B3:B11. This command searches for the exact value of E2 in the given range.
=MATCH(E2,B3:B11,1)
returns 5 because match type is set to 1, which means MATCH finds an approximate match of the largest value less than or equal to the lookup value E2 in the lookup_array B3:B11.
=MATCH("pq*",B3:B11,0)
returns 6 and uses wildcards to do the lookup. Wildcards are special characters used to match any character in a given string. In this case, the wildcard character '*' will match any character that follows the characters 'pq'.
The MATCH function is used to search for a value in a range of cells and return the position of that value in the range. It does not return exact matches by default.