To perform advanced lookups, you'll need INDEX and MATCH. The MATCH function returns the position of a value in a given range. For example, the MATCH function below looks up the value 53 in the range B3:B9. Explanation: 53 (first argument) found at position 5 in the range B3:B9 (second argument).
1. Select a cell. 2. Write the MATCH function. 3. Write the lookup_value as the first argument. 3. Enter the lookup_range. Read more here.
In Excel 365 and Excel 2021, you can use the XMATCH function, which is a modern and more powerful successor of MATCH. As you have just seen, using MATCH in Excel is easy. However, as is the case with nearly any other function, there are a few specificities that you should be aware of: