Replace Function Excel

If you just need to replace function excel and move on, the boxed answer at the top is all you need. The rest of this page is for when you want to understand why it works in Excel, adapt it to a trickier version, or make it robust enough to hand to a colleague. We keep the opening short on purpose — the depth is here when you want it, not in your way when you don’t.

Exact answer

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
Annotated stepsExcel
1

Click the empty cell where you want the result for your formulas.

2

Type =SUBSTITUTE(A1, "old", "new") and edit the references to point at your own cells.

3

Press Enter — Excel calculates instantly; drag the fill handle to apply it down the column.

4

Format the result cell (percentage, currency, date) so it reads the way you expect.

=SUBSTITUTE(A1, "old", "new")
Ctrl+CthenCtrl+Shift+V+Cthen+Ctrl+VPaste values · WindowsMac

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 the tool above 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 the tool above 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 the tool here 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 the tool above, 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. A practical tip before you scale it up: build it once on a small block of test data, confirm the number against the tool on this page, and only then point it at your real sheet. That one habit catches almost every mistake while it is still cheap to fix, long before a wrong figure reaches a report or a colleague.

In Google Sheets

If you are in Google Sheets rather than Excel, the good news is that the formula shown here is identical and the workflow barely changes — menus sit across the top instead of in a ribbon, and a few function names differ slightly, but anything you build here moves across with little or no rework. 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. The short version of “replace function excel”: the answer is at the top of this page, the tool proves it on your own numbers, and the sections above explain why it holds so the next variation does not stump you. Excel rewards people who reference cells instead of typing values and who keep inputs separate from formulas, because that is what makes a result you can audit months later. Build it once, deliberately, with the live tool as a check, and you convert a one-off lookup into a reusable skill — which is the whole point of learning the why and not just the what.

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?

Use the boxed answer at the top of this page — it gives the exact Excel steps for “replace function excel”, and the tool just below lets you run it on your own formulas before you touch the real sheet.

How do I apply this to a whole column of formulas at once?

Set it up on the first row, then double-click or drag the fill handle — Excel repeats the same logic down every one of your formulas without re-typing it.

Does this work in older versions of Excel?

Yes. The approach for formulas has been stable across recent Excel versions; only the ribbon icons changed cosmetically, so the steps still apply.

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.