To subtract in Excel, you simply use the minus sign (-) in a formula, such as =A1-B1, to calculate the difference between two values. No special tools or add-ins are required—just correct cell references and basic formula syntax. This works across all recent Excel versions (Microsoft 365, Excel 2021, 2019, and earlier) on Windows, Mac, and online.
What You'll Need
- An Excel workbook open with data (a blank worksheet works too)
- Values to subtract, either typed directly into cells or already present
- Basic familiarity with selecting cells and typing in the formula bar (optional but helpful)
Step-by-Step
- Open your Excel workbook and identify the two cells you want to subtract. For example, if you want to subtract the value in cell B2 from the value in A2, make sure both cells contain numbers (not text).
- Click the cell where you want the result to appear—this is your output cell (e.g., C2).
- Start your formula by typing an equals sign (=) in the selected cell or the formula bar above the grid. Excel always begins calculations with =.
- Type the first cell reference (the minuend), such as A2. You can type it manually or click the cell with your mouse after typing =.
- Type the minus sign (-) immediately after the first reference, with no space before or after it (e.g., =A2-).
- Type the second cell reference (the subtrahend), such as B2. Again, you can click the cell instead of typing it.
- Press Enter on your keyboard. The result (A2 minus B2) will appear in the cell. If B2 changes later, the result updates automatically.
Common Mistakes
Here are frequent errors that cause incorrect results or errors like #VALUE! or #NAME?:
- forgetting the equals sign—typing “A2-B2” without = causes Excel to treat it as text, not a formula.
- using spaces in the formula—e.g., = A2 - B2 (leading/trailing spaces or spaces around -) can trigger parsing issues in some versions.
- referencing non-numeric cells—if A2 or B2 contains text (e.g., "10" instead of 10 as a number), Excel returns #VALUE!. Ensure cells are formatted as numbers or values.
- confusing subtraction with other operations—e.g., using + instead of -, or mixing up the order (A2-B2 vs. B2-A2) gives opposite results.
- copying formulas without adjusting references—when dragging or copying =A2-B2 down a column, Excel auto-updates to =A3-B3, =A4-B4, etc. If you see repeated values, check if absolute references ($A$2) were accidentally used.
Tips
- Use the SUM function for multiple subtractions—e.g., =SUM(A1,-B1,-C1) subtracts B1 and C1 from A1 in one formula.
- Hold Alt and press = (on Windows) or use AutoSum (Home tab > AutoSum) for quick addition, then manually edit the formula to include minus signs for subtraction.
- Format the result cell as Currency or Accounting (Home tab > Number group) for financial clarity—this adds commas and dollar signs if applicable.
- Press F2 to edit a formula directly in the cell—useful for small tweaks after creation.
- Use the Formula Auditing tools (Formulas tab > Trace Precedents/Dependents) to verify which cells feed into your subtraction.
Troubleshooting
If your subtraction doesn’t work as expected, try these fixes in order:
- Check for green triangles in cells—these indicate numbers stored as text. Click the warning icon > Convert to Number.
- Verify cell formatting—right-click the cell > Format Cells > Number > 0 decimal places. Text-formatted cells won’t calculate.
- Ensure no leading apostrophes—if a cell shows '100 instead of 100, delete the apostrophe and retype the number.
- Test with simple numbers—enter 10 in A1, 3 in B1, and =A1-B1 in C1. If it shows 7, your setup works; the issue is likely with your original data.
- Check for hidden characters—copy the problematic cell, paste it into Notepad, then copy back to Excel to strip invisible symbols.
- Restart Excel—rarely, calculation settings get stuck. Go to Formulas tab > Calculation Options > Automatic, then restart the app.
Frequently Asked Questions
Can I subtract multiple cells at once?
Yes—use =A1-B1-C1-D1, or combine with SUM: =A1-SUM(B1:D1). Both give the same result.
Why does my subtraction show 0 when it shouldn’t?
This usually means the two values are identical, or one cell is blank (treated as 0). Check cell contents with F2 or the Formula Bar. Also, verify no rounding hides small differences—increase decimal places in Format Cells.
How do I subtract a fixed number from a column?
Use an absolute reference for the constant. For example, if 10 is in cell E1 and you want to subtract it from A2:A10, type =A2-$E$1 in B2, then drag down. The $E$1 stays fixed while A2 updates.
Can I subtract dates in Excel?
Yes—Excel stores dates as sequential numbers. =DATE(2024,12,25)-DATE(2024,12,1) returns 24 (days between). Ensure both cells are formatted as Date, not Text.
My formula shows =A1-B1 instead of the result—what’s wrong?
The cell is formatted as Text. Right-click the cell > Format Cells > General > OK, then re-enter the formula. Alternatively, double-click the cell and press Enter.
How do I subtract the same value from many cells without rewriting the formula?
Type the constant in one cell (e.g., 5 in Z1), then use =A1-$Z$1 in B1 and copy down. Or, use Paste Special: copy Z1, select your target range, right-click > Paste Special > Operation > Subtract > OK.