How to get sum to jump 3 columns

MrGeek1

New Member
Joined
Jul 24, 2019
Messages
32
Hi,

I got the following issue I run into. I want to sum one row at a different tab for each quarter. For example SUM(A20:C20) and then in the next column cell I want to get SUM(D20:F20) and the next column SUM(G20:I20). How can I do this efficiently in a dynamic way?

Appreciate your help!
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
What column are you placing the first formula (SUM(A20:C20)) in?
 
Upvote 0
=SUM(OFFSET(Sheet1!$A$20:$C$20,,3*(ROWS($A$1:A1)-1)))

Does this do what you want assuming your data is in A20:C20 on sheet 1?
 
Upvote 0
All the data is one row with a lot of data in that row spread over the columns.

I want to drag the formula through so that it jumps 3 columns from the Sheet1!$A$20:$C$20 so that it jumps to the result of Sheet1$D$20:$F$20 and so forth
 
Upvote 0
After re reading i noticed you wanted to drag right, not down:

=SUM(OFFSET(Sheet1!$A$20:$C$20,,3*(COLUMNS($A$1:A1)-1)))
 
Upvote 0
Just another way:

<table border="1" cellspacing="0" style="font-family:Calibri,Arial; font-size:11pt; background-color:#ffffff; "> <colgroup><col style="font-weight:bold; width:30px; " /><col style="width:34.22px;" /><col style="width:34.22px;" /><col style="width:34.22px;" /><col style="width:34.22px;" /><col style="width:34.22px;" /><col style="width:34.22px;" /><col style="width:34.22px;" /><col style="width:34.22px;" /><col style="width:34.22px;" /></colgroup><tr style="background-color:#cacaca; text-align:center; font-weight:bold; font-size:8pt; "><td > </td><td >A</td><td >B</td><td >C</td><td >D</td><td >E</td><td >F</td><td >G</td><td >H</td><td >I</td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >20</td><td style="text-align:right; ">1</td><td style="text-align:right; ">2</td><td style="text-align:right; ">3</td><td style="text-align:right; ">4</td><td style="text-align:right; ">5</td><td style="text-align:right; ">6</td><td style="text-align:right; ">7</td><td style="text-align:right; ">8</td><td style="text-align:right; ">9</td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >21</td><td style="text-align:right; ">6</td><td style="text-align:right; ">15</td><td style="text-align:right; ">24</td><td > </td><td > </td><td > </td><td > </td><td > </td><td > </td></tr></table><br /><table style="font-family:Arial; font-size:10pt; border-style: groove ;border-color:#00ff00;background-color:#fffcf9; color:#000000; "><tr><td ><b></b></td></tr><tr><td ><table border = "1" cellspacing="0" cellpadding="2" style="font-family:Arial; font-size:9pt;"><tr style="background-color:#cacaca; font-size:10pt;"><td >Cell</td><td >Formula</td></tr><tr><td >A21</td><td >=SUM(OFFSET(INDEX(Sheet1!$A$20:$I$20,,(COLUMNS($A$1:A1)-1)*3+1),,,,3))</td></tr></table></td></tr></table>
 
Upvote 0

Forum statistics

Threads
1,224,828
Messages
6,181,213
Members
453,024
Latest member
Wingit77

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