Lookupmedium
INDEX()
Returns the content of a cell at a given row and column in a range.
Syntax
fx
=INDEX(reference, [row], [column])
Try it
F2
→
Globex
Sample data · sales.csv
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Company | Region | Quarter | Revenue |
| 2 | Acme Co | West | Q1 | 18,400 |
| 3 | Acme Co | West | Q2 | 22,100 |
| 4 | Acme Co | West | Q3 | 31,700 |
| 5 | Acme Co | West | Q4 | 48,200 |
| 6 | Globex | East | Q1 | 14,200 |
| 7 | Globex | East | Q2 | 19,800 |
| 8 | Globex | East | Q3 | 23,400 |
Common pitfalls
- Row and column indices are 1-based, not 0-based.
INDEX(A1:D10, 1, 1)returns A1, not B2. - Pass
0for row OR column to return the entire other dimension as an array. - Pair with
MATCHfor the classic flexible-lookup pattern:INDEX(result_col, MATCH(key, lookup_col, 0)).
Related formulas
Used by