I am new to arrays in excel and having a bit of trouble.
I have a worksheet "Raw Data" with a range which references the worksheet names in the workbook.
I want to sum up all the values from the worksheets which are listed in the Raw Data range.
I am using an array Indirect function and using Sum to sum up all the value. When I check calculate now... the indirect function is referencing all the values but the Sum function is just not adding them up and only returning the first value.
Right now the range is only BC3:BC4... I want it to be BC3:BC100+ but stop whenever a empty cell is encountered. Because this range is not fixed.
=SUM(INDIRECT(CONCATENATE("'", RIGHT('Raw Data'!BC3:BC4,5),"'!") & ADDRESS(ROW(),COLUMN())))
I have a worksheet "Raw Data" with a range which references the worksheet names in the workbook.
I want to sum up all the values from the worksheets which are listed in the Raw Data range.
I am using an array Indirect function and using Sum to sum up all the value. When I check calculate now... the indirect function is referencing all the values but the Sum function is just not adding them up and only returning the first value.
Right now the range is only BC3:BC4... I want it to be BC3:BC100+ but stop whenever a empty cell is encountered. Because this range is not fixed.
=SUM(INDIRECT(CONCATENATE("'", RIGHT('Raw Data'!BC3:BC4,5),"'!") & ADDRESS(ROW(),COLUMN())))