jakup
① Product code to look up
ABC
1ProductCodePrice
2Wireless MouseA10125,000 KRW
3Mechanical KeyboardA10289,000 KRW
4USB-C HubA10342,000 KRW
527-inch MonitorA104320,000 KRW
6Laptop StandA10538,000 KRW
7FHD WebcamA10655,000 KRW
8Bluetooth SpeakerA10767,000 KRW
iPick a product code and press “Run lookup”.
MATCH scanning (column B)Position foundINDEX returns
=INDEX($A$2:$A$8, MATCH("A104", $B$2:$B$8, 0))

💡 Change the product code and the name updates automatically. Unlike VLOOKUP, it can return a column to the left of the search column.

Product

How to read INDEX/MATCH

MATCH finds the position (N) of a value; INDEX returns the value at that position. Unlike VLOOKUP, it can also return a column to the left.

MATCHMATCH(code, col B, 0) — Finds the position (row number) of the value in the code column. The trailing 0 means exact match.
INDEXINDEX(col A, position) — Returns that value from the product column using the position MATCH found.
?Why INDEX/MATCH? — VLOOKUP only searches the leftmost column, but INDEX/MATCH lets you choose the search and return columns freely (left included).

Wrapped in IFERROR, a missing code shows “Not found” instead of #N/A.

Why use INDEX/MATCH instead of VLOOKUP

INDEX/MATCH gives the same answer as VLOOKUP but works in more situations. MATCH finds the position of a value — which row it is in — and INDEX returns the value at that position. Because it is two steps, you choose the search column and the return column independently.

That means the value you want back can sit to the left of the one you search on. VLOOKUP simply cannot do this, so people end up reordering columns or adding a helper column. With INDEX/MATCH none of that is needed.

The difference grows the longer a sheet lives. VLOOKUP refers to the return column by number, so inserting a column shifts it and it starts returning the wrong data. INDEX/MATCH points at the column itself and keeps working. It looks longer at first, but it needs less maintenance later.