Google Sheets INDEX Function: Syntax, Examples & Tips

The INDEX function retrieves a value from a specified row and column within a given range, allowing for dynamic data referencing.
Google Sheets
INDEX(reference, [row], [column])

One free generation or explanation per browser, shared across Excel and Google Sheets. Account usage limits apply afterward.

On this page
  1. Parameters
  2. What is an INDEX Google Sheets Formula?
  3. A Practical Example
  4. INDEX Formula
  5. Result of the Formula
  6. Why Use INDEX?
  7. Key Takeaways:
  8. Example use case

Parameters

reference:
The range of cells from which you want to retrieve a value. This can be a single cell, a row, a column, or a multi-dimensional array.

row:
The row number in the reference from which to return a value. If omitted, the default is 1, which refers to the first row.

column:
The column number in the reference from which to return a value. If omitted, the default is 1, which refers to the first column.

What is an INDEX Google Sheets Formula?

The INDEX function in Google Sheets is a versatile tool used to return the value of a cell in a specified row and column of a given range. It is particularly useful when you need to retrieve data from a specific location within a dataset without having to search for it. The INDEX function can be combined with other functions like MATCH to create powerful lookup formulas.

In simpler terms, INDEX allows you to extract specific data from a table based on its position, making it an essential function for data analysis.

A Practical Example

Imagine you are managing a student grades table stored in a Google Sheets document:

Student Grades Table:

StudentIDStudentNameMathScienceEnglish
1Alice859088
2Bob788280
3Charlie929591

You want to find the grade of a specific student in a particular subject.

INDEX Formula

To achieve this, you would use the INDEX function as follows:

Google Sheets
=INDEX(A2:E4, 2, 3)

In this formula:

  • A2:E4 is the range of the Student Grades Table.
  • 2 is the row number from which you want to retrieve the data (in this case, Bob's row).
  • 3 is the column number from which you want to retrieve the data (in this case, the Math column).

Result of the Formula

When you apply the INDEX formula, the output would be:

Google Sheets
78

This means that Bob scored 78 in Math.

If you wanted to find Charlie's grade in Science, you would adjust the formula to:

Google Sheets
=INDEX(A2:E4, 3, 4)

The output would be:

Google Sheets
95

Why Use INDEX?

INDEX is beneficial because it allows for quick and efficient data retrieval from large datasets. It can be used independently or in combination with other functions, such as MATCH, to create dynamic lookup formulas. Additionally, it does not require the data to be sorted, making it a flexible option for various data structures.

Key Takeaways:

  • INDEX: A powerful function that returns the value of a cell at a specified row and column in a range.
  • Versatile: Can be used in combination with other functions for advanced data retrieval.
  • Efficiency: Allows for quick access to specific data points without the need for complex searches.
  • Common Use Cases: Ideal for retrieving specific information from tables, such as grades, inventory levels, or sales data.

INDEX is an essential function for anyone working with data in Google Sheets, providing a straightforward way to enhance data analysis and reporting capabilities.

Happy spreadsheeting!

Example use case

You have a sales report where Column A lists product IDs and Column B contains sales figures. Use the INDEX formula to find the sales figure for a specific product ID, enabling quick access to performance data without scrolling through the entire table.

Need more help with Google Sheets formulas?

Sign up for Better Analyst and get unlimited AI-powered formula generation, explanations, and advanced data analysis.

Explore all Google Sheets formulas

Browse our complete library of Google Sheets formula guides

Compare your options

Decide with evidence, not a sales pitch.

Open a neutral research prompt in the AI tool you already use. Compare capabilities, limitations, and fit before you choose.

  1. 01ChatGPTOpen a balanced comparison prompt in ChatGPT.
  2. 02ClaudeOpen the same research prompt in Claude.
  3. 03PerplexityResearch the comparison with linked web sources.

AI answers can be incomplete. Check source links, current pricing, and product documentation before deciding.