markhimself
New Member
I've tried without success to sum a specific cell over multiple tabs (cell C7 for instance) while trying to keep the names of the tabs variable. For instance, if I have months on separate tabs and I want to "roll up" the values for Quarter 1 (Jan - Mar), YTD (Jan - Dec), etc. it would require summing the same cell over a variety of tabs names.
In column A I have the row number labeled so that it can dynamically change as I am wanting to copy the formula so that it will sum the cell it is in (ie sum more than just cell C7, but also C8 or D7). Row 1 has the column (A, B, C, etc.) so that it can dynamically change and add those values.
Is there any way to do this without VBA?
Code:
=SUMPRODUCT(SUMIF(INDIRECT("'" & $D$6 & ":" & $E$6 & "'!" & D$1 & $A8),"<>0"))
In column A I have the row number labeled so that it can dynamically change as I am wanting to copy the formula so that it will sum the cell it is in (ie sum more than just cell C7, but also C8 or D7). Row 1 has the column (A, B, C, etc.) so that it can dynamically change and add those values.
Is there any way to do this without VBA?