
The INDIRECT function in Excel turns text into a cell reference. =INDIRECT("B2") returns the value in B2, and =INDIRECT(A1) returns the value of whatever cell address is written as text in A1. That lets you build a reference from pieces, such as a sheet name that changes with a drop-down. This guide shows the syntax, how to pick a sheet by name, how to make a dependent drop-down list, and why INDIRECT is slow and fragile. The sample data is made up.
INDIRECT syntax
=INDIRECT(ref_text, [a1])
- ref_text is text that looks like a reference, such as "B2", "A1:A10" or "Sheet2!C5".
- a1 is optional. TRUE or left out means A1 style, which is the normal style. FALSE means R1C1 style.
A simple example
If A1 holds the text B2, then =INDIRECT(A1) returns whatever is in B2. If you change A1 to C5, the result switches to C5. The reference lives inside text, so Excel does not adjust it when you insert or delete rows.

Build a reference from pieces
Use the ampersand to join text and a number: =INDIRECT("B" & 5) returns B5. With a row number in A1, =INDIRECT("B" & A1) picks the row from a cell. Our guide to concatenating in Excel covers the joining part.
Pick a sheet by name
Suppose you have sheets called Jan, Feb and Mar, each with a total in B10. Put the sheet name in A1 and write:
=INDIRECT("'" & A1 & "'!B10")
The single quotes make it work even when the name has spaces. Type "Feb" in A1 and you get the total from the Feb sheet. This replaces a long row of separate links when you want one summary cell to read from any month.

Sum a range chosen by a cell
INDIRECT also returns ranges. To sum B2:B20 on the sheet named in A1:
=SUM(INDIRECT("'" & A1 & "'!B2:B20"))
Use a named range from a cell
If you have named ranges called East and West, the text in a cell can pick one. With "East" in A1, =SUM(INDIRECT(A1)) sums the East range. See our named ranges guide for how to make names.
Dependent drop-down lists
This is the best known use. Name the list of cities for each country with the country name, such as a range called France and a range called Spain. In the second drop-down, choose Data Validation, then List, and set the source to =INDIRECT(A2), where A2 holds the first drop-down choice. The second list then shows the cities for the chosen country. Range names cannot contain spaces, so use an underscore in names and replace spaces with SUBSTITUTE(A2, " ", "_") in the formula. The first list is built as in our Excel drop-down list guide.

Why INDIRECT can be a problem
- It is volatile. It recalculates every time anything changes, which can slow big workbooks.
- It does not follow changes. If you rename a sheet or move a cell, the text inside the formula stays the same, so the formula breaks or points to the wrong place.
- It is hard to audit. Trace Precedents cannot see where an INDIRECT formula reads from.
- Closed workbooks. It cannot read from another workbook that is closed. You get #REF!.
Alternatives
For choosing a column or row, INDEX is faster and does not break when cells move. For lookups across sheets, XLOOKUP or VLOOKUP with the sheet name in the formula is safer, as in VLOOKUP from another sheet. Use INDIRECT when the sheet or range truly has to change with a cell.

Fix common errors
- #REF! The text is not a valid reference, the sheet does not exist, or the other workbook is closed.
- Works for some sheets only. Names with spaces need single quotes around them.
- Stopped working after a rename. The sheet name in the text is old. Update the cell that holds the name.
- Dependent list shows an error. The named range does not match the text in the first drop-down.
Questions and answers
Does INDIRECT work in Google Sheets?
Yes. INDIRECT exists in Google Sheets and works the same way for a sheet or range written as text.
What does the a1 argument do?
It chooses between A1 style references and R1C1 style. Most people never change it.
Is INDIRECT the same as a link to another sheet?
A normal link follows the cell if it moves. INDIRECT uses text, so it does not.
Can INDIRECT read a whole column?
Yes, for example =INDIRECT("B:B"), but a whole column in a heavy formula can be slow.
