Skip to main content

Lookup formula page

INDEX MATCH Left Lookup Formula | Excel Sheets

Use INDEX MATCH for a left lookup when the value you want to return sits before the lookup column. This works in Excel and Google Sheets and is useful when VLOOKUP cannot look left.

Best for

Create an INDEX MATCH left lookup that returns a value from a column to the left.

What it returns

If F2 is Keyboard, the formula returns A-100 from the SKU column to the left of the Item column.

Copy formulas

Excel formula
=INDEX(A2:A100, MATCH(F2, B2:B100, 0))
Google Sheets formula
=INDEX(A2:A100, MATCH(F2, B2:B100, 0))
Excel / Google Sheets difference

Excel and Google Sheets use the same INDEX plus MATCH pattern here. MATCH returns a row position, and INDEX can return from a range on either side of the lookup column.

Example data

SKUItemCategoryPriceStock
A-100KeyboardHardware4918
A-101MouseHardware2532
B-200Desk MatOffice189
B-201NotebookOffice764
What it returns

If F2 is Keyboard, the formula returns A-100 from the SKU column to the left of the Item column.

How the formula works

  • MATCH finds F2 inside the lookup range B2:B100.
  • INDEX returns from A2:A100 at the same row position.
  • The return range can be left of the lookup range, which is why this pattern solves left lookups.
  • The 0 in MATCH forces exact match for names, IDs, SKUs, or other unsorted keys.
Syntax pieceRole in the formula
A2:A100The return range containing the SKU values to the left of the item names.
F2The item name to find, such as Keyboard.
B2:B100The lookup range containing item names on the same rows as the SKU range.
0Requires MATCH to find the item name exactly.

Verified examples

Return a SKU from an item name
=INDEX(A2:A100, MATCH(F2, B2:B100, 0))

Excel: Enter Keyboard in F2 and use the sample SKU and Item columns. Returns: A-100

Missing item with a readable result
=IFERROR(INDEX(A2:A100, MATCH(F2, B2:B100, 0)), "Not found")

Google Sheets: Enter Monitor in F2; that item is not present in the sample table. Returns: Not found

Common errors and fixes

IssueLikely causeFix
INDEX returns a value from the wrong rowThe return and lookup ranges start or end on different worksheet rows.Align the ranges, such as A2:A100 with B2:B100, before filling the formula down.
MATCH returns #N/A for an existing nameThe source or lookup cell contains hidden spaces or inconsistent text normalization.Compare the text lengths and clean both values before changing the INDEX range.
The first of several duplicate names is returnedMATCH with 0 stops at the first exact match.Use a multiple-criteria lookup or FILTER when the item name is not unique enough to identify one row.

When not to use this formula

  • Use FILTER rather than INDEX MATCH when one key should return several matching rows.

Alternatives

AlternativeWhen to use it
XLOOKUP Left Lookup FormulaUse in modern workbooks when a shorter left-lookup formula and built-in fallback are preferred.
INDEX MATCH Formula BuilderUse to select and validate the lookup and return ranges before copying a formula.

Related formulas

Official references

FAQ

Why can INDEX MATCH return a column to the left?

INDEX receives its own return range, so that range does not have to sit to the right of the column searched by MATCH.

What does the zero in MATCH mean?

Zero requires an exact match for the value in F2 and is appropriate for item names, SKUs, IDs, and other unsorted keys.