How to find and replace string within formulas only in Excel?
As we known, we can use Find and Replace function to quickly find a specific character or string and replace with another one in Excel. But have you ever tried to find and replace string only within formulas?
Convert Formula to text or vice versa in Excel
|With Kutools for Excel's Convert Formula to Text, you can quickly convert the formula to text string which means only display the formula string in the cell and not get the result. And the Convert Text to Formula can convert the text string back to formula and display the calculated result. Click for 60 days free trial!|
|Kutools for Excel: with more than 200 handy Excel add-ins, free to try with no limitation in 60 days.|
Supposing you want to find $C$1 in formulas, and replace it with $C$2, how can you do?
1. Select the range or the worksheet you use, press Ctrl + G to enable Go To dialog, click Special.
2. In the Go To Special dialog, check Formulas option.
3. Click OK. Now all formulas have been selected.
4. Press Ctrl + H to display Find and Replace dialog, in Find what textbox type the string you want to find, and type the string you want to use in Replace with textbox.
5. Click Replace All, a dialog pops out to remind you the number of replacements and all $C$1 have been replaced with $C$2.
6. Click OK > Close to close dialogs.
Recommended Productivity Tools
Bring handy tabs to Excel and other Office software, just like Chrome, Firefox and new Internet Explorer.
Amazing! Increase your productivity in 5 minutes. Don't need any special skills, save two hours every day!
300 New Features for Excel, Make Excel Much Easy and Powerful:
- Merge Cell/Rows/Columns without Losing Data.
- Combine and Consolidate Multiple Sheets and Workbooks.
- Compare Ranges, Copy Multiple Ranges, Convert Text to Date, Unit and Currency Conversion.
- Count by Colors, Paging Subtotals, Advanced Sort and Super Filter,
- More Select/Insert/Delete/Text/Format/Link/Comment/Workbooks/Worksheets Tools...