Reference Another Sheet Name and Build a Dynamic Overview in Excel
Question details
Return another worksheet's name and create overview sections for copied project or phase sheets.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- A workbook contains project sheets that may be copied, and an overview sheet should display information from each one.
- Observed behavior
- The desired overview shows the referenced sheet name and can be refreshed to include copied project sheets.
Save the workbook before using CELL("filename"), and identify the source cells you want to display on the overview. The VBA example requires desktop Excel and a macro-enabled workbook; it uses columns A and B of a sheet named Overview.
Return another worksheet's name with a formula
Use this formula when you need a cell to display the name of a specific worksheet.
Select File > Save or Save As and save the workbook so Excel can return its filename.
On the overview sheet, select a cell and enter =RIGHT(CELL("filename",'Project ABC'!A1),LEN(CELL("filename",'Project ABC'!A1))-FIND("]",CELL("filename",'Project ABC'!A1))). Replace Project ABC with your sheet name.
Press Enter. The cell should display the referenced worksheet's name. If you rename that sheet in Excel, its formula reference updates automatically.

Build refreshable overview blocks for project sheets with VBA
Use a macro to rebuild an overview from every worksheet whose name starts with Project.
Reference project sheets in WPS Spreadsheets
Use worksheet references and a sheet-name formula to build an overview in WPS Spreadsheets. Add or copy overview blocks manually when you add project sheets.
- 1. Open and save the workbook: Open the Excel workbook in WPS Spreadsheets and select File > Save As to save a working copy.
- 2. Add an overview sheet: Use the plus button beside the worksheet tabs to add a sheet, then rename its tab Overview.
- 3. Reference a project sheet: In an overview cell, enter ='Project ABC'!A1 to display a source value. To display the sheet name, enter =RIGHT(CELL("filename",'Project ABC'!A1),LEN(CELL("filename",'Project ABC'!A1))-FIND("]",CELL("filename",'Project ABC'!A1))).
- 4. Add more blocks: Copy the overview cells for each additional project sheet and edit the sheet name in each copied formula. Repeat this when you add a project sheet.

Frequently Asked Questions
Why does the sheet-name formula return an error?
Save the workbook first using File > Save. CELL("filename") may return an empty value in an unsaved workbook, so the formula cannot find the closing bracket.
Will the formula update if I rename the source sheet?
Yes. When you rename the referenced worksheet in Excel, Excel updates the sheet reference in the formula. The returned name reflects the renamed sheet when the formula recalculates.
Does copying a project sheet automatically add an overview block?
Not with the sheet-name formula alone. Use the CopyProjectAndRefresh macro to copy and refresh in one action, or run RefreshOverview after copying a sheet normally.
Can I use the VBA example in Excel for the web?
Excel for the web cannot run VBA macros. Open the workbook in desktop Excel, save it as an .xlsm file, and run the macro from Developer > Macros.




