How to Automatically Update an Excel Summary Sheet with Daily Data
Question details
The user needs to automate a master summary sheet so that it dynamically updates data from new daily production report worksheets without requiring manual edits to the VLOOKUP references.
- Product
- Excel
- Device & OS
- not provided
- Scenario
- Consolidating daily production reports into a single master summary sheet where each day's data is on a separate worksheet.
- Observed behavior
- The user currently has to manually edit the worksheet reference in their VLOOKUP formulas every time a new daily production sheet is added to the workbook.
Ensure all your daily report worksheets follow a strict and consistent naming convention (e.g., 'Day1', 'Day2') and share the exact same data and column structure.
Use the INDIRECT Function for Dynamic Worksheet References
Automate your VLOOKUP formulas by using the INDIRECT function to dynamically pull the target worksheet name from a designated cell, eliminating manual formula edits.
The INDIRECT function allows you to build a cell reference from a text string. By combining it with VLOOKUP, you can point the formula to a cell containing the sheet name, so the formula automatically targets the correct daily worksheet.
Create a new column in your summary sheet (e.g., Column A) and list the exact names of your daily worksheets (like 'Day1', 'Day2').
Select the cell where you want the consolidated data. Replace your hardcoded VLOOKUP formula with one containing INDIRECT. For example: =VLOOKUP(B2, INDIRECT("'" & A2 & "'!A:Z"), 2, FALSE).
Press Enter to calculate the result. Click the fill handle in the bottom-right corner of the cell and drag it down to apply the dynamic formula to the rest of the rows.
Standardize Workbook Structure and Troubleshoot References
Verify your workbook's structural integrity to ensure complex cross-sheet formulas calculate without reference errors.
Automate Summary Sheets Easily with WPS Spreadsheet
WPS Spreadsheet provides powerful data consolidation tools and advanced functions like INDIRECT and VLOOKUP, making it simple to pull data from daily reports into a master summary sheet automatically.
- 1. Open your workbook: Launch WPS Spreadsheet and open your existing daily production report workbook.
- 2. Set up your summary sheet: Navigate to your summary sheet and ensure you have a column listing all the daily worksheet names exactly as they appear on the tabs.
- 3. Apply the dynamic formula: In your result cell, type =VLOOKUP(lookup_value, INDIRECT("'"&cell_with_sheet_name&"'!range"), col_index, FALSE).
- 4. Drag to fill: Press Enter, then drag the fill handle down to instantly update data for all your daily reports without any manual reference changes.

Frequently Asked Questions
Why does my INDIRECT formula return a #REF! error?
A #REF! error typically occurs if the worksheet name referenced in the cell contains a typo, space, or special character, or if the sheet does not exist in the workbook. Ensure you wrap the sheet name in single quotes within the INDIRECT formula string (e.g., "'" & A2 & "'!").
Can I use 3D references with VLOOKUP across multiple sheets?
No, VLOOKUP does not support 3D referencing (like Sheet1:Sheet3!A1:B10). To pull lookup data across multiple sheets, you must use dynamic referencing like the INDIRECT function, or stack multiple formulas using IFERROR.
Is there a way to automatically generate a list of all sheet names?
Yes. While standard formulas cannot list all sheet names, you can use the Name Manager to create a custom name utilizing the GET.WORKBOOK(1) macro function, or write a short VBA script to extract and list all worksheet names into your summary column.




