Google Sheets INDEX function
Returns the value at a given row and column position in a range.
Syntax
=INDEX(reference, [row], [column])
reference | The range to pick from. |
|---|---|
row | Optional. The row number within the range. |
column | Optional. The column number within the range. |
Try it
Edit the formula and the result updates instantly. Click a cell to add its reference.
Price list
Result: Stapler
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | SKU | Item | Price | Find SKU | |
| 2 | P-100 | Pens | 2 | P-300 | |
| 3 | P-200 | Paper | 5 | ||
| 4 | P-300 | Ink | 15 | ||
| 5 | P-400 | Stapler | 12 | ||
| 6 | P-500 | Tape | 3 |
Examples
These use the sample sheet above.
→ Stapler
The 4th item in the list.
→ 5
Row 2, column 3 of the table: Paper's price.
→ Ink
INDEX + MATCH: look up the item name for a SKU. This works in any direction.
Tips & common mistakes
- INDEX/MATCH is more flexible than VLOOKUP. It can look left, and it doesn't break when you insert columns.