INDEX Function in Excel: Return the Value at a Row and Column Position

INDEX Function in Excel: Return the Value at a Row and Column Position featured illustration

πŸ“Ž This article includes 2 downloadable practice files ↓

⏱ 2 min readUpdated 5 October 2026

LookupLevel: IntermediateAvailable in: Excel 2007+

In this article
  1. Syntax
  2. Examples
  3. Example 1
  4. Example 2
  5. Power combo
  6. INDEX in practice
  7. Where you will use it
  8. Worked example
  9. Mistakes people make
  10. Related functions
  11. Continue learning

INDEX returns the value at a given row (and optional column) of a range. Combined with MATCH it is the most flexible lookup in every Excel version.

Advertisement

Syntax

=INDEX(array, row_num, [column_num])
Argument What it means
array The range to pick from.
row_num Row position inside the range.
column_num Column position (for 2-D ranges).

Examples

Example 1

=INDEX(B2:B100, 5)

The 5th value in the list.

Example 2

=INDEX(C2:C500, MATCH(F2, A2:A500, 0))

Classic INDEX/MATCH lookup.

Power combo

=INDEX(B2:M20, MATCH(P2, A2:A20, 0), MATCH(Q2, B1:M1, 0))

Two-way lookup: row by region, column by month.

INDEX in practice

Where you will use it

  • Pick a value by row and column number
  • Two-way lookup with MATCH
  • Return a whole row or column

Worked example

RowColFormulaResult
12=INDEX({"Pune",42;"Delhi",57},A2,B2)42
21=INDEX({"Pune",42;"Delhi",57},A3,B3)Delhi
22=INDEX({"Pune",42;"Delhi",57},A4,B4)57

Results calculated in Excel.

Mistakes people make

MistakeWhat to do instead
Counting rows from the sheet topRow numbers count from the start of the range
Hard-coded numbersUse MATCH for row/column numbers

MATCH Β· XLOOKUP Β· VLOOKUP Β· OFFSET

πŸ“š Part of the free Excel course: Beginner β†’ Expert Β· Try it in the Formula Lab or ask the AI Helper.

⚑ Interactive Practice Lab & Formula Tester:

Test formulas dynamically in our web formula laboratory or download the companion Excel workbook.

πŸ“Ž Practice files for this article

⬇ Download all 2 files (ZIP Β· 39 KB)

  • πŸ“—
    Lookup scenarios workbookVLOOKUP, HLOOKUP, INDEX/MATCH and XLOOKUP side by side β€” vertical, horizontal, two-way β€” plus 6 real failure cases and their fixes, with PASS/FAIL checks.
    ⬇ XLSX Β· 10 KB
  • πŸ“—
    Practice workbook: Lookup & reference17 tasks on realistic sales data β€” type your formula, the Check column turns green when it is right. Answers sheet included.
    ⬇ XLSX Β· 35 KB

Free to use for learning. Files with macros (.bas) are plain text β€” import them with Alt+F11 β†’ File β†’ Import File, and always test on a copy.

✨ Ask AI about this article

Stuck on a step? Ask a question and the AI answers using this article.

Free Β· AI can be wrong

Leave a Reply

Your email address will not be published. Required fields are marked *