In Excel: there is no SUBTRACT function — just use the minus operator, for example =A2-B2.
Click the cell where you want the difference.
Type = then the first cell or number, a minus sign, and the second, e.g. =A2-B2.
Press Enter; copy the formula down to subtract row by row.
To subtract many cells, use =A2-SUM(B2:B10) instead of a long chain.
Need it as an auditable file?
Ships inside the linked template — formula-driven, unlocked, audit-ready.
What this does
Excel and Google Sheets have no SUBTRACT function because the minus sign already does the job: any formula that starts with = can subtract one cell or number from another. To subtract several values at once you can chain them (=A2-B2-C2) or subtract a SUM (=A2-SUM(B2:B10)), which is tidier when the list is long. 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. For “what is the difference between formula and function in excel”, the reliable version is a short checking loop, not just the first command that appears to work. Run it on a deliberately small range first, watch how the affected formula change, and only then apply the same setup to the full sheet. When a formula is involved, keep the inputs labelled beside it, reference cells instead of typing values, and apply number formatting only after the result checks out. That is what makes a calculation you can defend to a CFO or an auditor useful in real work: repeatable, auditable, and not dependent on memory or luck.
A worked example
To take expenses of 120 away from revenue of 500, type =500-120 (or =A2-B2 pointing at the two cells) and press Enter — the result is 380. To subtract a whole column of costs from a budget in B1, use =B1-SUM(B2:B20). Negative results display with a minus sign automatically. Subtraction is the quiet backbone of every variance, margin and running-total formula. Knowing there is no function — only the operator — saves you hunting for one and lets you build differences directly. 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
Google Sheets handles this almost identically to Excel. The formula syntax above is the same, and the menu lives under a slightly different label rather than a ribbon tab. Use the platform toggle at the top of the page to switch every keyboard shortcut between Windows and Mac, and expect at most cosmetic differences in naming. The aim was to get you unstuck fast and leave you a little more capable than a copy-paste would. The answer is at the top, the tool proves it, and the detail above shows why it holds — so the next time a colleague asks, you can answer without reaching for search. The short version of “what is the difference between formula and function in 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
- Looking for a SUBTRACT function — there is none; the − operator is the answer.
- Forgetting the leading =, so the sheet treats the entry as text.
- Subtracting cells that contain text or are blank, which can return errors or unexpected zeros.
- Mixing up the order —
A2-B2andB2-A2differ by a sign.
Frequently asked questions
Is there a SUBTRACT function?
No. Both Excel and Google Sheets subtract with the minus operator. To subtract many numbers, subtract a SUM: =A2-SUM(B2:B10).
How do I subtract a percentage?
Multiply and subtract in one step: =A2*(1-10%) takes 10% off the value in A2.
Why does my subtraction show an error?
Usually one cell contains text or an error value. Wrap the inputs in VALUE() or clean the data so both sides are numbers.
Other ways people ask this
This is also commonly searched as “what is the difference between function and formula in excel”, “what is difference between formula and function in excel” and “what is difference between function and formula 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. “what is the difference between function and formula in excel”, “what is difference between formula and function in excel”, “what is difference between function and formula in excel” all point at the one operation explained on this page, which is why they all lead here.