INDIRECT Function
Turns text that looks like a cell reference into an actual reference.
Syntax
Parameters
| Parameter | Description | Required |
|---|---|---|
| ref_text | A text string that describes a cell reference or named range. | Required |
| a1 | If TRUE, ref_text is interpreted in A1 style. If FALSE, R1C1 style. Default is TRUE. | Optional |
Basic Example
Reference a cell from text
=INDIRECT("A1")The text "A1" is converted to the cell reference A1.
Advanced Examples
Example 1: Dynamic sheet reference
Multi-sheet summaryPull a value from a sheet named in cell B2
=INDIRECT(B2 & "!A1")Example 2: Dynamic named range
DashboardSum a named range selected from a dropdown
=SUM(INDIRECT(A2))How INDIRECT Works
INDIRECT takes a text string and evaluates it as a cell reference. This allows dynamic references based on formulas or user input. However, the resulting reference is not updated when cells move or insert.
Important Notes & Limitations
Volatile: recalculates whenever the workbook changes, which can slow down large workbooks.
Does not update if rows/columns are inserted or deleted.
Cannot reference closed workbooks.
A1 parameter defaults to TRUE (A1 style).
Common Errors & Fixes
#REF! errorThe text string is not a valid reference or the sheet does not exist.Fix: Verify the text string and sheet names.
Sheet name errorSheet names with spaces need single quotes.Fix: Use 'Sheet Name'!A1 in the text string.
Circular referenceThe text string refers to the cell containing the formula.Fix: Restructure the formula to avoid self-reference.
Download Practice File
INDIRECT
indirectPractice INDIRECT with Real Data
Download a sample CSV file with pre-populated data and practice exercises for the INDIRECT function. Works in both Excel and Google Sheets.
File format: CSV (comma-separated values) - opens in Excel, Google Sheets, and all spreadsheet apps