Exercises / Lookups · 4 of 10

Look up to the left with INDEX and MATCH

MATCH(value, range, 0) returns the position of a value in a range. INDEX(range, n) returns the nth item of a range. Together they look up in any direction, including to the left, where VLOOKUP cannot go.

Your taskThe employee ID is in column C and the name is to its left, in column A. In G2, use INDEX and MATCH to return the name of the employee whose ID is in G1. An ID that is not in the list shows #N/A.
Pro

Unlock this exercise and every module after the basics.

Pro opens every exercise in every module, your review schedule, and the final test for the course certificate.

RowABCDEFG
1NameDepartmentEmployee IDEmailIDE-1063
2Arben HoxhaFinanceE-1031arben@northwind.coName
3Bea LindqvistSalesE-1042bea@northwind.co
4Carlos RuizOperationsE-1057carlos@northwind.co
5Dina PetrovaSalesE-1063dina@northwind.co
6Emeka ObiITE-1078emeka@northwind.co
7Fatima ZahraFinanceE-1081fatima@northwind.co
8Goran IlićITE-1094goran@northwind.co
9Hana SatoMarketingE-1102hana@northwind.co