Hayley Vogg
New Member
I have a spreadsheet with a daily values tab that is calculated from a total values page. I then have a weekly values tab that adds up the a weeks worth of data from the daily values tab. For the use of this sample spreadsheet, I replaced the references in the daily output page with plain values. I do not think that this will affect the necessary function, but I wanted to disclose it just in case.
A user in a separate forum provided a function that allows me to drag the formula down the column, but when I drag the function across the row, however, it increases the increment by one, but I need to increase the increment by seven (for each week.)
The function that I am using that drags down the column but not also across the row is as follows:
=SUM(INDEX(DCM,ROW(A1),COLUMN(G1)):INDEX(DCM,ROW(A1),COLUMN(M1)))
This function is in cell B4 on the Weekly Output tab in the attached workbook. DCM is the table that is in the Daily Output tab that houses the data.
A user in a separate forum provided a function that allows me to drag the formula down the column, but when I drag the function across the row, however, it increases the increment by one, but I need to increase the increment by seven (for each week.)
The function that I am using that drags down the column but not also across the row is as follows:
=SUM(INDEX(DCM,ROW(A1),COLUMN(G1)):INDEX(DCM,ROW(A1),COLUMN(M1)))
This function is in cell B4 on the Weekly Output tab in the attached workbook. DCM is the table that is in the Daily Output tab that houses the data.