Excel tutorial
/

Functions

Beginner

Excel ROUND function: rounding to decimals, hundreds and thousands, and the format trap

How to round numbers in Excel with ROUND: to any decimal place, to hundreds or thousands with a negative argument, and why number formatting is not rounding.

ROUND rounds a number to the number of digits you specify. Discounts, VAT, percentages and averages often give results like 17,204.85 or 4.3333333. ROUND turns them into 17,205 or 4.3 — and it changes the value stored in the cell.

That is the key difference: the “Decrease Decimal” button on the ribbon only changes how the number looks, while the long number stays inside. For invoices, payroll and price lists you need ROUND.

Книга1 - Excel
—☐✕
D4fx=ОКРУГЛ(C4;-2)
ABCDE
1ProductPricePrice −7%Rounded
2Tea18 50017 205,0017 200
3Coffee64 90060 357,0060 400
4Sugar13 75012 787,5012 800
5Rice23 40021 762,0021 800
6
Готово
After a 7% discount the price is 12,787.50; =ОКРУГЛ(C4;-2) rounds it to the nearest hundred — 12,800 soums

Syntax

=ОКРУГЛ(number; num_digits)

  • number — the number, cell or formula to round (B2*93%).
  • num_digits — how many digits to keep. This argument is required:
  • 2 — 2 decimal places (12.35); 1 — one place (12.3).
  • 0 — to a whole number (12).
  • -1 — to tens (10), -2 — to hundreds (1,200), -3 — to thousands (13,000).

The rule is the school one: if the next digit is 5 or more, round up; below 5, round down. For negative numbers “up” means away from zero: =ОКРУГЛ(-2,5;0) → −3.

Example

A
1Value
21234.5678

Formula:

=ROUND(A2,2)

→ result: 1234.57 — to two decimal places

Entering ROUND

1

Select the result cell (C2). On the Формулы tab click Математические and pick ROUND from the list.

Книга1 - Excel
—☐✕
ФайлГлавнаяВставкаРазметка страницыФормулыДанныеРецензированиеВидСправка
Вставить функциюАвтосуммаФинансовыеЛогическиеТекстовыеДата и времяСсылки и массивыМатематические
Библиотека функций
Диспетчер имён
Определённые имена
C2fx
ABCD
1ProductPricePrice −7%
2Tea18 500
3Coffee64 900
4Sugar13 750
5
Готово

2

In the Function Arguments window type the calculation into Number: B2*93%. Enter -2 in Num_digits (nearest hundred). The result appears at the bottom of the window — click OK.

Книга1 - Excel
—☐✕
C2fx
ABCD
1ProductPricePrice −7%
2Tea18 500
3Coffee64 900
4Sugar13 750
5
Готово

3

C2 now holds =ОКРУГЛ(B2*93%;-2). Double-click the small square in the cell’s bottom-right corner — the formula fills down to the end of the table.

Книга1 - Excel
—☐✕
C2fx=ОКРУГЛ(B2*93%;-2)
ABCD
1ProductPricePrice −7%
2Tea18 50017 200
3Coffee64 90060 400
4Sugar13 75012 8003
5
ГотовоСреднее: 30133,3333Количество: 3Сумма: 90400
Книга1 - Excel
—☐✕
C6fx=ОКРУГЛ(A6;B6)
ABCD
1Numbernum_digitsResult
21234,567821234,57
31234,567811234,6
41234,567801235
51234,5678-11230
61234,5678-21200
71234,5678-31000
8
Готово
Example 1: one number, different num_digits. Positive — decimal places, 0 — whole number, negative — tens, hundreds, thousands
Книга1 - Excel
—☐✕
E3fx=ОКРУГЛ(СРЗНАЧ(B3:D3);1)
ABCDEF
1StudentTest 1Test 2Test 3Average
2Aziz4544,3
3Dilnoza5544,7
4Javohir3443,7
5Malika5454,7
6
Готово
Example 2: ROUND wrapped around another function. Instead of 4.6666… you get 4.7, and any IF or sort that follows works with exactly 4.7
Книга1 - Excel
—☐✕
D3fx=ОКРУГЛ(B3*C3*12%;0)
ABCDE
1ProductQtyPriceVAT 12%
2Tea318 4506 642
3Coffee264 99015 598
4Sugar713 75011 550
5Total33 790
6
Готово
Example 3: VAT is rounded to whole soums on every row (15,597.6 → 15,598), so the total matches the invoice to the soum
Книга1 - Excel
—☐✕
B5fx=СУММ(B2:B4)
ABCD
1ShareBy formatBy ROUND
2Part 11010
3Part 21010
4Part 31010
5Total31130
6
Готово
Trap: column B shows 10 + 10 + 10 = 31! The format only hid 10.4, and SUM added 31.2. In column C the values are really rounded — 30

Pro level: to 500 soums, comparisons and “precision as displayed”

  • To any multiple: to make a price a multiple of 500 soums, use =ОКРУГЛ(B2/500;0)*500 — divide, round, multiply back. =MROUND(B2;500) does the same.
  • Always up or always down (number of boxes, full years) — use ROUNDUP and ROUNDDOWN, not ROUND.
  • Round before comparing. Decimals are stored in binary, so a result is sometimes 0.30000000000000004 instead of 0.3, and =ЕСЛИ(A2=0,3;...) unexpectedly returns FALSE. Fix: =ЕСЛИ(ОКРУГЛ(A2;2)=0,3;...).
  • Reporting in thousands: =ОКРУГЛ(B2/1000;0) shows 12,787,500 soums as “12,788 thousand”.
  • File → Options → Advanced → Set precision as displayed cuts every value in the workbook to what is shown, and it can’t be undone. Use ROUND exactly where you need it instead.
Книга1 - Excel
—☐✕
C2fx=ОКРУГЛ(B2/500;0)*500
ABCDE
1ProductPriceTo 500 (ROUND)To 500 (MROUND)
2Juice12 34012 50012 500
3Cheese18 21018 00018 000
4Cookies7 7508 0008 000
5
Готово
12,340 → 12,500, 18,210 → 18,000, 7,750 → 8,000: both methods give the same result

Try it in the simulator

Apply a 15% discount and round to hundreds: type =ОКРУГЛ(B2*85%;-2) in C2, press Enter and fill the formula down to C5. The first result should be 3,600.

Книга1 - Excel
—☐✕
Буфер обмена
Шрифт
Выравнивание
Число
Стили
Ячейки
Редактирование
✕✓fx
ABCDEFGHIJKLMNOPQRSTUVWX
1ProductPriceDiscounted
2Bread4200
3Milk12300
4Rice23900
5Oil31500
6
7
8
9
10
Лист1
Готово

Has ExcelLab been useful?

Support the project and help us release new lessons and exercises.

Support us
Previous

75 / 154