[Image of a spreadsheet with the formula "=A1-B1" in cell C1 and the result, 5, in cell C1]
Learn how to Subtract in Excel
- Enter the info you wish to subtract into two cells.
- In a 3rd cell, kind the equal signal (=).
- Click on on the primary cell containing the info you wish to subtract.
- Kind the minus signal (-).
- Click on on the second cell containing the info you wish to subtract.
- Press Enter.
The results of the subtraction will seem within the third cell.
Learn how to Subtract in Excel: A Complete Information
Introduction
Greetings, readers! Welcome to our complete information on find out how to subtract in Excel. Whether or not you are a seasoned spreadsheet wizard or simply beginning out, this text will give you the whole lot it is advisable know to carry out subtraction operations effortlessly in Excel.
Part 1: Fundamental Subtraction
Subtraction Utilizing the Minus Signal (-)
Essentially the most easy option to subtract in Excel is by utilizing the minus signal (-). To subtract one cell from one other, merely enter the minus signal adopted by the cell reference. For instance, to subtract cell B2 from cell A2, you’d enter the next system in cell C2:
=A2-B2
Subtraction Utilizing Double Hyphens (–)
If you wish to subtract a worth with out altering the worth of the cells concerned, you need to use double hyphens (–). As an illustration, to subtract 10 from the worth in cell A2 with out modifying cell A2, you’d enter the next system in cell B2:
=A2--10
Part 2: Superior Subtraction Methods
Utilizing Different Math Operators
Along with the minus signal, you can too use different mathematical operators for subtraction. For instance, you need to use the subtract signal (-), which has similarities to the minus signal however is not going to ignore main zeros. You too can use the hyphen (-) as a math operator, which can subtract a quantity from the one following it.
Subtraction with Formulation
You should utilize formulation to carry out a number of subtractions or advanced subtraction operations. As an illustration, to subtract the typical of cells A2:A10 from cell B2, you’d enter the next system in cell C2:
=B2-(AVERAGE(A2:A10))
Part 3: Conditional Subtraction
IF Operate
The IF perform permits you to carry out subtraction underneath particular situations. For instance, to subtract 10 from the worth in cell A2 provided that cell B2 is bigger than 5, you’d use the next system in cell C2:
=IF(B2>5,A2-10,A2)
CHOOSE Operate
The CHOOSE perform allows you to subtract completely different values primarily based on a specified index. For instance, to subtract 10 from cell A2 if the index in cell B2 is 1, or 20 if the index is 2, you’d use the next system in cell C2:
=CHOOSE(B2,A2-10,A2-20)
Part 4: Desk of Subtraction Operations
Operation | Syntax | Description |
---|---|---|
Fundamental Subtraction | =A2-B2 | Subtracts the worth in cell B2 from the worth in cell A2 |
Double Hyphen Subtraction | =A2–10 | Subtracts 10 from the worth in cell A2 with out modifying it |
Subtraction with Signal | =A2-(-10) | Subtracts 10 from the worth in cell A2, ignoring main zeros |
Components Subtraction | =B2-(AVERAGE(A2:A10)) | Subtracts the typical of cells A2:A10 from the worth in cell B2 |
Conditional Subtraction with IF | =IF(B2>5,A2-10,A2) | Subtracts 10 from the worth in cell A2 if cell B2 is bigger than 5 |
Conditional Subtraction with CHOOSE | =CHOOSE(B2,A2-10,A2-20) | Subtracts 10 from the worth in cell A2 if the index in cell B2 is 1, or 20 if the index is 2 |
Conclusion
Mastering subtraction in Excel is essential for performing a variety of calculations and knowledge analyses. This information has coated varied subtraction strategies, from primary to superior, empowering you to confidently carry out subtraction operations in your spreadsheets.
To boost your Excel expertise additional, be sure you take a look at our different articles on worthwhile Excel capabilities and strategies. Maintain exploring, and be happy to succeed in out when you’ve got any questions.
FAQ about Subtracting in Excel
How do I subtract two numbers in Excel?
- Use the minus signal (-) between the 2 numbers, e.g.: =A1-B1
How do I subtract a variety of cells?
- Use the SUM perform with a unfavourable signal, e.g.: =SUM(-A1:A10)
How do I subtract a relentless from a variety of cells?
- Use the minus signal (-) and the fixed, e.g.: =A1:A10 – 5
How do I subtract a cell from each cell in a variety?
- Use the unfavourable signal (-) and the cell reference, e.g.: =A1:A10 – $B$1
How do I subtract the worth of a cell from the worth of one other cell and show the lead to a 3rd cell?
- Enter the system =cell1-cell2 into the third cell, e.g.: =A1-B1
How do I subtract percentages in Excel?
- Convert the chances to decimals earlier than subtracting, e.g.: =A1-B1/100
How do I subtract dates in Excel?
- Excel shops dates as serial numbers, so subtract the sooner date from the later date, e.g.: =B2-A2
How do I subtract time in Excel?
- Excel shops time as a fraction of a day, so subtract the sooner time from the later time, e.g.: =B3-A3
How do I subtract textual content in Excel?
- Excel can’t subtract textual content straight, however you need to use the CONCATENATE perform to affix textual content strings and subtract them as numbers, e.g.: =CONCATENATE(A1, "-") – CONCATENATE(B1, "-")
How do I subtract a column of numbers from one other column of numbers?
- Use the system =column1 – column2, the place column1 and column2 are the headers of the columns you wish to subtract, e.g.: =ColA – ColB