Two-Way Lookup with INDEX and MATCH
Your data is a grid — products down the side, pricing tiers across the top — and you need the value where a chosen row and a chosen column intersect.
Excel & Google Sheets
This formula works in both Excel and Google Sheets.
How it works
INDEX returns the value at a given row and column of a range — the trick is letting two MATCH functions supply those coordinates. The first MATCH finds your row label in the side column (Monitor is the 3rd row), the second finds your column header in the top row (Standard is the 2nd column), and INDEX grabs the cell where they cross. The 0 in each MATCH forces an exact match, so a typo returns #N/A instead of a silently wrong price. Because both lookups are dynamic, changing either dropdown cell instantly repoints the whole formula.
When to use it
Use it on any matrix-shaped table: price by product and tier, shipping cost by zone and weight, staffing by team and month — anywhere the answer lives at a row/column intersection.
Common mistakes
Did this formula help?
Engine-verified against the sample data aboveDownload the proof sheet (.xlsx)Last reviewed 2026-07-09