ROUND Formula in Excel — To the Nearest Whole Number, 2 Decimals, or Nearest 5
Learn the ROUND formula in Excel: round to whole numbers, 2 decimal places, tens and hundreds — plus ROUNDUP, ROUNDDOWN and MROUND.
Read Guide →You want to subtract in Excel — an expense from your income, a discount from a price, one date from another — and the first surprise is that there is no SUBTRACT function. SUM exists, AVERAGE exists, but SUBTRACT does not. The formula is simpler than that: one minus sign between two numbers or two cells. This guide gives you that formula first, then works through it with real numbers: two cells, a whole column, several numbers at once, the same fixed number from a long list, and dates and times — plus the two traps that catch beginners, typing the formula without the equals sign and getting the order backwards.
Quick takeaway: there is no SUBTRACT function in Excel. Use the minus sign.
=A-B — first number minus second number.=A2-B2 — the value in A2 minus the value in B2.=. Without it, Excel may read 10-5 as a date.=A2-B2 and =B2-A2 give opposite answers.
The subtraction formula is:
=A-B
With cell references, if the first number is in A2 and the second number is in B2:
=A2-B2
That is the whole formula. There is no function to learn, no brackets needed for a simple subtraction, and no settings to change.
No. Excel has no SUBTRACT function, and =SUBTRACT(10,5) does not work — Excel shows a #NAME? error, which means it does not recognise that function name.
This is deliberate, not a missing feature. Addition has SUM because adding a long list needs a function. Subtraction is just the minus sign, the same key you use on a calculator. Every subtraction in this guide uses -, and nothing else is needed.
= to start the formula.-.Example: to subtract 50 from 150, type =150-50 and press Enter. Excel shows 100.
Subtract 25 from 75:
| Value | |
|---|---|
| Formula | =75-25 |
| Calculation | 75 − 25 = 50 |
| Result | 50 |
You can type the numbers straight into the formula like this, but for real work, use cell references instead (next section). Typed-in numbers cannot update when your data changes; cell references can.
Monthly income is in A2, total expenses are in B2, and you want your savings in C2.
| A | B | C | |
|---|---|---|---|
| 2 | 5,000 (income) | 3,200 (expenses) | =A2-B2 |
Calculation: 5,000 − 3,200 = 1,800. Your savings are 1,800.
Click the cells instead of typing the numbers: click C2, type =, click A2, type -, click B2, press Enter. Clicking is faster and you cannot mistype a number.
This is the case most people actually need — a list of incomes in column A and expenses in column B, with the savings for each row in column C.
| Income (A) | Expenses (B) | Formula (C) | Result |
|---|---|---|---|
| 5,000 | 3,200 | =A2-B2 | 1,800 |
| 4,200 | 2,900 | =A3-B3 | 1,300 |
| 6,000 | 4,500 | =A4-B4 | 1,500 |
Type the formula once in C2, then copy it down: click C2, drag the small square at its bottom-right corner down over the other rows, or double-click that square. Excel adjusts the references for each row — C3 becomes =A3-B3, C4 becomes =A4-B4. This is called using relative references, and it is the same fill-handle method used in the percentage change formula guide for a whole column.
To subtract several numbers from one number, chain the minus signs:
=100-10-15-25-30
Calculation: 100 − 10 = 90, 90 − 15 = 75, 75 − 25 = 50, 50 − 30 = 20.
With cells, the same idea: =B2-C2-D2 subtracts C2 and D2 from B2.
If the list of numbers to subtract is long, add them first with SUM and subtract once — it is shorter and harder to get wrong:
=B2-SUM(C2,D2)
Example: B2 is 100, C2 is 10, D2 is 15. SUM(C2,D2) is 25, and 100 − 25 = 75. This is the same SUM function covered in the SUM formula guide.
Suppose every price in column A needs the same $25 discount taken off, and the $25 is in cell B2. If you write =A2-B2 and copy it down, the B2 reference moves to B3, B4 — and the discount breaks.
Fix it with dollar signs, which lock the reference:
=A2-$B$2
Copy that down: A2 becomes A3, A4, but $B$2 stays $B$2 on every row. Example: price 100, discount 25 → 100 − 25 = 75 on every row. This is called an absolute reference, and it is covered in full in the absolute reference guide.
To reduce a value by a percentage, multiply by what is left:
=A2*(1-25%)
Example: a price of $200 with 25% off. 200 × (1 − 25%) = 200 × 0.75 = $150.
The other way to write the same thing is =A2-A2*25%, which is 200 − 50 = 150. Both give the same answer. For the reverse — working out a percentage change between two values — see the percentage change formula guide.
Dates in Excel are numbers underneath, so you subtract them exactly like numbers. The answer is the number of days between them.
Example: 25 December 2026 minus 1 December 2026.
=DATE(2026,12,25)-DATE(2026,12,1)
Calculation: 25 − 1 = 24 days.
If your dates are already in cells, just subtract the cells: =B2-A2 where B2 is the later date and A2 is the earlier date. If the answer shows as a date instead of a number, format the result cell as a Number. For a full guide, including working days and months, see days between dates.
Times subtract the same way. Start time in A2, finish time in B2:
=B2-A2
Example: finish 17:30, start 09:00. 17:30 − 09:00 = 8:30, which is 8 and a half hours.
If the answer shows as a decimal like 0.354 instead of 8:30, the cell is formatted as a Number. Format it as Time (or as [h]:mm if the total can pass 24 hours) and it will show correctly.
A negative answer is not an error — it means the second number is bigger than the first.
Example: =50-80 gives -30. That is correct. It means you subtracted 80 from 50, and 50 is 30 short.
If you were expecting a positive answer, you almost certainly have the order backwards. Swap the cells: =B2-A2 instead of =A2-B2. Do not just delete the minus sign — that hides the mistake instead of fixing it.
Excel follows the order of operations (PEMDAS): Parentheses, Exponents, Multiplication and Division, then Addition and Subtraction. Division and multiplication happen before subtraction.
Example: =10-4/2. Excel divides first: 4 / 2 = 2, then 10 − 2 = 8. If you meant to subtract first, use brackets: =(10-4)/2 = 6 / 2 = 3.
So when a formula mixes subtraction with division or multiplication, put brackets around the subtraction if that is what you want done first.
| Mistake | What happens | Fix |
|---|---|---|
You typed 10-5 without = | Excel may read it as a date (for example, 10-May) instead of calculating | Always start with =: =10-5 |
You tried =SUBTRACT(10,5) | Excel shows #NAME? — there is no SUBTRACT function | Use the minus sign: =10-5 |
| First and second numbers swapped | The answer has the wrong sign (for example, -30 instead of 30) | First number is the one you subtract FROM: =A2-B2 |
| You typed numbers instead of cell references | The formula does not update when the numbers change | Point at cells: =A2-B2, not =5000-3200 |
You copied =A2-B2 down but the fixed number moved too | The discount/fee reference moves to B3, B4 and the answers go wrong | Lock it with dollars: =A2-$B$2 |
| The date answer shows as a date, not a number of days | The result cell is formatted as a Date | Format the result cell as a Number |
| The time answer shows as a decimal like 0.354 | The result cell is formatted as a Number | Format the result cell as Time ([h]:mm for totals over 24 hours) |
=10-4/2 gave 8, you expected 3 | Division happens before subtraction (PEMDAS) | Use brackets: =(10-4)/2 |
What is the formula of subtraction in Excel? =A-B. With the first number in A2 and the second in B2: =A2-B2. There is no SUBTRACT function.
What is the subtraction formula in Excel? The minus sign between two values: =first value-second value. For example, =150-50 gives 100, and =A2-B2 subtracts the value in B2 from the value in A2.
How do you subtract in Excel with a formula? Click the result cell, type =, click the first cell, type -, click the second cell, press Enter. Example: =A2-B2.
How do I subtract one cell from another? =A2-B2 subtracts B2 from A2. The order matters — =B2-A2 gives the opposite answer.
How do I subtract one column from another? Write the formula once in the first row (for example, =A2-B2 in C2), then drag the fill handle down. Excel adjusts the references row by row.
How do I subtract the same number from many cells? Put the number in one cell (say B2) and use =A2-$B$2. The dollar signs lock B2 so it does not move when you copy the formula down.
Why is my subtraction answer negative? The second number is bigger than the first, so the answer is negative — that is correct, not an error. If you expected a positive answer, swap the order.
Can I subtract dates in Excel? Yes. Subtract the earlier date from the later date: =B2-A2 gives the number of days between them. Format the result as a Number if it shows as a date.
That is the whole method: there is no SUBTRACT function, just a minus sign, an equals sign first, and the first number before the second. It works for two numbers, two cells, a whole column, several numbers at once, a fixed discount, a percentage, a date and a time — and the only cases that need extra care are the order of the numbers and the equals sign at the start. Try it on your own numbers now, with the budget example above, and when you need the other basic operations, the next guides to read are the SUM formula, the multiplication formula and the division formula — all in the same Math Basics group.
Learn the ROUND formula in Excel: round to whole numbers, 2 decimal places, tens and hundreds — plus ROUNDUP, ROUNDDOWN and MROUND.
Read Guide →The excel formula kg to lbs is CONVERT or × 2.20462. This guide covers kg, g, °C, cm, mm and KB to...
Read Guide →Learn the division formula in Excel: the forward slash, dividing one column by another, QUOTIENT and MOD, and how to fix the...
Read Guide →