intermediate 2 min read

INDEX Function in Google Sheets

INDEX returns the value of a cell in a range based on the row and column numbers you specify. Syntax, examples, and common errors.

SB

Sheets Bootcamp

February 19, 2026 Β· Updated November 5, 2026

Reviewed by Ryan
Syntax
=INDEX(reference, [row], [column])

Quick Answer

=INDEX(reference, [row], [column]) returns the value at a given row and column inside a range. For example, =INDEX(A1:C10, 3, 2) returns the value in B3. Pair it with MATCH for a lookup in any direction: =INDEX(C2:C100, MATCH("Sara Lee", A2:A100, 0)) finds Sara Lee in column A and returns the value from the same row in column C.

INDEX in Google Sheets returns the value of a cell within a range, based on the row and column offsets you provide. On its own, INDEX retrieves a value at a known position. Combined with MATCH, it becomes a flexible alternative to VLOOKUP that can look up in any direction.

Parameters

ParameterRequiredDescription
referenceYesThe range of cells to return a value from. Can be a single range like A1:C10 or a multi-area reference.
rowNoThe row number within reference to return. Row 1 is the first row of the range, not the sheet. If omitted, column is required.
columnNoThe column number within reference to return. Column 1 is the first column of the range. If omitted, row is required.

If you provide only row, the range should be a single column or INDEX returns the entire row. If you provide only column, the range should be a single row or INDEX returns the entire column.

Try it yourself

Question 1 of 3

3 quick questions. No account needed.

In B13, use INDEX on A2:D9 to return the cell at the row number in B11 and the column number in B12.

A
B
C
D
E
F
G
H
I
J
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Bowler
Game 1
Game 2
Game 3
Marisol
142
158
171
Dev
189
176
201
Kenji
133
149
127
Priya
165
182
174
Otis
120
138
151
Lena
197
210
188
Ravi
155
147
169
Joan
172
161
180
Row
4
Column
3
Result
B13

Examples

Return a value at a specific position

Get the value in the 3rd row and 2nd column of A1:C10:

=INDEX(A1:C10, 3, 2)

This returns the value in cell B3 (row 3, column 2 of the range).

Combined with MATCH for a flexible lookup

Look up an employee name in column A and return their department from column C:

=INDEX(C2:C100, MATCH("Sara Lee", A2:A100, 0))

MATCH finds the row position of β€œSara Lee” in column A. INDEX then returns the value from that same row in column C.

Return an entire row

Omit the column argument to return all values from a row:

=INDEX(A1:D10, 5)

This returns the entire 5th row of the range as an array. You can use this inside other functions that accept arrays.

Common Errors

#REF!: The row or column number exceeds the dimensions of reference. If your range is A1:C5 (5 rows, 3 columns), a row of 6 or column of 4 returns this error.

#VALUE!: A non-numeric value was passed as the row or column argument. Both must be positive integers or zero.

Tips

INDEX and MATCH together can look up values to the left, which VLOOKUP cannot do. If your result column is before your search column, INDEX MATCH is the right choice.

When you pass 0 as the row or column, INDEX returns the entire column or row as an array. This is useful inside SUM, AVERAGE, or other aggregate functions.

You read it. Now type it.

Unit 1 of the course is free: 6 short lessons in a grid that checks every formula. They teach the Google Sheets skills you'll actually use.

Start the course free

First 6 lessons free. No card needed. See plans

Keep going

Continue learning

Unit 2 is next. Get full access

Practice this in the app

Continue learning

Spot an error on this page? Tell us.

First 6 lessons free. No credit card required.

Start the course free
Continue learning

Cookie policy Β· Privacy policy