How do I replace all cell references with another one when they appear multiple times in an expression?

FSAEStudent

New Member
Joined
Aug 20, 2019
Messages
7
For example here is the expression i got:
=(IF(((4*F4*F5*J5*J8*J11*J15*((F10/2)+(F11/F9)))/(F10*F18*B10))<=((B7+B15+(4*B5*B9*F4*F5/(B5*B8*B10)*(((J5*J8*J11*J15*((F10/2)+(F11/F9)))/(F10*F18))+(K5*K8*K11*K15*((F10/2)-(F11/F9))/(F10*G18)))))*B12),((4*F4*F5*J5*J8*J11*J15*((F10/2)+(F11/F9)))/(F10*F18*B10)),(IF(((4*F4*F5*J5*J8*J11*J15*((F10/2)+(F11/F9)))/(F10*F18*B10))<=((B7+B15+(4*B5*B9*F4*F5/(B5*B8*B10)*(((J5*J8*J11*J15*((F10/2)+(F11/F9)))/(F10*F18))+(K5*K8*K11*K15*((F10/2)-(F11/F9))/(F10*G18)))))*B12),0,(B7+B15+(4*B5*B9*F4*F5/(B5*B8*B10)*(((J5*J8*J11*J15*((F10/2)+(F11/F9)))/(F10*F18))+(K5*K8*K11*K15*((F10/2)-(F11/F9))/(F10*G18)))))*B11)))+IF((4*F4*F5*K5*K8*K11*K15*((F10/2)-(F11/F9))/(B10*F10*G18))<=((C7+C15-(4*B5*B9*F4*F5/(B5*B8*B10)*(((J5*J8*J11*J15*((F10/2)+(F11/F9)))/(F10*F18))+(K5*K8*K11*K15*((F10/2)-(F11/F9))/(F10*G18)))))*C12),(4*F4*F5*K5*K8*K11*K15*((F10/2)-(F11/F9))/(B10*F10*G18)),(IF((4*F4*F5*K5*K8*K11*K15*((F10/2)-(F11/F9))/(B10*F10*G18))<=((C7+C15-(4*B5*B9*F4*F5/(B5*B8*B10)*(((J5*J8*J11*J15*((F10/2)+(F11/F9)))/(F10*F18))+(K5*K8*K11*K15*((F10/2)-(F11/F9))/(F10*G18)))))*C12),0,(C7+C15-(4*B5*B9*F4*F5/(B5*B8*B10)*(((J5*J8*J11*J15*((F10/2)+(F11/F9)))/(F10*F18))+(K5*K8*K11*K15*((F10/2)-(F11/F9))/(F10*G18)))))*C11))))/B5

I need to replace all the cell references of "F4" to "O$3" in one action, how do I do this?
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
Hi & welcome to MrExcel.
Select the cell with the formula & use the Replace function (Ctrl H) put F4 in the Find box & O$3 in the Replace box.
Then in options make sure that "Match entire cell" is unchecked & "Look in" is set to Formulas
Then click "Replace"
 
Upvote 0

Forum statistics

Threads
1,223,888
Messages
6,175,207
Members
452,618
Latest member
Tam84

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