FormulaCamp
Completed
← Google Sheets functions
Google Sheets function

INDEX in Google Sheets

INDEX with worked examples you can test in the live grid. The argument details are in the Excel guide.

In Google Sheets

The arguments and common errors are covered in the INDEX Excel guide; check the function help in Google Sheets for its own argument list.

Worked examples in Google Sheets

Third item of a list

A
1City
2Boston
3Denver
4Austin
5Seattle

Formula: C1: =INDEX(A2:A5,3)

Result: Austin

Returns the 3rd cell of A2:A5, which is Austin.

Row and column position

ABC
1RegionQ1Q2
2East120135
3West98110
4North7592

Formula: E1: =INDEX(A1:C4,3,3)

Result: 110

Row 3, column 3 of A1:C4 is the West Q2 figure.

INDEX + MATCH two-way lookup

ABC
1RegionQ1Q2
2East120135
3West98110
4North7592

Formula: E1: =INDEX(B2:C4,MATCH("North",A2:A4,0),MATCH("Q1",B1:C1,0))

Result: 75

The first MATCH finds the row of North (3), the second finds the column of Q1 (1), and INDEX returns the crossing.

Try it

A tiny spreadsheet with example data. Edit the formula or any number and see the result.

Formula in F2: =INDEX(B2:B6,MATCH(104,A2:A6,0))

Example spreadsheet for INDEX
ABCDEF
1IDItemPriceStockResult
2101Pen2.5120Mug
3102Notebook480
4103Lamp2515
5104Mug7.540
6105Backpack3912
Result in F2: Mug
Practice this in a lesson: INDEX + MATCH

Google Sheets is used here only as a descriptive product name. FormulaCamp is not affiliated with Google.