INDEX MATCH lookup
=INDEX(C:C, MATCH(E2, A:A, 0)) returns price from column C where column A matches E2.
INDEX fetches a value from a range by row and column number. Combined with MATCH it powers flexible lookups. Alone it picks nth items from lists, dynamic headers, or matrix intersections without VLOOKUP column limits.
Use INDEX with MATCH for left lookups, two-way table intersections, or pulling the nth match from a sorted list.
Skip INDEX/MATCH when XLOOKUP covers the case in one function with clearer not-found handling.
Pass the array or reference as the first argument.
Supply row index and optional column index for two-dimensional ranges.
Use MATCH to find row or column positions dynamically from keys.
Use INDEX(range, 0, col) or INDEX(range, row, 0) to return whole row or column in some contexts.
Lock lookup tables with absolute references when copying formulas.
Verify row numbers after sorting or filtering does not scramble static INDEX positions.
=INDEX(C:C, MATCH(E2, A:A, 0)) returns price from column C where column A matches E2.
=INDEX(B2:F20, MATCH(H1, A2:A20, 0), MATCH(H2, B1:F1, 0)) crosses row and column headers.
=INDEX(SORT(UNIQUE(B2:B)), 3) returns the third distinct value after sort.
Build this without starting from a blank cell
Use a Better Sheets tool for INDEX, then watch a walkthrough when you want the full pattern.
Watch how INDEX works
Guides that explain INDEX in more depth.
Master Google Sheets with 7 beginner tutorials on using the INDEX formula. Turn data into results with free tools, templates, and tutorials!
Read post →This is the syntax for the INDEX formula. Below are video tutorials that talk about the INDEX formula, These are fun tutorials that show you how you can use INDEX for different cases and uses.
Read post →Three video tutorials for advanced users. In these tutorials, I show you the different ways you can make use of the INDEX function to create fun and useful things with Google Sheets.
Read post →MATCH searches a range for a value and returns its relative position. Feeding INDEX or OFFSET with MATCH replaces brittle column index math. Sorted approximate match modes support tier tables and date brackets.
Read guide →OFFSET starts from a reference cell and returns a range moved by a row and column offset with optional height and width. Rolling averages, dynamic windows, and shifted blocks use OFFSET, though INDEX and FILTER are often clearer today.
Read guide →XLOOKUP searches a lookup array for a key and returns a matching value from a return array. It handles left lookups, approximate match, and custom not-found text without INDEX/MATCH gymnastics.
Read guide →VLOOKUP searches the first column of a range for a key and returns a value from a specified column to the right. It is still everywhere in legacy templates even as XLOOKUP offers more flexible replacements.
Read guide →Done reading about INDEX?
Membership unlocks 636+ tutorials, unlimited generators, and every template. Practical lessons. Zero fluff.
Need this once
Jump to a free tool or a single tutorial for this topic.
Learning Sheets for real
Unlock the full library, generators, and templates with membership.