Hi, I have data across rows in sheet1 where I need to sum data from column B in sheet2. I need to sum 6 rows (6 months of payments) of sheet2 in column B starting from a specific month which is in the first row of sheet1 and also in column A in sheet2. When I copy the formula in sheet1 across the columns I would like the sum function to automatically go to the next month and then again sum 6 rows.
So the sum formula in sheet1 G8 would be: =SUM(Premiums!B25:B30)
The sum formula in sheet1 H8 would be: =SUM(Premiums!B26:B31)
Of course I can do this manually but there must be a way to just copy this and have excel change the references. I tried to get somewhere using INDIRECT and ADDRESS but cannot seem to get it right. I have the following formula in G8:
=SUM(INDIRECT("Premiums!B"&COLUMN(B:B)):INDIRECT("Premiums!B"&COLUMN(J:J)))
THANKS!
So the sum formula in sheet1 G8 would be: =SUM(Premiums!B25:B30)
The sum formula in sheet1 H8 would be: =SUM(Premiums!B26:B31)
Of course I can do this manually but there must be a way to just copy this and have excel change the references. I tried to get somewhere using INDIRECT and ADDRESS but cannot seem to get it right. I have the following formula in G8:
=SUM(INDIRECT("Premiums!B"&COLUMN(B:B)):INDIRECT("Premiums!B"&COLUMN(J:J)))
THANKS!