INDIRECT in Excel
INDIRECT is the only function that takes an address as text and reads it as a reference. That makes it powerful for dashboards driven by a name in a cell — and fragile, because Excel cannot see through a reference it cannot parse.
INDIRECT syntax and its two arguments
The first argument is a string that describes an address. That it takes text instead of a reference is the whole point, and the whole risk.
A string like "C2", "B2:B9" or "'Q1 Sales'!B2", or an expression that builds one. Pass a cell reference and INDIRECT reads that cell's contents as the address text.
TRUE (default) interprets the string as A1 notation, FALSE as R1C1. Almost always omitted.
A reference assembled from two cells
A dashboard stores a column letter and a row number, and INDIRECT reads the cell they describe.
| Item | Units | Price |
|---|---|---|
| Widget | 120 | 24.99 |
| Gadget | 80 | 19.50 |
| Bolt | 300 | 3.20 |
With F1 = "C" and F2 = 2 the text is "C2", so the formula returns 24.99. Change either control cell and the same formula reads a different cell — the address is the variable.
Cross-sheet references, built from text
The sheet name is part of the string. Quote it with single quotes as soon as it contains a space.
With "Q1" in A2 the formula reads 'Q1'!B2. Drop the quotes ("Q1!B2") and any sheet name containing a space returns #REF!.
When INDIRECT is the right tool, and when it is not
Use it
Use it when the target genuinely lives in a cell: a dashboard that switches which table or sheet it shows, a monthly set of identically shaped tabs, a named range chosen by name.
Avoid it
Avoid it when a position can be computed (INDEX is enough), in workbooks where rows are inserted or sheets are renamed, and in large models — it is volatile and recalculates on every change.
4 INDIRECT gotchas
1. It is volatile
Excel cannot trace a reference built from text, so INDIRECT recalculates on every change anywhere in the workbook. Across thousands of rows you can feel it.
2. It does not follow inserts or renames
The string is fixed: insert a row above and "C2" stays "C2". A normal reference would have shifted; this will not.
3. Closed workbooks cannot be read
INDIRECT only reads open workbooks. Point it at a closed file and it returns #REF!.
4. The value keeps its own type
If the target holds a number stored as text, INDIRECT returns text. Wrap it in VALUE when you need arithmetic.
Excel vs Google Sheets
Microsoft Excel (365 / Desktop)
Excel's INDIRECT accepts both A1 and R1C1 notation, and can resolve a named range given as text.
Google Sheets
Google Sheets has INDIRECT too, with the same cross-sheet quoting. Some functions, IMPORTRANGE among them, cannot be assembled from text.
INDIRECT exercises
Build a reference from text with INDIRECT, and compare when INDEX is the better answer. The formula has to follow the control cells.
FAQ
What does INDIRECT do in Excel?
It converts text into a reference: INDIRECT("C2") behaves exactly like writing C2. Because the text can be assembled from other cells, the address itself becomes a variable.
How do I reference another sheet with INDIRECT?
Include the sheet name in the text and quote it: INDIRECT("'"&A2&"'!B2") reads sheet A2 and returns its B2. The single quotes around the sheet name are required as soon as it contains a space.
Why does INDIRECT return #REF! after someone renamed a sheet?
The sheet name lives in a text string, so renaming the sheet does not update it. That is the trade-off: INDIRECT follows text, not the workbook structure.