MATCH(lookup_value, lookup_array [,match_type]) 
Returns the position of a value in a list, table or cell range. 
lookup_value  The value you want to find. 
lookup_array  The single column (or single row) of cells containing possible lookup values. 
match_type  (Optional) The number specifying the type of match performed: 1 = largest value <= "lookup_value" (default) 0 = first value = "lookup_value" 1 = smallest value >= "lookup_value" 
Remarks 
* For an illustrated example refer to the page under Lookup Functions. * This function is not case sensitive when searching for text strings. * This function supports wildcards (? or *). * The "lookup_value" is the value you want to match in the "lookup_array". * The "lookup_value" can be a value (number, text, or logical value) or a cell reference. * If "lookup_value" is text, then it can include the two wildcard characters. * The "lookup_array" can be a cell reference or an array. * If "lookup_array" references more than a single column of cells, then #N/A is returned. * If "lookup_array" references more than a single row of cells, then #N/A is returned. * If "lookup_array" references a multi dimensional array, then #N/A is returned. * If "match_type" is left blank, then 1 is used. * If "match_type" = 1, then the position of the largest value less than it, is returned. * If "match_type" = 1, then "lookup_array" must be sorted into ascending order (1, 0, 1, a, A, FALSE, TRUE). * If "match_type" = 1, then the position of the smallest value greater than it, is returned. * If "match_type" = 1, then "lookup_array" must be sorted into descending order (TRUE, FALSE, A, a, 1, 0, 1). * If "match_type" = 0 and "lookup_value" does not exist in the "lookup_array", then #N/A is returned. * If "match_type" = 0, then "lookup_array" does not have to be sorted. * If "match_type" > 0, then 1 is used. * If "match_type" < 0, then, 1 is used. * You can use the HLOOKUP function to return a value in the same column. * You can use the VLOOKUP function to return a value in the same row. * You can use the INDEX function to return the intersection of a row and a column. * You can use the OFFSET function to return a value in an offset position. * You can use the CHOOSE function to return the value in a list based on an index number. * For the Microsoft documentation refer to support.office.com 

1  What is the position of the value 10 in the sorted block of cells. 2  What is the position of the value 10 in the sorted block of cells. The default "match_type" is 1. 3  What is the position of the item "Cherry" in the sorted block of cells. 4  The default "match_type" is 1 so it returns the position of the largest value less than 13, which is 10. (list in ascending order) 5  The default "match_type" is 1 so it returns the position of the largest value less than "Cherrys" which is "Cherry". (list in ascending order) 6  The "match_type" is 0 and because the "lookup_value" does not exist, #N/A is returned. 7  The "match_type" is 0 and because the "lookup_value" does not exist, #N/A is returned. 8  The "match_type" is 1 so it returns the position of the smallest value greater than 13, which is 15. (list in descending order) 9  The "match_type" is 1 so it returns the position of the smallest value greater than "Cherrys" which is "Lemon". (list in descending order) 10  The "match_type" is 1 and because the "lookup_value" is smaller than the first item, #N/A is returned. 11  The "match_type is 1 and because the "lookup_value" is greater than the last item, 7 is returned. 12  The "match_type is 1 and because the "lookup_value" is smaller than the last item, 7 is returned. 13  The "match_type is 1 and because the "lookup_value" is greater than the first item, #N/A is returned. 14  If the "match_type" > 1, then it is assumed to be 1. 15  If "lookup_array" is a multidimensional array, then #N/A is returned. 16  If "lookup_array" refers to multiple rows or columns, then #N/A is returned. 
© 2019 Better Solutions Limited. All Rights Reserved. © 2019 Better Solutions Limited Top