How to replace part of the code?

Greenlee

New Member
Joined
Aug 31, 2014
Messages
23
I have formula
I want to replace all H to H9 how do I do that ? cause its to much work to replace 10000 formulas

=((E28/H12)*(F28*H12))
=((E29/H13)*(F29*H13))
=((E30/H14)*(F30*H14))

Much appreciate in advance
 

Some videos you may like

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.

Rick Rothstein

MrExcel MVP
Joined
Apr 18, 2011
Messages
36,675
Office Version
  1. 2010
Platform
  1. Windows
I have formula
I want to replace all H to H9 how do I do that ? cause its to much work to replace 10000 formulas

=((E28/H12)*(F28*H12))
=((E29/H13)*(F29*H13))
=((E30/H14)*(F30*H14))

Much appreciate in advance
As long as your Column H row references are all two digits long, select the cell or cells where you want to make this change, press CTRL+H to bring up the Repace dialog box, put H?? (an H followed by two question marks) in the "Find what" field, put H9 in the "Replace with" field, click the "Options>>" button and make sure the "Match entire cell contents" check box is not checked, then press "Replace All".
 

István Hirsch

Well-known Member
Joined
May 16, 2013
Messages
1,634
…Or, if the numbers following H have more than 2 digits (H1234 etc.), do what Rick suggested, with „H*)” in the „Find what” box and „H9)” in the „Replace with” box (without quotes).
 

Watch MrExcel Video

Forum statistics

Threads
1,122,207
Messages
5,594,841
Members
413,944
Latest member
3xc3ln00b

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