Change SumIf range when copied across

mahmed1

Well-known Member
Joined
Mar 28, 2009
Messages
2,302
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
Hi

i have a simple sumif formula in B2:B11 that
is = SumIfs(tel!$J$2:$J$11,tel!$A$2:$A$11,$A2)

What i need to is when i copy the formulas across to C2:C11
I need to move these ranges down 5 rows down from the end so
this
tel!$J$2:$J$11 to tel!$J$16:$J$25

tel!$A$2:$A$11 to tel!$A$16:$A$25

when copied to D2:D11

tel!$J$16:$J$25 to tel!$J$30:$J$39

tel!$A$16:$A$25 to tel!$A$30:$A$39

etc..

i hope ive explained properly:)
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
Please let me know if i have not explained properly

apologies if i have not
 
Upvote 0
Depending on whether or not the $A2 criteria should follow the pattern as well, either

=SUMIFS(OFFSET(Tel!$J$2,(COLUMNS($B2:B2)-1)*14,0,10,1),OFFSET(Tel!$A$2,(COLUMNS($B2:B2)-1)*14,0,10,1),$A2)

or

=SUMIFS(OFFSET(Tel!$J$2,(COLUMNS($B2:B2)-1)*14,0,10,1),OFFSET(Tel!$A$2,(COLUMNS($B2:B2)-1)*14,0,10,1),OFFSET(Tel!$A2,(COLUMNS($B2:B2)-1)*14,0,10,1))

entered into B2, then filled right and down should do it.
 
Upvote 0

Forum statistics

Threads
1,214,411
Messages
6,119,360
Members
448,888
Latest member
Arle8907

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