move a group of arguments in a cell formula

Sconehead

New Member
Joined
Jul 4, 2017
Messages
2
Hello.

I have a column with equations in. These equations are all variations of the same one. The difference is that the arguments in the equation change for each row, and there isn't a pattern to how they change. Is it possible to quickly move the arguments in the formula, instead of doing them one at a time?

The formula in row 4 looks like this:

=INTERP(K4,F4,F5,G4,G5)

whereas the formula in row 16 may look like this:

=INTERP(K16,F29,F30,G29,G30)

As I have 70 rows of data, I don't want to go through each one and have to move 4 individual cell references. The Fcells and Gcells will always follow the same pattern relative to themselves, but not relative to the Kcell.
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
I'm not clear on [1] what the equations look like now [2] what you want them to look like. If it currently has:

=INTERP(K4,F4,F5,G4,G5)

What do you want to change it to?

WBD
 
Upvote 0
I want to keep the structure of the function the same, but change the 4 arguments on the right hand side. Is it possible to move them as a group?
 
Upvote 0
Yes. You can use VBA to change the .Formula property of the cell or range but you're not giving any indication what you want to do.

WBD
 
Upvote 0

Forum statistics

Threads
1,215,737
Messages
6,126,575
Members
449,318
Latest member
Son Raphon

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