Move formula 1 column but have the range move 3 columns

MWDB

New Member
Joined
Mar 4, 2022
Messages
3
Office Version
  1. 365
Platform
  1. Windows
Hi and thanks for the help in advance,

I can't remember how I did it in the past.

I have a sum formula in cell F21 =SUM(F16:H16). I want to drag the formula to cell G21 but then have the range to be =SUM(I16:K16). I know that offset works for this but can't figure it out.

Thank and kind regards.

Martin
 

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

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
77,510
Office Version
  1. 365
Platform
  1. Windows
How many cells do you want this in?
 

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
77,510
Office Version
  1. 365
Platform
  1. Windows
How about
Excel Formula:
=SUM(INDEX($F$16:$X$16,COLUMNS($F21:F21)*3+{-2,-1,0}))
 

MWDB

New Member
Joined
Mar 4, 2022
Messages
3
Office Version
  1. 365
Platform
  1. Windows
How about
Excel Formula:
=SUM(INDEX($F$16:$X$16,COLUMNS($F21:F21)*3+{-2,-1,0}))
So the tootal number of columns with data in it is 77.
 

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
77,510
Office Version
  1. 365
Platform
  1. Windows
Did that formula work?
 

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
77,510
Office Version
  1. 365
Platform
  1. Windows
Welcome to the MrExcel Message Board!

Cross-posting (posting the same question in more than one forum) is not against our rules, but the method of doing so is covered by #13 of the Forum Rules.

Be sure to follow & read the link at the end of the rule too!

Cross posted at:Drag formula 1 cell to the right but have the range of the sum move 3
If you have posted the question at more places, please provide links to those as well.

If you do cross-post in the future and also provide links, then there shouldn’t be a problem.
 

Forum statistics

Threads
1,175,533
Messages
5,897,971
Members
434,688
Latest member
vi28

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
Top