INDEX

INDEX: picking a cell by position

Spreadsheet in your browser
Lesson concept What you'll do
1 / 6

Find who finished in each place.

INDEX picks the value at a position you give it.

Typing formulas is easiest on a computer with a keyboard.

A1
ABCDEFG
1RunnerTimePlaceRunner
2Oscar Patel19:464
3Lena Fischer20:078
4Grace Evans21:0510
5Jamal Novak21:207
6Isla Kowalski21:471
7Kofi Patel22:20
8Tariq Dubois22:41
9Daniel Okafor22:55
10Zoe Jensen23:51
11Elif Patel24:36
12
13
14
15
Type to enter a value or a formula starting with =. F2 edits, F4 adds $ to a reference.
Study notes

How INDEX works

  • What does INDEX do?

    INDEX is the opposite of MATCH. You give it a range and a position, and it gives back the value at that position.

    =INDEX(array, row_num)

    =INDEX($A$2:$A$11,3) counts 3 cells down from A2 and returns what is in A4.

  • How are positions counted?

    From the first cell of the range, which is position 1. Start the range at the header and the header becomes position 1, so every answer is one place too early.

  • What about tables with several columns?

    Add a third part, the column: =INDEX($A$2:$B$11,3,2) goes 3 rows down and 2 columns across, giving B4.

  • Where does the position come from?

    Here you type it, or it sits in a cell. Usually it comes from MATCH, which finds the position of a value. Put the two together and you have a lookup that can return any column, even one to the left.

Know someone fighting with a spreadsheet? Send them this page.