Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed:
=INDEX(C2:C5,MATCH(1,(A2:A5=F1)*(B2:B5=F2),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.
The formula evaluates arrays cell-by-cell, which requires explicit array entry in Excel 2019 and earlier. Excel 365 and Google Sheets handle this automatically.
Yes — multiply a third Boolean array: (A2:A5=F1)*(B2:B5=F2)*(C2:C5=F3). All three must be TRUE for a match.
A flexible two-function lookup that can return values to the left of the lookup column.
How-toUse INDEX with two MATCH functions to look up a value at the intersection of a matching row and a matching column.
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: