Retrieve a cell's value by its position in a range.
The INDEX function returns the value of a cell at a specific position within a range. Its syntax is =INDEX(range, row_num). For example, =INDEX(A1:A6,3) returns the 3rd value in the range. Very powerful when paired with MATCH.
Retrieve the value at the 3rd position in the range A1:A6 and place the result in B1.
Click cell B1, type your formula and press Enter.
| A | B | C | D | E | |
|---|---|---|---|---|---|
| Values | Result | ||||
| 1 |
10
|
||||
| 2 |
20
|
||||
| 3 |
30
|
||||
| 4 |
40
|
||||
| 5 |
50
|
||||
| 6 |
60
|
||||
| 7 |