In Excel, type =SUBSTITUTE(A1, "old", "new") into an empty cell and press Enter, then adjust the cell references to match your own data.
On this page7
Click the empty cell where you want the result for your formulas.
Type =SUBSTITUTE(A1, "old", "new") and edit the references to point at your own cells.
Press Enter — Excel calculates instantly; drag the fill handle to apply it down the column.
Format the result cell (percentage, currency, date) so it reads the way you expect.
What this does
At its core, “replace function excel” in Excel is a text operation that turns messy entries into clean, usable data — and getting it right is less about memorising clicks than about how you lay the sheet out. Put each value that drives the result in its own labelled cell, point every formula at those cells rather than at numbers typed inline, and let Excel recompute automatically whenever the data shifts. Do that and formulas stop being a fiddly one-off: the setup is reusable, it survives a dataset that keeps growing, and it stays readable to whoever opens the file next. The few minutes spent structuring formulas cleanly are exactly what separate a result that happens to work today from one you can still trust — and defend — months from now. People reach this page for “replace function excel” specifically, not for formulas in general. Specifically, “replace function excel” turns on replace function, and that replace function detail is what sets it apart from the dozen near-identical formula questions around it. The practical takeaway in Excel is to treat the replace function inputs as the thing you label and reference, run “replace function excel” on a handful of rows first, and lean on your workbook example to confirm the replace function outcome before you commit it. What makes “replace function excel” trip people up is assuming replace function behaves like every other formula task — verify it once on your own numbers and that doubt disappears. Get that loop right for “replace function excel” and the same replace function approach answers the next, slightly different version of the question without a rebuild. Most people learn this as a sequence of clicks and forget it by next week; learning it as a pattern instead is what lets you apply it to the next, slightly different version of the problem without starting from scratch. That is the difference this page is trying to make.
A worked example
Try it on a concrete case before you scale it across your formulas. Drop your figures into their own cells, type =SUBSTITUTE(A1, "old", "new") in an empty cell beside them, and adjust the references so they point at your data. Hit Enter — Excel answers at once, and editing any input recalculates it instantly, which is the behaviour your workbook example lets you preview risk-free. Happy with one row? Fill the formula down and every one of your formulas follows the same rule without re-typing a thing. So why spend the extra minute on your formulas? Clean, consistent text is what makes lookups, filters and reports work, so a tidy text operation pays off every time you reuse the data. Lock it in once, lean on your workbook example to confirm it, and you will not have to think about it again the next time the sheet comes back around. Search results often blur “replace function excel” together with looser questions about formulas, but the wording here is precise on purpose. Specifically, “replace function excel” turns on replace function, and that replace function detail is what sets it apart from the dozen near-identical formula questions around it. The quickest reliable route in Excel is to build a tiny example matching your data, confirm “replace function excel” against your workbook example, and only then run it for real — that way you solve the exact replace function problem you searched for, not an approximation. The thing people get wrong about “replace function excel” is treating replace function as interchangeable with the generic formula case; it usually is not, and the few seconds you spend checking replace function on a small sample is what keeps the result honest. If your real sheet differs in one detail, change that one input, re-check “replace function excel”, and the same replace function method carries straight over. Check the referenced cells, argument order and result type in your workbook. Start with the worked example before changing an input, then compare the changed result with the calculation you expected. An error value or a result of a different type is a reason to inspect the inputs and arguments.
In Google Sheets
Google Sheets support for this task has not been verified. Check the function, arguments and workflow in the target product before transferring the example. Matching formula notation does not establish identical behaviour. Nothing on this page is behind a login or a download: the exact answer is at the top, and the detail below it is there for when you need it. That is the whole promise here — the answer first, and just enough context to make it stick. For “replace function excel”, keep the input cells and the result visible while you check the formula in Excel. Follow the worked example and change one input at a time. The steps explain the workbook calculation; this page does not run a live calculator for that task.
Common mistakes
- Acting on formulas that quietly include a header or total row, so the result is off by one with no error to warn you.
- Forgetting that a copied formula shifts its references unless you lock them with the $ sign.
- Leaving stray spaces or mixed case in the data, so values that look identical refuse to match.
- Overwriting the original data instead of working on a copy, so there is nothing to fall back to if the result is wrong.
- Testing on a couple of formulas and rolling out to thousands without rechecking the edge cases at the bottom of the data.
Frequently asked questions
What is the quickest way to replace function excel?
Read the answer and steps for “replace function excel”, identify the intended input and result, and check a small copy of your workbook first. Compare the result with the stated example before applying the action to real data. This fallback page does not include a verified interactive tool for the task.
How do I apply this to a whole column of formulas at once?
First check whether the described action can be repeated for each row. Copying a formula, changing a view and converting a file are different tasks. Verify the cell references and expected result on two rows before extending a formula; do not apply a whole-column instruction to an unrelated command.
Does this work in older versions of Excel?
Availability for this exact task in older Excel releases has not been verified. Check the command or function in the documentation for your release. A similar menu icon does not prove that the feature, arguments or result are the same; keep the starting file until the result is checked.
Other ways people ask this
People reach this page typing “how to use replace function in excel” and “how to use the replace function in excel”, among other phrasings; whichever wording you used, the fix above is the one you want.
Why do people search for this in so many different ways?
Because the same task has many names. “how to use replace function in excel”, “how to use the replace function in excel” all point at the one operation explained on this page, which is why they all lead here.