Hello,
Hope anyone of you can help me with the following:
I want to make a sum of cell D10 in multiple sheets.
This formula I typed manually:
'=SUM(INDIRECT("'"&E4&"'!"&H5);INDIRECT("'"&E6&"'!"&H5))'
E4 = The name of a sheet
E5 = Blank cell (The formula returns "" - So not really empty)
E6 = Another sheetname
H5 = D10
If i also add E5 (the blank reference to a sheetname) in the formula it goes wrong.
The column "E" could go to E50 for example, it expands every time and has blank cells.
Does anyone know a formula to get this to work?
Or maybe a macro
Thanks in advance!
Greetings,
("E" is not the only column with sheetnames (sum between first and last sheet is not an option))
Hope anyone of you can help me with the following:
I want to make a sum of cell D10 in multiple sheets.
This formula I typed manually:
'=SUM(INDIRECT("'"&E4&"'!"&H5);INDIRECT("'"&E6&"'!"&H5))'
E4 = The name of a sheet
E5 = Blank cell (The formula returns "" - So not really empty)
E6 = Another sheetname
H5 = D10
If i also add E5 (the blank reference to a sheetname) in the formula it goes wrong.
The column "E" could go to E50 for example, it expands every time and has blank cells.
Does anyone know a formula to get this to work?
Or maybe a macro
Thanks in advance!
Greetings,
("E" is not the only column with sheetnames (sum between first and last sheet is not an option))