Cellgrids Cellgridsby LearnWithRinkesh
Home › Excel tutorials › How to Use INDEX and MATCH in Excel

How to Use INDEX and MATCH in Excel (With Real Examples)

By Rinkesh Shah · Business Analyst, 8 years in data · Updated 2026-10-30

▶ Video coming soon

INDEX and MATCH work as a pair. Together they do everything VLOOKUP does and more, and they work in every version of Excel.

What each function does

Putting them together

=INDEX(C2:C100, MATCH(F2, A2:A100, 0))

MATCH finds the row where F2 appears in column A. INDEX then returns the value from that same row in column C. The 0 means exact match.

Why people prefer it to VLOOKUP

Two-way lookup

You can use MATCH twice to find a value by row and column name, for example sales for a product in a given month:

=INDEX(B2:M50, MATCH(P1, A2:A50, 0), MATCH(Q1, B1:M1, 0))

The first MATCH picks the row (product) and the second picks the column (month).

Common mistake

Make sure the INDEX range and the MATCH range have the same number of rows, and start at the same row. If they do not line up, you will get the wrong answer without any error.

Frequently asked questions

Why use INDEX and MATCH instead of VLOOKUP?

INDEX and MATCH can look to the left, survive inserted columns and work in every Excel version. They are also faster on very large tables.

How does INDEX MATCH work?

MATCH finds the position of a value in a list. INDEX then returns the value at that position from another range. Together they work like a flexible lookup.

Can INDEX MATCH use multiple criteria?

Yes. You can combine criteria with an array formula, or add a helper column that joins the criteria, and then match on that joined value.

Practice this online, free

Reading is only half of learning Excel. Cellgrids is a free place for online Excel practice: solve Excel formula exercises in a live spreadsheet, prepare for Excel interview questions, and work through business case studies built for data analytics and business analytics roles.

Practice these formulas: INDEX, MATCH, XLOOKUP.

Start Excel practice → Case studies