Example 1
Round to two decimals
B2 =ROUND(A2,2)
Result: 3.14
The third decimal, 1, is below 5, so the 4 stays as it is.
B2 =ROUND(A2,2) returns 3.14
Rounds a number to a set number of decimal places, or to tens, hundreds and thousands with a negative number. Halves round away from zero.
Syntax
=ROUND(, )
All versions of Excel.
Try it
Edit the formula in B2 or change the inputs. The sheet recalculates as you type.
B2 =ROUND(A2,2) returns 3.14
ROUND changes the value of a number. That is its main difference from formatting a cell to show two decimals: a number format only changes what you see, while ROUND changes what is stored and what every later formula uses.
=ROUND(3.14159, 2) returns 3.14. The second argument says how many decimal places to keep. A value of 0 rounds to a whole number, and negative values round to the left of the decimal point: =ROUND(1234.5678, -2) returns 1200.
Excel rounds a number that ends exactly on a half away from zero. So =ROUND(2.5, 0) is 3 and =ROUND(-2.5, 0) is -3. It does not use "banker's rounding", where halves go to the nearest even number.
Round when a figure is a real amount that will be paid, invoiced or reported, such as a price including tax. Format when you only want a tidy display. If you only format, the cell shows 23.99 but still holds 23.988, and a column of such values can appear not to add up on the page.
A common pattern is to round each line before totalling: =ROUND(B2*(1+$E$1), 2) on every row, then SUM. The total then equals the sum of the numbers a reader sees. If you round only the total, it can differ by a penny or two from the sum of rounded lines.
ROUND works in powers of ten. For other steps use a different function:
ROUND is often wrapped around a calculation, as in =ROUND(AVERAGE(B2:B9), 1), so the intermediate figures keep full precision until the end. Avoid rounding in the middle of a chain of calculations unless the rounded figure is the one you need to carry forward, because each round discards a little accuracy.
ROUND accepts numbers and numeric text only. A cell that holds text such as "n/a" returns #VALUE!.
B2, or a calculation such as B2*1.2.2 keeps pence or cents, 0 gives a whole number, and a negative number rounds to the left of the point: -1 to tens, -2 to hundreds, -3 to thousands.Each example is a live sheet. Change the inputs or the formula and watch the result.
Example 1
B2 =ROUND(A2,2)
Result: 3.14
The third decimal, 1, is below 5, so the 4 stays as it is.
B2 =ROUND(A2,2) returns 3.14
Example 2
B2 =ROUND(A2,-2)
Result: 1200
A negative num_digits works left of the decimal point: -1 is tens, -2 is hundreds and -3 is thousands.
B2 =ROUND(A2,-2) returns 1200
Example 3
B3 =ROUND(A3,0)
Result: -3
Excel rounds the half in -2.5 away from zero, so the result is -3. ROUND(A2,0) gives 3.
B3 =ROUND(A3,0) returns -3
Example 4
C2 =ROUND(A2*(1+B2),2)
Result: 21.64
19.99 x 1.0825 is 21.639175, which rounds to 21.64. Without ROUND the cell would only appear to hold 21.64.
C2 =ROUND(A2*(1+B2),2) returns 21.64
Example 5
B6 =ROUND(SUM(B2:B4),2)
Result: 10
The three lines add to exactly 10. Rounding each line to 2 places first would give 3.33 + 3.33 + 3.33 = 9.99.
B6 =ROUND(SUM(B2:B4),2) returns 10
Solve it in the sheet. Every answer is checked, with hints if you need them.
Task 1 of 2
In C2, work out the gross price including the tax rate in E1, rounded to two decimals. Fill it down to C6.
Answer in C2, then it fills down to C6.
num_digits rounds to the left of the point, not to the right. ROUND(1234.5, -2) is 1200, not 1234.50.#VALUE! for text that isn't a number. Check for "n/a" or stray spaces in the source column.Use `=ROUND(B2, 2)`. This changes the stored value. If you only want to change the display, use the Decrease Decimal button or a number format instead.
ROUND changes the number, so every later formula uses the rounded figure. Formatting changes only what the cell shows, while the full value stays underneath.
Use a negative second argument: `=ROUND(B2, -1)` for tens, `-2` for hundreds and `-3` for thousands.
Away from zero. ROUND(0.5, 0) is 1 and ROUND(-0.5, 0) is -1. Excel does not round halves to the nearest even number.
Use ROUNDUP to round away from zero and ROUNDDOWN to round towards zero. Both take the same two arguments as ROUND.
ROUND is taught in Excel foundations, lesson 13: ROUND. Each lesson is a short, graded exercise like the one above.