Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed:
=INDEX($B$2:$D$4,MATCH(F2,$A$2:$A$4,0),MATCH(G2,$B$1:$D$1,0))Edit the grid or formula, then run it through a real spreadsheet engine — no signup.
Sample data — click any cell to edit
Need it for your exact data?
Describe your columns in plain English and get the precise formula for your sheet, with the right Excel or Sheets syntax.
0 means exact match. Use 1 for approximate match on ascending-sorted data, or -1 for descending-sorted data.
You can combine VLOOKUP with MATCH for the column index: =VLOOKUP(F2,$A$2:$D$4,MATCH(G2,$A$1:$D$1,0),0). This is less flexible than INDEX/MATCH.
A flexible two-function lookup that can return values to the left of the lookup column.
How-toCombine INDEX and MATCH with multiplication of two criteria arrays to perform a lookup that matches on two conditions simultaneously.
Error fixFix #N/A errors in INDEX MATCH in Excel and Google Sheets — match_type wrong, arrays different sizes, data-type mismatches, and lookup value absent.
How-toCombine INDEX with two MATCH calls — one for the row and one for the column — to look up a value at the intersection of a row and column header.
Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed: