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 have a column of numbers — a month of expenses, a list of sales, a term of marks — and you need the total. You could add them on a calculator, but then the total would never update when a number changes. The SUM formula does it in one line, and it updates itself every time you change a number. It is the first formula most people learn in Excel, and the easiest: one word, one pair of brackets, and the cells you want to add. This guide gives you that formula first, then the one-keypress shortcut, then worked examples for a column, several ranges and a running total — plus the fixes for the three reasons a total comes out wrong.
Quick takeaway: SUM adds up numbers, cell references or ranges.
=SUM(A2:A10) — adds everything in A2 to A10.+ does not — it breaks with #VALUE! if a cell holds text.A2:A10), not a long list of single cells — ranges update when you insert or delete rows.
The SUM formula is:
=SUM(number1, [number2], ...)
With a range, the formula most people use is:
=SUM(A2:A10)
That adds every number from A2 down to A10. The colon means “from A2 through A10, everything in between”.
=SUM(.A2:A10.) and press Enter.Example: to add 10, 20 and 30, type =SUM(10,20,30) and press Enter. Excel shows 60.
You do not even need to type the formula. Excel can write it for you.
=SUM(...) and highlights the range it thinks you want. Check the highlighted range — if it is right, press Enter. If it is wrong, drag to select the correct range first, then press Enter.AutoSum guesses the numbers above (or to the left of) the cell. It usually guesses right. When it guesses wrong, the fix is simple: select the range yourself before pressing Enter, and Excel uses your selection instead.
Monthly expenses in column A, rows 2 to 6:
| A (Expenses) | |
|---|---|
| 2 | 120 |
| 3 | 85 |
| 4 | 210 |
| 5 | 45 |
| 6 | 90 |
| 7 (Total) | =SUM(A2:A6) |
Calculation: 120 + 85 + 210 + 45 + 90 = 550. The total in A7 is 550.
Now change any number — A4 from 210 to 200, for example — and the total updates itself to 540. That is the point of a formula: the total is never out of date.
Separate each range with a comma:
=SUM(A2:A6, D2:D5)
Example: column A totals 550 (from the example above), and column D holds 40, 60, 25 and 75. Column D totals 40 + 60 + 25 + 75 = 200. The formula gives 550 + 200 = 750.
You can also mix numbers, cells and ranges in one formula:
=SUM(5, A1:A5, D3)
Example: A1 to A5 hold 10, 20, 30, 40 and 50 (total 150), D3 holds 7. The formula gives 5 + 150 + 7 = 162.
Both add numbers. For a short list, =A1+B1+C1 works. For real work, SUM is better, and Microsoft’s own documentation says why:
| SUM | + | |
|---|---|---|
| A cell holds text | Ignores it, adds the rest | Breaks with #VALUE! |
| You insert a row inside the range | Range grows to include it | New row is left out |
| You delete a row inside the range | Range shrinks, total stays right | Breaks with #REF! |
| Long list of cells | One short range: =SUM(A2:A50) | A very long formula, easy to mistype |
Rule: use + only for two or three cells. Use SUM for everything else. The same logic applies in reverse for taking numbers away — see the subtraction formula guide, which shows how SUM helps there too.
A running total adds each new number to everything before it. Using the expenses above:
| Month | Expense (A) | Running total (B) | Formula (B) |
|---|---|---|---|
| Jan | 120 | 120 | =SUM($A$2:A2) |
| Feb | 85 | 205 | =SUM($A$2:A3) |
| Mar | 210 | 415 | =SUM($A$2:A4) |
Calculation: Jan 120. Feb 120 + 85 = 205. Mar 205 + 210 = 415.
The $A$2 locks the start of the range, while A2 moves down as you copy the formula. Copy B2 down and each row adds one more month. This is the same $ locking used in the subtraction formula guide for a fixed discount.
To add every number in column A, however many rows you add later:
=SUM(A:A)
The trap: it adds every number in the column — including a number in the header row, and including your total itself if the total sits in the same column. Example: values 100, 200 and 300, with the total 600 in the same column. =SUM(A2:A5) where A5 holds the 600 total gives 100 + 200 + 300 + 600 = 1,200 — the total counted twice.
Fix it two ways: put the total in a different column, or use a fixed range like =SUM(A2:A100) that stops above the total row.
The most common cause is numbers stored as text. Excel treats text as zero in a SUM, so a column of text-numbers adds up to 0 — or to much less than you expect. It happens when numbers are pasted from a website or imported from another system.
How to tell: numbers stored as text usually sit at the left of the cell, with a small green triangle in the corner. Real numbers sit at the right.
How to fix it:
Other causes: the total cell is formatted as Text (format it as Number), or the formula is showing as text because the cell was formatted as Text before you typed the formula (format as General, then click in the formula bar and press Enter).
| Mistake | What happens | Fix |
|---|---|---|
You used + and a cell holds text | #VALUE! error | Use SUM — it ignores text |
| AutoSum picked the wrong range | Total is too big or too small | Select the range yourself before pressing Enter |
| Numbers are stored as text | Total is 0 or too low | Convert to Number (see above) |
| The total cell is inside the summed range | Total counts itself — for example, 1,200 instead of 600 | Put the total in another column, or use a fixed range |
| You listed single cells instead of a range | Inserting a row leaves the new row out of the total | Use a range: =SUM(A2:A10) |
| The formula shows as text, not a total | The cell was formatted as Text before you typed | Format as General, click the formula bar, press Enter |
You typed =SUM A2:A10 without brackets | Excel shows an error | Always use brackets: =SUM(A2:A10) |
| You added a row below the range and it is not included | The range ends above the new row | Add the row inside the range, or extend the range to cover it |
What is the SUM formula in Excel? =SUM(number1, [number2], ...). Most often: =SUM(A2:A10), which adds everything from A2 to A10.
How do I add a column in Excel? Click the empty cell below the column and press Alt+=, or type =SUM(A2:A10) with your own range, and press Enter.
What is the shortcut for SUM in Excel? Alt+= inserts a SUM formula for the numbers above (or to the left of) the selected cell. The AutoSum (∑) button on the Home tab does the same thing.
How do I add multiple ranges? Separate them with commas: =SUM(A2:A6, D2:D5). You can also mix numbers, cells and ranges: =SUM(5, A1:A5, D3).
Should I use SUM or +? Use SUM for anything longer than two or three cells. + breaks with #VALUE! if a cell holds text, and it does not update when you insert or delete rows inside the list.
Why is my SUM total 0? Your numbers are probably stored as text. Select them, click the warning icon and choose Convert to Number — then the total will appear.
Does SUM ignore text and empty cells? Yes. SUM skips text and empty cells and adds only the numbers. That is one of its advantages over +.
How do I add numbers across sheets? List each sheet’s range: =SUM(Sheet1!A2:A10, Sheet2!A2:A10). For many sheets in a row, a 3D reference works too: =SUM(Sheet1:Sheet3!A2).
That is the whole method: =SUM( plus the cells you want to add, plus ). Alt+= writes it for you, a range keeps it working when rows are added or removed, and SUM — unlike + — ignores text and survives edits. If a total looks wrong, check first whether the numbers are really numbers, and second whether the range is the one you meant. Try it on your own column now, then keep going with the other basic operations in the same Math Basics group: the subtraction formula, the multiplication formula and the division formula — and when you need the average of a total you have just added, the average formula guide is the next one to read.
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 →