Excel INDIRECT function🔎 Reference from text
The INDIRECT function: Reference from text. Change which cell is read by typing a number. This page shows the syntax, a worked example with its result and how the formula reads.
What does INDIRECT do?
Reference from text. Change which cell is read by typing a number
INDIRECT syntax
=INDIRECT(ref_text, [a1])
Arguments in square brackets [ ] are optional · argument names follow Microsoft's documentation
INDIRECT example with the result
=********
👑 Ready-to-use example formula for VIP supporters only · Become VIP
Formula in cell E2 Yellow cells = result
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Code | Item | Row | Gives | |
| 2 | P1 | Coffee | 3 | Thai tea | |
| 3 | P2 | Thai tea | |||
| 4 | P3 | Snack |
How it reads: Joins "B" with 3 from D2 to make B3, then reads that cell
Frequently asked questions about INDIRECT
What does INDIRECT do?
Reference from text. Change which cell is read by typing a number
What does the INDIRECT example return?
The example formula in cell E2 gives Thai tea.
Which Excel versions have INDIRECT?
It has been in Excel for many versions and works in the versions in common use today, including Excel for Microsoft 365.
🕸️ More lookup formulas and related ones
Source: support.microsoft.com
Checked 17 November 2026 · by Black Sheep Barn · example results are calculated by the app's example engine, for learning