INDIRECT Function in Excel: Build a Reference From Text

INDIRECT Function in Excel: Build a Reference From Text featured illustration

πŸ“Ž This article includes 1 downloadable practice file ↓

⏱ 2 min readUpdated 5 October 2026

LookupLevel: ExpertAvailable in: Excel 2007+

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

INDIRECT turns text such as “Mar!B5” into a real reference β€” the key to dependent dropdowns and summary sheets that switch between monthly tabs.

Advertisement

Syntax

=INDIRECT(ref_text, [a1])
Argument What it means
ref_text A reference written as text.

Examples

Example 1

=INDIRECT(A2 & "!B5")

B5 on the sheet named in A2.

Example 2

=INDIRECT($B2)

Data-validation source for dependent dropdowns (named ranges).

Common errors and fixes

You see Why, and the fix
#REF! Sheet name misspelled, or contains spaces without quotes: use “‘” & A2 & “‘!B5”.
πŸ’‘ Volatile and breaks silently if sheets are renamed β€” use sparingly.

INDIRECT in practice

Where you will use it

  • Pick a sheet by name from a dropdown
  • Dependent dropdown lists
  • Build references from text

Worked example

Ref textFormulaResult
H1=INDIRECT(A2)Apr
H2=INDIRECT(A3)May
H3=INDIRECT(A4)Jun

Results calculated in Excel.

Mistakes people make

MistakeWhat to do instead
VolatileRecalculates constantly; slows big files
Renaming sheetsText references don't update; prefer INDEX/XLOOKUP

OFFSET Β· INDEX Β· ADDRESS

πŸ“š 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

  • πŸ“—
    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 *