Hi, I'm currently using an OFFSET function embedded in a SUMPRODUCT formula to calculate a multiple instances of a single production stream. The formula directly underneath "Total Volume" is the following:
SUMPRODUCT($C$5:C5,N(OFFSET($D5:$D$5,ROWS($D5:$D$5)-ROW($D5:$D$5)+CELL("row",$D5:$D$5)-1,0)))
The formula works fine, however, it's repeated thousand of times across 30 other sheets and thus greatly increasing file size and slowing down the spreadsheet to a glacial pace. Does anyone have any recommendations on how to achieve the same result with an INDEX function instead of OFFSET? Thanks!
<tbody>
</tbody>
SUMPRODUCT($C$5:C5,N(OFFSET($D5:$D$5,ROWS($D5:$D$5)-ROW($D5:$D$5)+CELL("row",$D5:$D$5)-1,0)))
The formula works fine, however, it's repeated thousand of times across 30 other sheets and thus greatly increasing file size and slowing down the spreadsheet to a glacial pace. Does anyone have any recommendations on how to achieve the same result with an INDEX function instead of OFFSET? Thanks!
Total | ||||
Count | Volume | Instances | Volume | |
1 | 40 | 1 | 40 | |
2 | 32 | 0 | 32 | |
3 | 26 | 1 | 66 | |
4 | 22 | 0 | 54 | |
5 | 20 | 1 | 86 | |
6 | 17 | 0 | 71 | |
7 | 16 | 1 | 102 | |
8 | 14 | 0 | 85 | |
9 | 13 | 1 | 115 | |
10 | 12 | 0 | 97 | |
11 | 11 | 1 | 126 | |
12 | 10 | 0 | 107 | |
13 | 10 | 1 | 136 | |
14 | 9 | 0 | 116 | |
15 | 9 | 1 | 145 | |
<tbody>
</tbody>