Modeling & Excel

INDEX-MATCH

IntermediateAlso called INDEX MATCH, INDEX/MATCH

Plain meaning

Two Excel functions combined: MATCH finds an item's position in a list, and INDEX returns the value at that position in another list.

Like I’m three

First you count which seat your friend is sitting in, say seat three. Then you go to seat three in the next row to see which toy is there.

In detail

INDEX(return_range, MATCH(lookup_value, lookup_range, 0)) is the classic flexible lookup. MATCH with a final argument of 0 returns the position of an exact match; INDEX then returns the value at that position from any other range of the same size. Because the lookup and return ranges are separate, it can look left, does not break when columns are inserted, and is efficient on large sheets. A two-way version, INDEX(table, MATCH(row item), MATCH(column header)), picks a value by both row and column, which is handy for pulling one company's metric for one year from a comps grid or switching between base, upside and downside scenarios. It works in every Excel version, which is why banks and consulting firms still teach it alongside XLOOKUP. Common confusion: leaving out the 0 in MATCH turns it into an approximate match that needs sorted data and can silently return wrong results.

Example

With tickers ABC, DEF and GHI in A2:A4 and prices of ₹250, ₹410 and ₹95 in C2:C4, if E1 holds GHI then =MATCH(E1, A2:A4, 0) returns 3 and =INDEX(C2:C4, 3) returns ₹95. Combined, =INDEX(C2:C4, MATCH(E1, A2:A4, 0)) gives ₹95 in one step.

Formula

=INDEX(return_range, MATCH(lookup_value, lookup_range, 0))

Save it, revise it

Open this word in the interactive dictionary to save it, quiz yourself and see every term it links to.

Open in the interactive dictionary

From the Finspire Dictionary, compiled by Finspire, the finance club of IPM at IIM Ranchi. Last updated . How entries are written and checked