Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed:
=INDEX($A$1:$D$1,MATCH(E2,$A$2:$D$2,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.
Wrap in an array formula and use MATCH on a concatenated or flattened version of the table, or search row-by-row with helper columns.
Switch the INDEX range to a column and adjust MATCH to search within the relevant column: =INDEX($A$1:$A$5,MATCH(E2,$B$1:$B$5,0)).
Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed: