Arguments
array- The range of cells to index into.row_num- The row position within the array.column_num(optional) - The column position within the array (for 2-D ranges).
Returns the value at a given row (and optional column) position within a range.
Syntax
=INDEX(array, row_num, [column_num])array - The range of cells to index into.row_num - The row position within the array.column_num (optional) - The column position within the array (for 2-D ranges).=INDEX(B2:B100, 5)Returns: The 5th value in B2:B100
One-dimensional lookup by position.
=INDEX(B2:B100, MATCH(A2, C2:C100, 0))Returns: The B value on the row where C equals A2
Paired with MATCH, this is the flexible left-or-right lookup that predates XLOOKUP.
Yes. INDEX uses the same syntax in Google Sheets and LibreOffice Calc, so you can paste these formulas straight across.
Fill in your ranges and copy a ready-to-paste formula - no signup.