WorkbookLogic
FunctionLookup and referenceadvancedINDIRECTSUMIF

INDIRECT Function

By WorkbookLogic

INDIRECT converts text into an Excel reference. It enables configurable references but is volatile and less auditable than direct references or INDEX.

ExcelLast reviewed Sep 11, 2026
indirect-function-v1.0.0.xlsx
Excel INDIRECT Function
INDIRECT converts editable text into a live same-sheet reference.
Source data, editableExamples
LabelValueLabelValueExampleFormula syntaxResult
Target value42Second value18Address text=INDIRECT("B12")42
Range value10Range value20Sum text range=SUM(INDIRECT("B13:B14"))40
Range value30Row number12Built address=INDIRECT("B"&D14)42
Reliability checks
Text address B12 resolves to 42OK
Text-defined range sums to 40OK

Overview

INDIRECT interprets text as a live cell or range reference.

Quick reference

Syntax: =INDIRECT(ref_text, [a1])

Returns: The value or reference identified by the supplied text. (reference)

Arguments:

  • ref_text (required) — Text describing a valid reference.
  • a1 (optional) — TRUE or omitted uses A1 style; FALSE uses R1C1 style.

The bracketed a1 argument is optional. TRUE or omission interprets ref_text as an A1-style reference, while FALSE uses R1C1 notation.

Common uses

  • Selecting a sheet or range from a user choice
  • Converting stored address text into a reference
  • Building configurable report layouts

When not to use it

Use direct references or INDEX when the target can be expressed structurally. They remain easier to trace, respond more predictably to inserted rows and columns, and avoid INDIRECT's workbook-wide recalculation behavior.

Calculations

Excel evaluates ref_text, interprets the resulting string as an address, and returns that reference to the formula. Text can be fixed, stored in a cell, or assembled with concatenation. INDIRECT is volatile, so it recalculates whenever Excel recalculates the workbook.

Function behavior

Situation

Behavior

Invalid address text

Returns #REF!.

Omitted a1

Uses A1 reference style.

Inserted rows or columns

Address text is not rewritten like a direct reference.

Closed external workbook

References may be unsupported and return #REF!.

Common errors

Overusing volatile references

What happens: Large models recalculate more slowly and become harder to trace.
Better approach: Prefer direct references, INDEX, or structured references where possible.

Assuming text updates structurally

What happens: Inserted rows do not adjust an address embedded in a string.
Better approach: Test structural changes or avoid hard-coded address text.

Example

Example 1 — Fixed address text

=INDIRECT("B12")

The workbook returns the value 42 from B12.

Example 2 — Text-defined range

=SUM(INDIRECT("B13:B14"))

B13 and B14 contain 10 and 30, so the result is 40.

Example 3 — Built address

=INDIRECT("B"&D14)

With D14 equal to 12, the generated address is B12 and the result is 42.

Example workbook

The workbook demonstrates a fixed address, a text-defined range, a concatenated address, and Excel-recalculated checks.

Key takeaway

Use INDIRECT only when a reference truly must come from text, and prefer nonvolatile alternatives otherwise.