Back to functions
Lookup & Reference2026-03-1818 related articles

INDEX Function in Excel

Return a value from a range by row number, column number, or both.

Syntax

INDEX(array, row_num, [column_num])

Arguments

array

Required

The range or array that contains the values you want to return.

row_num

Required

The row position to return from the array.

column_num

Optional

The column position to return when the array has more than one column.

What it returns

Returns the value found at the specified row and column position inside the array.

What INDEX does

INDEX returns a value from a range once you know its position. Instead of searching directly for a key the way VLOOKUP does, INDEX waits for a row and column coordinate and then returns the value at that intersection.

That makes it a flexible building block in lookup formulas, especially when combined with MATCH.

Practical examples

Return a value from a two-column range

=INDEX($A$2:$B$13,5,2)

This returns the value from row 5, column 2 of the selected range.

Pair INDEX with MATCH

=INDEX($B$2:$B$13,MATCH(E2,$A$2:$A$13,0))

This pattern is popular because MATCH finds the position and INDEX returns the value.

Common mistakes and notes

Mixing up worksheet positions with array positions

INDEX counts from the top-left cell of the selected array. Row 1 means the first row of the range, not necessarily worksheet row 1.

Forgetting that one-dimensional arrays need fewer arguments

If your array is a single column, you often need only row_num. If it is a single row, you may only need column_num.

Using INDEX when a direct cell reference is simpler

INDEX is powerful, but not every sheet needs it. Use it when the position needs to be dynamic, not when the target cell is fixed.

Related functions

Related articles

Deep dives, troubleshooting guides, and practical examples that use INDEX.

AI in ExcelAdvanced
2026-03-18

The Karpathy Loop for Excel: How Autoresearch Changes the Way We Optimize Spreadsheets

Learn how Karpathy's autoresearch pattern — the AI experiment loop that ran 700 tests in two days — applies to Excel formula optimization, VBA macros, and AI-assisted spreadsheet workflows....

#ai#automation#formulas#optimization
9 min read
Read Article
AI in Excel
2026-03-10

Claude for Excel Review: Best for Complex Models and Error Tracing?

Review Claude for Excel for complex models, error tracing, and careful workbook analysis, including the limits that still matter in beta....

#ai#formulas#review#spreadsheets
3 min read
Read Article
AI in Excel
2026-03-06

ChatGPT for Excel: What It Does Well and Where It Still Needs Review

Review ChatGPT for Excel after the March 5, 2026 launch and see where it helps most with formulas, workbook analysis, and spreadsheet workflows....

#ai#formulas#spreadsheets
3 min read
Read Article
AI in Excel
2026-02-17

Copilot in Excel vs ChatGPT: Which Is Better for Real Spreadsheet Work?

Compare Copilot in Excel vs ChatGPT for workbook analysis, formula help, messy data, privacy tradeoffs, and day-to-day spreadsheet work....

#ai#comparison#spreadsheets
4 min read
Read Article
AI in ExcelFormulas
2026-01-22

Can AI Fix Broken Excel Formulas? Real Tests With VLOOKUP, XLOOKUP, and SUMIFS

I tested whether AI can fix broken Excel formulas in real scenarios involving VLOOKUP, XLOOKUP-style logic, and SUMIFS errors caused by dirty data....

#ai#formulas#troubleshooting#lookup
4 min read
Read Article
AI in ExcelFormulas
2026-01-08

How to Use AI to Explain Excel Formulas Step by Step

Learn how to use AI to explain Excel formulas step by step, including how to verify the explanation and catch what the model still gets wrong....

#ai#formulas#troubleshooting
3 min read
Read Article
AI in ExcelFormulas
2025-12-18

Best AI for Excel Formulas: Copilot vs ChatGPT vs Claude

Compare Copilot, ChatGPT, and Claude for Excel formulas using the same prompt, the same workbook task, and the same verification standard....

#ai#formulas#comparison
4 min read
Read Article
FormulasIntermediate
2025-05-15

How to Use XLOOKUP with Multiple Criteria in Excel

Learn how to use XLOOKUP with multiple criteria in Excel by combining Boolean logic or concatenation for cleaner, more flexible lookups....

#criteria#lookup#formulas
5 min read
Read Article
FormulasComparison
2025-03-27

XLOOKUP vs VLOOKUP in Excel: Which Should You Use?

Compare XLOOKUP vs VLOOKUP in Excel, including syntax, left lookups, exact matches, and when the older function still makes sense....

#xlookup#vlookup#comparison#lookup
5 min read
Read Article
FormulasBeginner
2025-02-13

XLOOKUP Function in Excel: Step-by-Step Guide for Beginners

Learn how to use XLOOKUP in Excel with beginner-friendly steps, practical examples, and a clear comparison with VLOOKUP, HLOOKUP, and INDEX MATCH....

#xlookup#lookup#excel-formulas
9 min read
Read Article
FormulasIntermediate
2012-04-09

A Dynamic Dependent Drop Down List with a Horizontal Table Reference

I received a comment asking if a dynamic dependent drop-down list in Excel could have a list where the "table headers were actually rows and not columns?" Since...

#excel-legacy#excel-for-mac#names
3 min read
Read Article
FormulasIntermediate
2012-03-22

How to Update a List or Range without OFFSET

I avoid the use of Volatile Functions , especially OFFSET, which is commonly used to update a list or range. They can slow down the operation of your workbook....

#excel-legacy#excel-for-mac#vba
3 min read
Read Article
FormulasIntermediate
2011-05-25

A Dynamic Dependent Drop Down List in Excel

Learn how to create dynamic dependent drop-down lists in Excel....

#excel-legacy#excel-for-mac#names
6 min read
Read Article
Features
2011-04-30

Create a List in Excel 2003

The List Object in Excel 2003 is the forerunner of the modern Excel Table with some of the same features....

#excel-legacy
3 min read
Read Article
Intermediate
2011-04-20

Dynamic Table Reference with INDEX

A Defined Name with the INDEX function gives a dynamic range reference to a Table column, but moving a Table column can invalidate the reference....

3 min read
Read Article
FormulasIntermediate
2011-01-24

INDEX and MATCH Functions Together Again in Excel

The INDEX and MATCH functions perform a lookups in Excel. INDEX returns a cell from an array, MATCH contributes the row and/or column position....

2 min read
Read Article
FormulasIntermediate
2011-01-21

The INDEX Function in Excel

The INDEX function returns a cell value from a range, given a row and/or column position number. Three examples are given in this article....

3 min read
Read Article
FormulasIntermediate
2011-01-19

The MATCH Function in Excel

The MATCH function in Excel returns the position number of a matched value from within a range, not the value itself....

3 min read
Read Article

Official documentation