Function Problems

Reference Another Sheet Name and Build a Dynamic Overview in Excel

Amos GikundaAmos Gikunda Dec 2, 2026 868 views

Question details

Return another worksheet's name and create overview sections for copied project or phase sheets.

Reference Another Sheet Name and Build a Dynamic Overview in Excel
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.
Before you start

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.

Solution 1Recommended

Return another worksheet's name with a formula

Use this formula when you need a cell to display the name of a specific worksheet.

1
Save the workbook

Select File > Save or Save As and save the workbook so Excel can return its filename.

2
Enter the sheet-name formula

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.

3
Check the result

Press Enter. The cell should display the referenced worksheet's name. If you rename that sheet in Excel, its formula reference updates automatically.

Return another worksheet's name with a formula
Save before using the formula: CELL("filename") may return an empty result until the workbook has been saved. This formula displays one sheet name; it does not create overview blocks for new sheets.
Build an overview in WPS Spreadsheets

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. 1. Open and save the workbook: Open the Excel workbook in WPS Spreadsheets and select File > Save As to save a working copy.
  2. 2. Add an overview sheet: Use the plus button beside the worksheet tabs to add a sheet, then rename its tab Overview.
  3. 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. 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.
Display project sheet names and linked values in an overviewOpen and edit Microsoft Excel XLSX filesUse familiar spreadsheet formulas and worksheet tabsCreate overview sections without writing a macro
QA img-9

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.