Advanced Excel · Interactive lesson 4 of 12

Advanced lookup patterns

A plain lookup finds a value by one column. Real commission tables, rate matrices, and tiered pricing usually need more than one — region and band, sales volume within a range. These patterns cover both.

AdvancedInteractive

Screens shown: Excel for Microsoft 365 for Windows. Practice works in any browser.

Written tutorialAdvanced Lookups in Excel: Multiple Criteria and Approximate Match

Skill check

Try these first:

  • Look up a value by matching on two columns at once, not just one.
  • Find a value's position in a list with XMATCH.
  • Rebuild a lookup with INDEX and MATCH instead of XLOOKUP.
  • Return a tier or band name for a number that falls between two thresholds, not an exact match.

All familiar? Skip ahead to A5 — Advanced PivotTables.

Concept teach

What you're learning

Multiple-criteria lookup
Concatenate the criteria into one key on both sides: =XLOOKUP(B2&"-"&C2,$F$2:$F$7,$H$2:$H$7) matches Region and Band at once against a helper column built the same way.
Two-way lookup
The same concatenated-key trick works with INDEX/MATCH too: =INDEX($H$2:$H$7,MATCH(B2&"-"&C2,$F$2:$F$7,0)) — same result, useful when you need INDEX's flexibility elsewhere in the sheet.
XMATCH
=XMATCH(value,range) returns a position, not a value — the building block INDEX needs.
INDEX + MATCH
=INDEX(returnRange,MATCH(value,lookupRange,0)) — the two-function version of XLOOKUP, and still worth knowing since it appears in older workbooks.
Approximate match for bands
MATCH(value,range,1) against an ascending list of thresholds finds the last one the value still clears — exactly what a commission tier or price band needs.

Commission-rate matrix — lives in F2:H7

F — Key (Region-Band)H — Rate
East-A4%
East-B6%
West-A5%
West-B7%
Central-A3%
Central-B5%

Each key is Region and Band concatenated with a dash — built the same way on both sides of the lookup.

Sales-tier bands — lives in J2:K4

J — Minimum SalesK — Tier
0Bronze
15,000Silver
25,000Gold

Where to find it in Excel

Formulas›Lookup & Reference›INDEX · XMATCH

Swipe sideways to see the whole window.

  1. 1INDEX, MATCH, XMATCH and XLOOKUP are under Lookup & Reference.
  2. 2One XMATCH finds the row, the other the column; INDEX returns where they cross.
  3. 3The value at South × Q3.
  4. 4Change these inputs and the result updates.

Rendered view of Excel for Microsoft 365 (Windows). Ribbon layout can differ slightly on Mac, Excel for the web or a narrow window.

Guided build

A commission-rate matrix keyed by Region and Band above. Look up each rep's rate two different ways, then place a rep into a sales tier by approximate match.

💵 Commission Lookup — multi-criteria and approximate match
—
ƒx
Start with E2 — =XLOOKUP(B2&"-"&C2,$F$2:$F$7,$H$2:$H$7) — East and B combine into one key, "East-B".

Independent extension

Build your own rate matrix

Take any two-dimensional rate or pricing table you actually use — shipping cost by weight and zone, a tax rate by state and category — and build both a concatenated-key XLOOKUP and an equivalent INDEX/MATCH version of the same lookup.

Spot a mistake or have an idea for this lesson? Send feedback