Forum Discussion
A formula that changes the sheet reference based on cell value with sheet name
- Oct 05, 2024
NikolinoDE Thank you! The one concern I have with this method is that I have 35 tables (and counting more may be added) and there are about 15 times I will reference indirect in one table. And I heard that having too many indirects in a file can bog down the load time. Do you have experience with this/know at what point the file may have too many indirects?
You are correct that excessive use of the INDIRECT function, especially in large quantities across multiple formulas, can potentially slow down the performance of your Excel workbook. The INDIRECT function is known for its volatility, which means it recalculates every time any change is made in the workbook, even if the change does not affect the referenced cells directly. This can lead to increased calculation times and slower workbook performance, particularly in large and complex workbooks.
In your case, if you have 35 tables and each table contains multiple INDIRECT formulas referencing different cells on different sheets, it could potentially impact the performance, especially if your workbook is already large or contains a lot of other formulas and data.
To mitigate this, you may consider alternative approaches such as using named ranges or structured references instead of relying heavily on INDIRECT. Named ranges can provide a more efficient and structured way to reference cells and ranges across multiple sheets without the volatility of INDIRECT. Additionally, restructuring your workbook to minimize the number of cross-sheet references and optimizing your formulas for efficiency can help improve performance.
If you find that your workbook's performance is significantly affected by the use of INDIRECT or other volatile functions, you may need to consider redesigning your formulas or workbook structure to minimize their usage and optimize performance.
- elewisjr003Sep 24, 2024Copper Contributor
Is there a way to make GL8 in your formula Relative? =INDIRECT("'" & A1 & "'!GL8")
- President2105Oct 05, 2024Copper ContributorIs there a way to use the INDIRECT formula within a formula i.e. replacing the reference "Sheet1" in this formula?
=MIN('Sheet1'!$C$46:$C$2078)- SergeiBaklanOct 05, 2024MVP