Is there a way to turn C4 into a formula that actually performs a sum range of the result produced by the formula that's already in the cell? Referencing C4 in a sum range from another cell works (for example, [SUM(INDIRECT(C4))] in C5 produces the correct value of "0"). But is there a way to do it all within the same cell?
9-16-22 MrExcel.xlsx | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
C | D | E | F | G | H | I | J | K | L | |||
4 | 'Daily Tally'!G7702:G7722 | 'Daily Tally'!H7702:H7722 | 'Daily Tally'!I7702:I7722 | 'Daily Tally'!J7702:J7722 | 'Daily Tally'!K7702:K7722 | 'Daily Tally'!L7702:L7722 | 'Daily Tally'!M7702:M7722 | 'Daily Tally'!N7702:N7722 | 'Daily Tally'!O7702:O7722 | 'Daily Tally'!P7702:P7722 | ||
5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2.25 | ||
Sheet1 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
C4:HR4 | C4 | ="'Daily Tally'!"&SUBSTITUTE(ADDRESS(1,MATCH(SORT('Daily Tally'!G2#),C3:HV3,0)+6,4),"1","")&XMATCH(B389,'Daily Tally'!A:A,0)&":"&SUBSTITUTE(ADDRESS(1,MATCH(SORT('Daily Tally'!G2#),C3:HV3,0)+6,4),"1","")&XMATCH(B389+1,'Daily Tally'!A:A,0)-1 |
C5:L5 | C5 | =SUM(INDIRECT(C4)) |
Dynamic array formulas. |
Named Ranges | ||
---|---|---|
Name | Refers To | Cells |
DailyTallyData | ='Daily Tally'!$A$5:$D$6644 | C4 |