Incrementing a formula by more than a value of 1 when dragging down a row

jeffdlinn

New Member
Joined
Nov 18, 2013
Messages
29
Office Version
  1. 365
Platform
  1. Windows
I have an Amortization table in a sheet that has 360 rows and one of the columns shows the interest payment each month. In a separate sheet I have 30 rows which represent 30 years.

I have the following formula in one cell to sum the first 12 months of interest: =sum(Amortization!D6:D17) as expected when I drag this formula down the formula changes as expected to

=sum(Amortization!D6:D17)
=sum(Amortization!D7:D18)
=sum(Amortization!D8:D19)
=sum(Amortization!D9:D20)
, etc.
When I drag the formula instead of incrementing by one I'd like the formula to increment by 12 so it captures the next 12 months. As an example, it would look like this:
=sum(Amortization!D6:D17)
=sum(Amortization!D18:D29)
=sum(Amortization!D30:D41)
=sum(Amortization!D42:D53)
, etc.
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
Try:
Excel Formula:
=SUMPRODUCT((ROW($D$1:$D$1000)>=(ROWS($6:6)-1)*12+6)*(ROW($D$1:$D$1000)<=(ROWS($6:6)-1)*12+17)*Amortization!$D$1:$D$1000)
 
Upvote 0
You can try:

Excel Formula:
SUM(OFFSET(AMORTIZATION!$D$6,12*(ROW(A1)-1,0,12,1))
 
Last edited:
Upvote 0
You can try:

Excel Formula:
SUM(OFFSET(AMORTIZATION!$D$6,12*(ROW(A1)-1,0,12,1))

I gave this formula a try but received a parsing error. If you look at the Yearly Tab (cell K12) of the sheet linked above you see it returns an error.
 
Upvote 0
I see your Spreadsheet in Spanish, use the translation:

Excel Formula:
SUMA(DESREF(AMORTIZATION!$D$6;12*(FILA(A1)-1;0;12;1))
 
Upvote 0
Try:
Excel Formula:
=SUMPRODUCT((ROW($D$1:$D$1000)>=(ROWS($6:6)-1)*12+6)*(ROW($D$1:$D$1000)<=(ROWS($6:6)-1)*12+17)*Amortization!$D$1:$D$1000)

I tried this formula but received an error. Please look at the sheet labeled "Yearly" and look at cell K12 - This is where I entered your formula. In column M are the results that should show in Column K
 
Upvote 0
It's missing a parenthesis after -1
Excel Formula:
=SUM(OFFSET(AMORTIZATION!$D$6,12*(ROW(A1)-1),0,12,1))
 
Upvote 0
Solution
My bad, I typed the formula by hand, all uppercase, and it seems a misplaced comma.
 
Upvote 0

Forum statistics

Threads
1,224,828
Messages
6,181,201
Members
453,022
Latest member
RobertV1609

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top