Excel 2016 Inserting an ' at the Front of Formulae After Find and Replace

andybason

Board Regular
Joined
Jan 7, 2012
Messages
217
Office Version
  1. 2016
Sometimes I need to move cells containing formulae to different books/sheets. To do this without affecting the formula references I find/replace the = with a #. Once moved I find/replace the # with = to reinstate the formulae.

For some reason Excel inserts a ' at the start of each formula after the second find/replace. It does not do it with all formulae, only some. I am using Excel 2016.

Eg. '=COUNTIFS(PostTable[Movement %],">=" &$A130,PostTable[LTP],"<15")

To reinstate the formulae I have to manually delete the ' from each cell. Find and replace does not recognise the ' ("Excel cannot find a match") and the cells are not formatted as text, they are formatted as numbers.

I have 100s of formulae that are affected and it is painful to do it manually. Is there a quicker way to do this? Or, even better, how do I avoid the issue in the first place?

Any help would be greatly appreciated.

Thanks
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
Select the entire column with formula which contains " ' " at beginning and do a Text to Columns > Delemited > clear (untick) all delemiters and Finish.
 
Upvote 1
Solution

Forum statistics

Threads
1,215,193
Messages
6,123,560
Members
449,108
Latest member
rache47

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