How to Subtract in Excel: Values, Cells and Fixed References

By Dave TanguayPublished Updated Editorial draft

Quick Answer

To subtract in Excel, begin a formula with an equals sign and use the minus operator: =12-7 returns 5. For values stored in cells, use references such as =A2-B2. Excel has no built-in SUBTRACT function. Use dollar signs, such as $F$2, when a reference must stay fixed as you copy the formula.

Subtraction can help maintain a website content inventory: planned pages minus reviewed pages, for example. Keep the original inputs in separate cells so another editor can understand and update the calculation.

Subtract two numbers or two cells

Select an empty result cell, type =12-7 and confirm the entry. Use the ordinary keyboard hyphen as the minus operator. Microsoft’s subtraction instructions confirm that this operation uses the minus operator rather than a function named SUBTRACT.

For a reusable example, put the heading “Planned” in A1 and “Reviewed” in B1. Enter 12 in A2 and 7 in B2. In C1, enter “Remaining”; in C2, enter =A2-B2. The result is 5. These are illustrative counts, not a report of completed website work.

Change B2 to 8 and check that the result becomes 4 under normal calculation settings. Keep the result in C2 so the formula does not replace either input.

Copy a subtraction down a column

Enter the next row’s planned and reviewed counts in A3 and B3. Copy C2 to C3, then inspect C3’s formula. Relative references should become =A3-B3, so each row uses its own inputs.

Before filling a long column, inspect the first copied row and a later row. A correct first result can conceal a mistaken reference in the copied formula. Keep headings clear enough that the direction of subtraction is apparent.

Subtract one fixed value from several rows

Suppose F2 contains an illustrative review allowance of 2, and each row in column A holds a planned count. Enter =A2-$F$2 in a separate result column. Copying the formula down changes A2 to A3 while F2 remains fixed.

Microsoft’s reference guide explains relative, absolute and mixed references. The dollar sign locks the part immediately after it. Choose the form that matches the direction you intend to copy.

Reference What stays fixed when copied
F2 Neither the column nor the row.
$F$2 Both column F and row 2.
$F2 Column F; the row can change.
F$2 Row 2; the column can change.

Check multiple deductions and negative values

For planned work in A2 and separate completed counts in B2 and C2, =A2-B2-C2 subtracts both deductions. With inputs 12, 4 and 3, the result is 5. Confirm those completed counts describe separate work before subtracting both.

A negative input changes the arithmetic. =12-(-3) returns 15. Parentheses make that intention easier to read. If a negative “remaining” count is unexpected, inspect the inputs and what they represent before hiding the result with formatting.

Use this worksheet to support a defined editorial process. The page review checklist can help define what “reviewed” means, and the website design planning guide covers the broader content requirements.

Key Takeaways

  • Start the formula with = and subtract with -.
  • Keep inputs separate from the result.
  • Inspect relative references after copying.
  • Use $F$2 when both parts of that reference must remain fixed.

Frequently Asked Questions

Why does SUBTRACT produce a formula error?

Excel has no built-in function with that name. Use the minus operator, such as =A2-B2, and check that the referenced inputs contain the intended numbers.

Can I subtract an entire column with one example formula?

Enter the formula for the first data row and copy it through the intended rows. Inspect the copied references, and keep headings and totals outside that data range.

Should I lock every cell reference?

Lock only the parts that must stay fixed. A row-by-row calculation usually needs changing row references; a shared allowance stored in one cell needs a fixed reference.

Archives