In Excel, select the formulas you want to change, open the Formulas tab, choose the matching command, and confirm.
On this page7
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.
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 a small example in your workbook, 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. Before you run it on a workbook other people depend on, try it on a copy or a few rows first. Undo only reaches back through the current session, so a quick trial run is the cheapest way to see exactly what will change before the file is saved and shared.
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 your workbook example — 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 your workbook example, 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 your workbook example, 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. If this is something you do often, add the command to the Quick Access Toolbar (right-click it on the ribbon and choose Add to Quick Access Toolbar) or learn its shortcut, so next time it is one click instead of a hunt through the menus.
In Google Sheets
This is a command rather than a formula, so there is no syntax to carry over. Google Sheets arranges its commands in menus across the top instead of a ribbon, names some of them differently and does not have every Excel command — look for the equivalent in the Sheets menus or its help before assuming the steps match. Keep this page bookmarked for the next time the same question comes up. Better still, repeat the steps once in your own workbook — doing it yourself is what turns a copied answer into something you remember. If you take one thing from this page on “excel custom function”, make it the order of checks rather than the individual clicks: confirm what is selected, apply the step, and look at the result before moving on. That small routine is what keeps Excel work predictable when the same task comes back in a slightly different workbook.
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?
Read the answer and steps for “excel custom function”, 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.
Will it still work on thousands of formulas?
Check a small, representative sample before increasing the range. Confirm which rows the action affects and whether the result is a formula, a changed cell, a view setting or a new file. Then check the output size and calculation time in your own workbook; this page does not establish a performance guarantee.
Will it work on Mac?
The exact Mac workflow for this task has not been verified. Check the command, keyboard layout and product release in the Mac documentation before repeating the steps. A platform toggle changes displayed keys; it does not prove that every command or workbook feature exists in the target product.
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.