Google Sheets INDIRECT: Dynamic Cell References & Tab Switching
INDIRECT converts a text string into an active cell or range reference. Enables dynamic switching between sheet tabs (e.g. querying Jan, Feb, Mar depending on a dropdown selection) without re-writing formulas.
=INDIRECT(cell_reference_as_string)Formula Parameters & Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
| cell_reference_as_string | Text | Required | String representing cell or range (e.g. "B5" or "'Q1'!A1:D"). |
Real-World Spreadsheet Examples
Explore verified operational formulas used in enterprise reporting and database workflows:
Example 1: Dynamic Tab Lookup Based on Dropdown Selection
=SUM(INDIRECT("'" & A1 & "'!B2:B100"))Example 2: Preserve Cell Coordinate During Row Insertion
=INDIRECT("A1")Example 3: Dynamic Summary Table Across 12 Monthly Tabs
=ARRAYFORMULA(INDIRECT("'" & A2:A13 & "'!Z1"))Common Errors & Solutions
Performance Pro Tips
- INDIRECT is a volatile function that recalculates on every user edit. Use sparingly on 50,000+ row workbooks to prevent calculation latency.
Frequently Asked Questions
Does INDIRECT recalculate automatically when data changes?
Yes. Google Sheets recalculates all dependent formulas immediately whenever referenced input cells are modified.
Is this formula compatible with Microsoft Excel?
Modern functions like XLOOKUP, FILTER, UNIQUE, SORT, and LET are natively supported in Excel 365. However, QUERY is unique to Google Sheets and uses the Google Visualization API syntax.
Related Google Sheets Formulas
XLOOKUP
XLOOKUP is the modern, flexible replacement for VLOOKUP and HLOOKUP. It searches left, right, up, and down, defaults to exact match, handles missing data gracefully, and can return entire rows or columns without breaking when columns are inserted.
Lookup & ReferenceIMPORTRANGE
IMPORTRANGE imports a specified cell range from another external Google Spreadsheet workbook. It provides real-time multi-sheet linking with built-in OAuth access permission controls.
Lookup & ReferenceINDEX / MATCH
Combining INDEX with MATCH provides two-way horizontal and vertical matrix lookups. It looks left and right, supports dynamic column and row coordinates, and is resilient against structural spreadsheet changes.