equivalent of copy / paste without doing so

moira

New Member
Joined
Sep 16, 2004
Messages
22
I have a formula in cell I3 that reads =sum(e37:e126). Easy enough.

I would like the formula in cell J3 to take the formula in I3 and move it to the right one column. In this case it would be =sum(f37:f126).

I can accomplish this thru a simple copy and paste. However, I would like the formula in cell J3 to grab the formula in cell I3 and take it to the right one column automatically without me having to copy and paste each time.

I envision this is a manipulation of offset / index / sum but I'm just not quite sure how to get there. Any thoughts would be greatly appreciated.
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
Have you tried the macro recorder? It should give you a forumula that you can use in the new cell.

So, from I3
Code:
activecell.offset(0,1).select
ActiveCell.FormulaR1C1 = "=SUM(R[34]C[-7]:R[123]C[-7])"
 
Upvote 0
Thanks. I'm trying to avoid using a macro. I figured I could get there with the help of vba but wanted to see if there was a formula that could do the trick?
 
Upvote 0
Hi,

Try this in I3
=SUM(OFFSET($E$37:$E$126,0,COLUMNS($A:A)-1))

drag to J3

HTH

M.
 
Upvote 0

Forum statistics

Threads
1,224,564
Messages
6,179,548
Members
452,927
Latest member
rows and columns

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