Updating several formulas on a sheet, but not with the same data.

RFK

New Member
Joined
Mar 15, 2024
Messages
2
Office Version
  1. 365
Platform
  1. Windows
I have a sheet with several formulas that need to be updated.
The old and new formulas are all the same, but with different reference cells in each.
Can I update them all at once?

Here are the first 3 examples, there are a lot more, which is why I don't want to do them individually.

Old formula examples.
=$K9+J16-MAX(J13+J15,J14)
=$K22+J29-MAX(J26+J28,J27)
=$K35+J42-MAX(J39+J41,J40)

Replacement formulas for each.
=$K9+($R9-$Q9)+J16-MAX(J13+J15,J14)
=$K22+($R22-$Q22)+J29-MAX(J26+J28,J27)
=$K35+($R35-$Q35)+J42-MAX(J39+J41,J40)
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
Use Excel to make a string formula to create your replacements. Then you can drag-and-drop to update numbers much easier.

Excel Formula:
="A" & M7
="A" & M8




1​
A1
2​
A2
3​
A3
4​
A4
5​
A5
 
Upvote 0
Use Excel to make a string formula to create your replacements. Then you can drag-and-drop to update numbers much easier.

Excel Formula:
="A" & M7
="A" & M8




1​
A1
2​
A2
3​
A3
4​
A4
5​
A5
Thanks for the reply.
I'm not familiar with making a string formula.
 
Upvote 0
I'm not familiar with making a string formula.
A string is programing for text. As an example, if you click in a cell and type
VBA Code:
= "Hello there, the value of cell A1 is " & A1
Then it will return the text in that cell of 'Hello there, the value of cell A1 is [A1 value]'

The example I provided above uses this to combine text and values together to make a string.
 
Upvote 0
Solution

Forum statistics

Threads
1,224,813
Messages
6,181,117
Members
453,021
Latest member
Justyna P

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