Find/Replace dialog problem

cluria

New Member
Joined
Aug 20, 2008
Messages
8
I have a simple workbook with three sheets. Two of the sheets provide data for calculations on the third sheet. I would like to replace a portion of the formulas in the sheet which calculates. I fill in the replace dialog and click on Find All. I have 12,150 instances of the string which I would like to replace. When I click on Replace All I get an Update Values dialog box which requests that I point to a particular Excel file. I can get rid of the dialog by pressing on the ESC button and then only one of the 12,150 instances is replaced. I don't want to press on ESC 12,150 times. Also I can't understand why I get the Update Values dialog box because my workbook does not link to another Excel file?

I am a beginner with Excel so I hope that there is a solution to this problem via the interface without VBA programming if possible. Please help!
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
Please tell/show us what is in search & replace dialog. If its long please copy paste both here.
 
Upvote 0
Yes I am trying to change all instances of the string MD4 to the string MD2 in the formulas on a specific worksheet.
 
Upvote 0
I think he means what are you searching for and what are you trying to replace it with
YES, thank you

Yes I am trying to change all instances of the string MD4 to the string MD2 in the formulas on a specific worksheet.
Try to replace the whole formula not just one part of it.
I mean not only MD4 -> MD2, but for example:
=if(md4=0,"yes","no") -> =if(md2=0,"yes","no")

Or maybe you should check your formulas and make it mixed (both fixed and relative $MD4, or MD$4)
 
Upvote 0
I would like to clarify the exact form and function of the formulas. The purpose of the formulas are to move data from one worksheet to another.
They are all of the form: ='MD4'!C20 where MD4 is the name of the source worksheet. I basically want to change the source of the data to another worksheet, MD2.
 
Upvote 0
OK, so MD2 and MD4 are wokrsheets...
My advice is still try find and replace as much as you can: 'MD4' to 'MD2'


This is a screenshot from Hungarian excel, but same layout:
0sPJ3b


Make sure no blank characters before and between the content of the 2 boxes, and your 'MD2' is not 'MD2_' or 'MD2 '.... so on
It must work.
 
Upvote 0
I would like to clarify that the Find/Replace dialog succeeds in finding all instances of MD4 on the worksheet. The problems is that when I click on Replace All, the Update Values dialog window appears and only the first instance of MD4 is replaced by MD2. I do not want to replace 12,150 instances of MD4 one at a time!!!!
 
Upvote 0
I have solved the problem on my own and would like to thank those who have answered my query. The problem is that when you find/replace the name of a worksheet, that worksheet has to exist previous to the use of the find/replace dialog. When I added a worksheet with the name MD2 all worked fine.
 
Upvote 0

Forum statistics

Threads
1,214,524
Messages
6,120,049
Members
448,940
Latest member
mdusw

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