Use INDIRECT to Reference Dynamically Created Excel Sheets
Question details
Use a worksheet name stored in a cell to build a reference to a dynamically created worksheet.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Worksheets are created from a template, and a Summary sheet needs to retrieve the same cell from each worksheet without repetitive update macros.
- Observed behavior
- A Summary formula should retrieve the value from the worksheet named in a cell without requiring a separate Update button.
Make sure the source worksheet exists and identify the Summary cell that will hold its exact name. Confirm that the value you want to retrieve is in the same cell, such as I18, on each template-based worksheet.
Use INDIRECT to reference a worksheet named in a cell
Use this formula when each worksheet has the value in the same cell and its name is listed on the Summary sheet.
On the Summary sheet, enter the exact source worksheet name in cell A1.
Select a result cell and enter =INDIRECT("'"&A1&"'!I18"). Press Enter to retrieve cell I18 from the worksheet named in A1.
When you create another worksheet from the template, enter its name in the appropriate Summary cell and copy or adjust the formula to reference that cell.

Combine INDIRECT with ADDRESS for a dynamic cell address
Use ADDRESS when the row and column of the source cell also need to be constructed in the formula.
Reference template-based sheets in WPS Spreadsheets
Use INDIRECT in WPS Spreadsheets to retrieve a value from a worksheet named on your Summary sheet, without a separate update macro.
- 1. Open the workbook: Open WPS Spreadsheets and use Open to select your Excel workbook.
- 2. List the worksheet name: On the Summary sheet, enter the exact source worksheet name in cell A1.
- 3. Add the formula: Select a result cell, enter =INDIRECT("'"&A1&"'!I18"), and press Enter.
- 4. Add future sheets: After creating a new worksheet from the template, enter its name on the Summary sheet and copy or adjust the formula to reference the new name.

Frequently Asked Questions
Why does my INDIRECT formula return #REF!?
Check that the worksheet exists and that the name in A1 matches its tab exactly. If the name contains an apostrophe, escape it with SUBSTITUTE: =INDIRECT("'"&SUBSTITUTE(A1,"'","''")&"'!I18").
Does INDIRECT automatically add new worksheet names to the Summary sheet?
No. Enter each new worksheet name in a Summary cell, then copy or adjust the formula to reference that cell.
What happens if I rename a referenced worksheet?
The text stored in the Summary cell does not automatically change with the worksheet tab. Update the name in that cell to match the renamed sheet.
How can I change the source cell from I18?
Replace I18 in the INDIRECT formula with the desired cell address. Alternatively, use ADDRESS with the desired row and column numbers to construct the address.




