Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in


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!
doc covnvert formula to text
Kutools for Excel: with more than 200 handy Excel add-ins, free to try with no limitation in 60 days.

Find and replace string within formulas

Find and replace string within formulas

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.
doc find replace string in formula 1

2. In the Go To Special dialog, check Formulas option.
doc find replace string in formula 2

3. Click OK. Now all formulas have been selected.
doc find replace string in formula 3

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.
doc find replace string in formula 4

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.
doc find replace string in formula 5

6. Click OK > Close to close dialogs.

Recommended Productivity Tools

Office Tab

gold star1 Bring handy tabs to Excel and other Office software, just like Chrome, Firefox and new Internet Explorer.

Kutools for Excel

gold star1 Amazing! Increase your productivity in 5 minutes. Don't need any special skills, save two hours every day!

gold star1 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...

Screen shot of Kutools for Excel

Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.

Be the first to comment.