How to Get the Next Worksheet Value in Excel with INDIRECT
Question details
The user needs to dynamically retrieve a specific cell value (X36) from the upcoming week's worksheet and display it in the current worksheet (cell L37).

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Managing weekly reports where data needs to be pulled from identically structured worksheets named by date increments.
- Observed behavior
- A dynamic reference using a calculated worksheet name is required to pull the data, as static references would need to be updated manually every week.
Verify that your weekly worksheets follow a strict and consistent naming convention (e.g., 'WC 2023-10-25') and ensure the target worksheet has already been created to prevent #REF! errors.
Use INDIRECT and TEXT to Dynamically Target the Next Worksheet
Combine the INDIRECT function with date arithmetic to automatically generate the next worksheet's name as a text string, turning it into a valid cell reference.
The INDIRECT function converts a text string into an actual cell reference. By adding 7 days to a base date and formatting it with the TEXT function, you can dynamically construct the name of the upcoming weekly worksheet without hardcoding it.
Enter the current worksheet's date into a helper cell, such as Z1. This will serve as the starting point for your calculation.
Click on cell L37 (or whichever cell you want to display the retrieved value in).
Type the formula: =INDIRECT("'WC "&TEXT(Z1+7,"yyyy-mm-dd")&"'!X36") into the formula bar.
Press Enter. The formula calculates the date 7 days from the value in Z1, formats it to match the worksheet naming convention, and retrieves the value from cell X36 on that sheet.

Handle Dynamic Formulas Seamlessly with WPS Spreadsheet
WPS Spreadsheet offers powerful calculation engines that fully support complex reference functions like INDIRECT and TEXT, making it simple to manage your weekly data.
- 1. Open your workbook: Launch WPS Spreadsheet and open the file containing your weekly worksheets.
- 2. Set your reference date: Input your base date in a dedicated helper cell, such as Z1, on your current sheet.
- 3. Apply the formula: Select your target cell (e.g., L37) and input the formula =INDIRECT("'WC "&TEXT(Z1+7,"yyyy-mm-dd")&"'!X36").
- 4. Retrieve the data: Hit Enter. WPS Spreadsheet will instantly calculate the next date and pull the requested value from the corresponding sheet.

Frequently Asked Questions
Why does my INDIRECT formula return a #REF! error?
A #REF! error typically means the worksheet name calculated by the formula does not exist, contains a typo, or the formatting in the TEXT function does not exactly match the actual sheet tab name.
Can I reference a closed workbook using INDIRECT?
No, the INDIRECT function only works with open workbooks. If the worksheet you are trying to reference belongs to a different workbook that is currently closed, the formula will return a #REF! error.
Will using INDIRECT slow down my spreadsheet?
INDIRECT is a volatile function, which means it recalculates every time any change is made to the workbook. While a few instances will not affect performance, using thousands of INDIRECT formulas might cause your spreadsheet to run slower.




