To subtract in Excel, click an empty cell, type an equal sign, the first number, a minus sign and the number to take away, then press Enter. Typing =10-5 returns 5, and =A2-B2 subtracts the value in B2 from the value in A2, so the answer follows both cells when they change. Excel has no SUBTRACT function, so the minus sign does all the work.
To subtract cells in Excel down a whole column, fill the same formula down, and add dollar signs when every row should lose the same amount. Paste Special in desktop Excel takes a number off existing cells without any formula. The fixes near the end cover a subtraction that shows as text, will not update or turns into #VALUE! instead of a number.
The short version
- Type
=10-5or=A2-B2and press Enter. There is no SUBTRACT function. - Fill
=A2-B2down with the fill handle or Ctrl + D to subtract one column from another. - Use
=A2-$H$2to take the same number in H2 off every row. - Enter deductions as negative numbers and add them with SUM, as in
=SUM(100,-32,15,-6). - Paste Special > Subtract changes existing numbers in desktop Excel. In Excel for the web, use a formula.
Ways to subtract in Excel at a glance
Every method below except Paste Special leaves a formula in the cell. A formula that points at cells, such as =A2-B2, updates when those cells change, while one with typed numbers, such as =10-5, changes only when you edit it. Paste Special replaces the numbers you select and keeps no formula. The results in the table come from our practice sheet of made-up budget figures.
| Method | Use it for | Result on our sheet |
|---|---|---|
Type =10-5 and press Enter | Two numbers you already know | 5 |
Type =50-10-5-3 and press Enter | Several numbers in one go | 32 |
Type =A2-B2 and press Enter | One cell minus another | 65, from 100 minus 35 |
| Drag the fill handle or press Ctrl + D | One column minus another, row by row | 65, 55 and -10 |
Type =A2-$H$2 and fill it down | The same number off every row | 90, 70 and 50 |
Type =SUM(E2:E5) over signed amounts | Several additions and deductions at once | 77 |
| Paste Special > Values > Subtract | Changing typed numbers in place in desktop Excel | 50, 40 and 30 became 40, 30 and 20 |
Type =Q2-P2 with two dates | Days between a start and an end date | 4 |
Type =A2*(1-15%) | Taking a percentage off a number | 85 from 100 |
Subtract numbers with a minus formula
Click an empty cell and start with an equal sign, because Excel only calculates entries that begin with one. Type the numbers with a minus sign between each pair and press Enter. With only minus signs in the formula, Excel subtracts from left to right, so =50-10-5-3 takes 10, then 5, then 3 off 50.
On our sheet that formula in D2 showed 32, and with D2 selected the formula bar above the column letters still showed =50-10-5-3. The bar is the quickest way to check what a cell really holds, because the cell itself only shows the answer. Microsoft is clear that there is no SUBTRACT function in Excel, so there is nothing to search for in the function list.
Subtract one cell from another
Our practice sheet holds a budget in column A and the amount spent in column B, and column C shows what is left. Click C2, type an equal sign, click A2, type a minus sign, click B2 and press Enter. While you build it, Excel outlines each cell in the formula in its own colour, an easy check that you clicked the right two.
C2 showed 65, which is 100 minus 35. Put the cell you are subtracting from first, because swapping them subtracts the budget from the spend and turns the answer negative. Typing =A2-B2 instead of clicking gives the same formula.
The answer keeps up with its cells. We changed B2 from 35 to 36 and C2 showed 64 at once, then 65 again when we put 35 back. If the formula bar or cell addresses are new to you, our Excel basics for beginners guide explains the grid first.
Subtract one column from another
To subtract a whole column, write the formula once in the first row and copy it down. Select C2, point at the small square at its bottom right corner until the pointer turns into a thin black cross, then drag down to the last row of data and let go.
Our three rows filled with 65, 55 and -10, and C3 read =A3-B3 in the formula bar. Microsoft explains that if you copy or fill a formula down a column, the reference automatically adjusts, so each row subtracts its own pair of cells. The -10 is not an error, just a row where spending of 70 went past a budget of 60.
If dragging is awkward, select the formula cell together with the empty cells below it and press Ctrl + D. With C2:C4 selected that filled the same 65, 55 and -10 on our sheet, and C4 read =A4-B4. Ctrl + D is one of the useful Excel keyboard shortcuts worth learning if you fill formulas often.
Subtract the same number from every row
Sometimes every row loses the same amount, such as a fixed fee. Put that amount in a cell of its own, which on our sheet was 10 in H2 under a Fixed deduction heading. Then lock that cell with dollar signs, so it stays put when the formula is filled down.
In I2 we typed =A2-$H$2 and filled it down to I4. The column showed 90, 70 and 50, and I4 read =A4-$H$2, so the budget reference moved down each row while the deduction stayed on H2. Microsoft calls $H$2 an absolute reference, one that always refers to a cell in a specific location.
Without the dollar signs, the copies would move down to H3 and H4 and subtract whatever sits there instead. Our guide to locking cells and references in Excel shows a quicker way to add the dollar signs and what each one locks.
Subtract several numbers at once
To take several amounts off a starting figure, you can chain minus signs as in =50-10-5-3. The other way is to list the amounts with each deduction as a negative number and add them with SUM. Microsoft puts it plainly: adding a negative number is identical to subtracting one number from another.
Our Signed amounts column held 100, -32, 15 and -6 in E2:E5, and =SUM(E2:E5) returned 77. Typing the same numbers straight into the function, =SUM(100,-32,15,-6), also returned 77. SUM subtracts the negative numbers and adds the positive ones, so the 15 counts as an addition.
To let Excel write the SUM, select the cell under the list and choose Home > AutoSum > Sum. In E6 it proposed =SUM(E2:E5) with a moving border round the four amounts, so check that the border covers every number before you press Enter. For ordinary totals, see how to sum a column in Excel.
Subtract from existing cells with Paste Special
Paste Special changes numbers where they sit, without a helper column or a formula. Our example takes 10, copied from H2, off the values 50, 40 and 30 in J2:J4. The originals are replaced, so make a copy of the Excel file first if you may need them again.
Select the cell holding the number to take away and press Ctrl + C. Select the numbers you want to change, then on the Home tab click the arrow under Paste and choose Paste Special at the bottom of the menu.
In the Paste Special box, choose Values under Paste and Subtract under Operation, then click OK. Microsoft says Subtract subtracts the copied data from the data in the destination cells, so the copied number is always the one taken away. Values pastes only the copied number, without its formula or formatting.
Our three cells became 40, 30 and 20. Clicking J2 showed 40 in the formula bar, a plain number with no formula behind it, so the results no longer depend on H2.
Right-clicking the selection after copying reaches the same box, since the menu lists Paste Options and then Paste Special. That route turned a fresh 50, 40 and 30 into 40, 30 and 20 for us as well. Microsoft also gives Ctrl + Alt + V as the keyboard shortcut for the Paste Special box.
Subtract in Excel for the web and on a Mac
The same formulas work in a browser. In Excel for the web in Microsoft Edge, =10-5, =A2-B2 and =SUM(100,-32,15,-6) returned 5, 65 and 77 in a new workbook, and the formula bar showed each formula when we selected its cell. Our new workbook opened in Editing, as the button at the top right of the window showed.
The web Paste menu we saw had no Subtract operation. After we copied a cell, the Paste menu on the Home tab listed Values only, Formulas only, Formatting only, Link to source, Keep Source Column Widths and Transpose Rows and Columns, with no Subtract or other arithmetic option.
In the browser, put the deduction in a formula and copy that instead. Pasting with Formulas only moved our =A2-B2 two rows down as =A4-B4, so the references follow the paste just as they do when you fill. For an in-place change to typed numbers, open the file in desktop Excel and use Paste Special there.
Excel for Mac uses the same formulas. Microsoft's Mac instructions say to type an equal sign, then numbers separated by a minus sign, and press Return, and its example =50-10-5-3 gives 32. Paste Special is on the Mac Home tab under the arrow next to Paste, where Microsoft describes Subtract as taking the values in the copy area from the values in the paste area.
Subtract dates and percentages
Excel stores dates as numbers, so an end date minus a start date gives the days between them. Microsoft's instruction is to subtract the start date from the end date. With 10/1/2026 in P2 and 10/5/2026 in Q2, =Q2-P2 showed 4 in an ordinary General cell.
If the result looks like a date, check the number format of the result cell and change it to General. On our sheet it happened in a cell already formatted as Date, which showed 1/4/1900 for the same formula until switching it to General on the Home tab turned it into 4. Microsoft's Mac page gives the same fix for a date where you expected a number.
To take a percentage off a number, multiply by one minus the percentage rather than subtracting it. With 100 in A2, =A2*(1-15%) returned 85 in desktop Excel and in Excel for the web. Microsoft's own example explains that the part in brackets is worked out first, so the percentage is subtracted from 1 before the multiplication.
Our guide to multiply values in Excel covers the asterisk and brackets in more detail. If you want the rate of change between an old and a new figure instead, calculate percentage change in Excel with its own formula.
When the formula shows instead of the answer
A cell that shows =A2-B2 instead of a number had one of two causes on our sheet, and each has its own fix. If every formula on the sheet is showing and the columns look wider, Show Formulas is switched on.
Open the Formulas tab and click Show Formulas in the Formula Auditing group, where it appeared as an icon without a label on our PC. It switched C2 from 65 to =A2-B2 and showed every other formula too, and clicking it again brought 65 back. Microsoft gives Ctrl + `, the grave accent key, as the keyboard toggle.
If only one cell shows its formula, check whether that cell is formatted as Text. We set G2 to Text and typed =10-5, and the cell displayed the formula exactly as typed. Right-clicking it and choosing Format Cells opened the Number tab with Text selected and the note that Text format cells are treated as text even when a number is in the cell.
Changing the format to General is not enough on its own. After General and OK, our cell still showed =10-5, and only pressing F2 then Enter made it calculate 5. Microsoft's fix includes the same F2 and Enter step, and our guide to fixing Excel formulas showing as text covers the other causes.
When the answer does not change
If you change a number and the result stays the same, check the calculation setting. Open File > Options > Formulas and look under Workbook Calculation, which offered Automatic, Partial and Manual on our PC. The Calculation Options button at the right end of the Formulas tab lists the same three, and Microsoft says Automatic is the default.
We switched to Manual and changed B2 from 35 to 40, and C2 kept showing 65. Excel did mark it, drawing the old 65 struck through with a small green triangle and showing Calculate on the status bar. Selecting Automatic again and clicking OK recalculated the sheet at once, and C2 showed 60.
In Manual mode, Microsoft says formulas update only when you recalculate, for example by pressing F9. Excel for the web has the same setting under Formulas > Calculation Options, where our menu named the middle choice Automatic Except for Data Tables instead of Partial. If calculation is already Automatic, our guide to fixing Excel formulas that are not working covers the wider checks.
When Excel shows an error or blocks the edit
Three other problems stopped a subtraction on our sheet. Each shows up differently, so read the cell and the formula bar before you change anything.
A #VALUE! error
A cell that holds letters or other characters next to a number breaks a subtraction. With 12x typed in L2, =N2-L2 showed #VALUE!, and =ISTEXT(L2) in the cell below returned TRUE. Once we typed a plain 12 in L2, the subtraction returned 8 and ISTEXT returned FALSE.
Microsoft lists text or special characters within a cell as one cause of #VALUE!. ISTEXT only tells you that a cell holds text, and Microsoft notes that it does not fix the error but simply finds cells that might be causing it. Look in the flagged cell for the extra character and retype the number without it.
A merged cell changed the answer
Merging can change a subtraction without any error. T2 held =S2-5 and showed 3, with 8 in S2. When we merged R2 and S2 with Merge Cells, Excel warned that merging cells only keeps the upper-left value and discards other values, and after OK the 8 was gone and T2 showed -5.
Unmerging does not bring the lost number back. After Merge & Center > Unmerge Cells on the Home tab, our R2 still held 20 but S2 was empty and T2 still showed -5. Type the lost value back into S2, or take it from a copy of the file, to get the original answer again.
Pointing the formula at R2 instead is a different calculation, not a repair, and our =R2-5 showed 15. Merge & Center was greyed out while a cell was being edited, so finish editing first, and see how to unmerge cells in Excel for the other routes.
A protected sheet blocks the edit
On a protected sheet, typing into a locked cell brings up a message that begins "The cell or chart you're trying to change is on a protected sheet." Microsoft notes that the Protect Sheet button on the Review tab changes to Unprotect Sheet while a sheet is protected. On our copy of the sheet, protected without a password, Review > Unprotect Sheet removed the protection and our edit to C2 went in.
If the sheet has a password you know, unprotect an Excel worksheet with it, then turn protection back on once your change is in. If the file is shared, ask whoever protected it before changing anything.
How we tested this guide
We tested this in Excel for Microsoft 365 on Windows 11, version 25H2, and in Excel for the web in Microsoft Edge, subtracting figures on a made-up budget sheet.
Frequently Asked Questions
Is there a SUBTRACT function in Excel?
No. Microsoft says there is no SUBTRACT function, so use the minus sign, as in =A2-B2, or SUM with negative numbers for several deductions.
How do I subtract one column from another in Excel?
Type =A2-B2 in the first row of an empty column, then drag the fill handle down or select the cells and press Ctrl + D. Each row subtracts its own pair of cells, so row 3 uses A3 and B3.
How do I subtract the same number from a whole column?
Put the number in its own cell and lock it with dollar signs, as in =A2-$H$2, then fill the formula down. To change the original numbers instead, copy the number and use Paste Special with Values and Subtract in desktop Excel.
How do I subtract several cells from one number?
Chain the minus signs, as in =A2-B2-C2-D2, or subtract their total with =A2-SUM(B2:D2). If the deductions are already typed as negative numbers, SUM alone nets everything out.
Why does my subtraction formula show as text?
Usually either Show Formulas is on, which shows every formula on the sheet, or the cell was formatted as Text before you typed. For a Text cell, set it to General and then press F2 and Enter, because General alone did not fix it on our sheet.
Why is my subtraction answer not updating?
Check that Formulas > Calculation Options is set to Automatic. On our sheet Manual left the old answer struck through with Calculate on the status bar, and Automatic fixed it at once.
Why does subtracting two dates show another date?
Check the number format of the result cell and change it to General on the Home tab. On our sheet a cell already formatted as Date showed 1/4/1900, and General turned it into the number of days, 4.
Why do I get #VALUE! when subtracting?
One of the cells may hold a number with a letter or other character typed next to it, as 12x did on our sheet. ISTEXT returned TRUE for that cell, and retyping it as a plain 12 fixed the formula.