Excel Formula to Subtract One Cell from the Sum of Two Cells
Question details
Create a formula that adds two cells and subtracts a third cell from their total.

- 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.
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.
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.
Open your worksheet in Excel and click an empty cell where you want the result to appear.
Type =A1+B1-C1, replacing the references with your cells. Alternatively, enter =SUM(A1,B1)-C1.
Press Enter. Excel displays the sum of A1 and B1 minus the value in C1.

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. Open the spreadsheet: Open WPS Spreadsheet and select an existing workbook or create a new one.
- 2. Select an output cell: Click an empty cell where you want to display the result.
- 3. Enter the formula: Type =A1+B1-C1 or =SUM(A1,B1)-C1, replacing the references with your own cells.
- 4. Show the result: Press Enter to calculate the sum minus the third cell.

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.




