Function Problems

Excel Formula to Subtract One Cell from the Sum of Two Cells

Ayan MasoodAyan Masood Dec 2, 2026 868 views

Question details

Create a formula that adds two cells and subtracts a third cell from their total.

How to Subtract One Cell from the Sum of Two Cells in Excel
Product
Microsoft Excel
Device & OS
not provided
Scenario
A user wants to compare the combined value of two cells with a third value and return the difference.
Observed behavior
The formula should return the sum of the first two cells minus the value in the third cell.
Before you start

Identify the cells containing the two values to add and the value to subtract. The examples below use A1, B1, and C1; replace them with your own cell references.

Solution 1Recommended

Use an Excel formula to add two cells and subtract a third

Use simple arithmetic or the SUM function to calculate the difference in one cell.

1
Select an output cell

Open your worksheet in Excel and click an empty cell where you want the result to appear.

2
Enter the formula

Type =A1+B1-C1, replacing the references with your cells. Alternatively, enter =SUM(A1,B1)-C1.

3
Calculate the result

Press Enter. Excel displays the sum of A1 and B1 minus the value in C1.

Use an Excel formula to add two cells and subtract a third
Negative results: If C1 is greater than the sum of A1 and B1, the result is negative. Use =ABS(A1+B1-C1) if you need the difference without a negative sign.
Calculate with WPS Spreadsheet

Subtract a cell from a sum in WPS Spreadsheet

Use the same arithmetic or SUM formula in WPS Spreadsheet to add two cells and subtract a third.

  1. 1. Open the spreadsheet: Open WPS Spreadsheet and select an existing workbook or create a new one.
  2. 2. Select an output cell: Click an empty cell where you want to display the result.
  3. 3. Enter the formula: Type =A1+B1-C1 or =SUM(A1,B1)-C1, replacing the references with your own cells.
  4. 4. Show the result: Press Enter to calculate the sum minus the third cell.
Calculate a difference with simple cell references or the SUM functionOpen and edit Microsoft Excel XLS and XLSX filesUse a familiar spreadsheet interface with a formula bar
microsoft office alternative - wps office

Frequently Asked Questions

What is the simplest formula for adding two cells and subtracting a third?

Enter =A1+B1-C1 in an empty cell and press Enter. Replace A1, B1, and C1 with the cells in your worksheet.

Can I use SUM instead of plus signs?

Yes. Enter =SUM(A1,B1)-C1 to add A1 and B1, then subtract C1 from their total.

Why is my result negative?

The result is negative when C1 is greater than A1 plus B1. If you want the unsigned difference, enter =ABS(A1+B1-C1).

Do I need parentheses around the sum?

For this calculation, =A1+B1-C1 works without parentheses. You can use =(A1+B1)-C1 to make the intended grouping clearer, especially in a longer formula.