Forum Discussion
calling a dynamic range by composing the name with text and cell.value
- Jan 21, 2023
Okay, you have no dynamic arrays. If with VBA you may try something like using INDIRECT function with dynamic array formula syntax (Excel O365) - Stack Overflow, didn't test it. Or create helper ranges with OFFSET(), name them and use in INDIRECT.
Sorry, I see no one formula in V43 of mentioned sheet in your file. If to add in English locale
=IF(INDIRECT("jaar"&$N43),SUM(INDIRECT("Eigen_"&N43)))
it returns FALSE since period-array has no year 2014 included.
Please see in attached.
that's correct. Just click the 2014 box on the Grafieken sheet
- SergeiBaklanJan 21, 2023Diamond Contributor
Okay. An error is returned by INDIRECT() which doesn't support an array as the input. Workaround depend on which Excel platform/version you are.
- jscherpJan 21, 2023Copper ContributorWindows11 Pro 64 bit
Excel Professional Plus 2019- SergeiBaklanJan 21, 2023Diamond Contributor
Okay, you have no dynamic arrays. If with VBA you may try something like using INDIRECT function with dynamic array formula syntax (Excel O365) - Stack Overflow, didn't test it. Or create helper ranges with OFFSET(), name them and use in INDIRECT.