In Excel, select the formulas you want to change, open the Formulas tab, choose the matching command, and confirm.
Select the formulas you want to change.
Open the Formulas tab on the Excel ribbon and pick the command that acts on formulas.
Set any options the dialog offers, then confirm.
Check the result on a few formulas before applying it to the whole sheet.
Need it as an auditable file?
Ships inside the linked template — formula-driven, unlocked, audit-ready.
What this does
At its core, “excel custom function” in Excel is a calculation you can defend to a CFO or an auditor — 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. It is worth separating “excel custom function” from the many near-identical phrasings that surround it. Specifically, “excel custom function” turns on custom function, and that custom function detail is what sets it apart from the dozen near-identical formula questions around it. In Excel the safe pattern for custom function is the same every time: isolate the inputs, apply the “excel custom function” step to a small copy, check the figure for custom function against the tool on this page, then scale up once it looks right. Doing “excel custom function” in that order means a surprise in your custom function data surfaces while it is cheap to fix, not after the result has gone into a report. Keep the custom function inputs labelled, point the formula at them, and the “excel custom function” outcome stays something you can re-run and defend long after you first searched for it. Keep the inputs visible and clearly labelled and the whole thing stays auditable — anyone who opens the file later, including you, can see at a glance exactly what feeds the result and change one assumption without hunting through the formula.
A worked example
Here it is in practice on your formulas. Select the formulas you are working with, then use the Formulas tab in Excel to apply the command, and confirm. Try it first on a small copy of your data — or on the tool above — so you can see what happens to the formulas before you commit it to the real sheet. Once the result looks right on a few formulas, the same steps scale to the whole table without any extra work. It is worth doing your formulas properly the first time. It is the kind of number that ends up in a budget, a board pack or a loan application, so getting it traceable and correctly formatted matters as much as the maths itself. Build it once, verify it against the tool above, and the same setup keeps earning its keep on every later visit to the file. Search results often blur “excel custom function” together with looser questions about formulas, but the wording here is precise on purpose. Specifically, “excel custom function” turns on custom function, and that custom 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 “excel custom function” against the tool above, and only then run it for real — that way you solve the exact custom function problem you searched for, not an approximation. The thing people get wrong about “excel custom function” is treating custom function as interchangeable with the generic formula case; it usually is not, and the few seconds you spend checking custom 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 “excel custom function”, and the same custom function method carries straight over. One habit worth forming early: name the cells that hold your inputs, so the formula reads in plain language instead of a string of cell addresses. A reviewer — or you in three months — can then follow the logic without decoding what B7 and D2 were supposed to mean, which is most of what makes a sheet maintainable.
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. Keep this page bookmarked for the next time the same question comes up. Better still, rebuild the example once in your own sheet — doing it yourself, with the tool above to check against, is what turns a copied formula into a technique you own. If you take one thing from this page on “excel custom function”, make it the habit rather than the keystrokes: set the problem up with labelled inputs, reference those cells, and let Excel do the recomputing. Bookmark the page for the syntax, but do the example once in a blank sheet and check it against the tool above — five minutes of hands-on practice fixes the method in memory far better than re-reading, and it surfaces the small snags while they are still harmless. After that the technique is genuinely yours: faster than searching for it again, and reliable enough to drop into work that other people depend on.
Common mistakes
- Running the change on the wrong sheet tab — confirm you are on the sheet that holds your formulas before you commit.
- Hard-coding values inside a formula instead of referencing cells, which silently breaks the moment the data changes.
- Reporting a raw decimal (0.07) instead of formatting it as 7%, which misreads the figure by a factor of a hundred.
- Overwriting the original data instead of working on a copy, so there is nothing to fall back to if the result is wrong.
- Trusting the on-screen result without scrolling to the end of your formulas to confirm the pattern held all the way down.
Frequently asked questions
What is the quickest way to excel custom function?
Use the boxed answer at the top of this page — it gives the exact Excel steps for “excel custom function”, and the tool just below lets you run it on your own formulas before you touch the real sheet.
Will it still work on thousands of formulas?
Yes. Build it once on a small block, confirm it against the tool above, then fill it down — Excel applies the same logic to the whole column without slowing the steps.
Will it work on Mac?
Yes — use the platform toggle at the top of the page for the Mac shortcuts. The formulas and menu paths for formulas are the same across operating systems.
Other ways people ask this
This is also commonly searched as “excel create custom function”, “custom functions in excel” and “custom function in excel'”. They describe the identical operation, so you are in the right place no matter how you phrased it.
Why do people search for this in so many different ways?
Because the same task has many names. “excel create custom function”, “custom functions in excel”, “custom function in excel'” all point at the one operation explained on this page, which is why they all lead here.