Excel tutorial
/

Functions

Beginner

Excel ROUNDUP and ROUNDDOWN: always round up or always round down

ROUNDUP vs ROUNDDOWN in Excel: boxes needed, hourly billing, budgets; how they treat negative numbers and how ROUNDDOWN differs from INT — with examples.

Plain ROUND follows the “5 and up” rule. Real life often needs something else: packing 250 notebooks 24 to a box takes 10.4 boxes — 10 boxes won’t do, you need 11. That’s ROUNDUP: it always rounds away from zero.

ROUNDDOWN does the opposite and always rounds toward zero — it simply drops the extra. With 1,000,000 soums and books at 65,000 each, you can buy 15 books, not 15.38.

Книга1 - Excel
—☐✕
C5fx=ОКРУГЛВВЕРХ(A5;0)
ABCDEF
1NumberROUNDROUNDUPROUNDDOWNINT
22,12322
32,53322
42,93322
5-2,1-2-31-2-3
6-2,9-3-3-2-3
7
Готово
ROUNDUP turns 2.1 into 3 and −2.1 into −3 (away from zero!). ROUNDDOWN always drops the fraction. INT behaves differently with negatives: −2.1 → −3

Syntax

=ОКРУГЛВВЕРХ(number; num_digits)
=ОКРУГЛВНИЗ(number; num_digits)

  • number — the number, cell or formula to round (B2/C2).
  • num_digits — same as in ROUND: 0 — whole number, 1/2 — decimal places, -2 — hundreds, -3 — thousands.

The only difference is direction: ROUNDUP always moves away from zero whatever the next digit is (=ОКРУГЛВВЕРХ(3,001;0) → 4), ROUNDDOWN always moves toward zero (=ОКРУГЛВНИЗ(3,999;0) → 3).

Example

AB
1QtyPer box
225024

Formula:

=ROUNDUP(A2/B2,0)

→ result: 11 — 10 boxes hold 240 notebooks, the remaining 10 need an 11th box

Entering ROUNDUP

1

Select the result cell (D2) and click Формулы → Математические → ROUNDUP. ROUNDDOWN is in the same list, one line above.

Книга1 - Excel
—☐✕
ФайлГлавнаяВставкаРазметка страницыФормулыДанныеРецензированиеВидСправка
Вставить функциюАвтосуммаФинансовыеЛогическиеТекстовыеДата и времяСсылки и массивыМатематические
Библиотека функций
Диспетчер имён
Определённые имена
D2fx
ABCDE
1ProductQtyPer boxBoxes
2Notebook25024
3Pen60050
4Pencil13036
5
Готово

2

Type B2/C2 (qty ÷ per box) in Number and 0 in Num_digits — you need whole boxes. Click OK.

Книга1 - Excel
—☐✕
D2fx
ABCDE
1ProductQtyPer boxBoxes
2Notebook25024
3Pen60050
4Pencil13036
5
Готово

3

Fill the formula down (or double-click the fill handle). Whenever the quotient has a fraction, the result goes up to the next whole number.

Книга1 - Excel
—☐✕
E2fx=ОКРУГЛВВЕРХ(B2/C2;0)
ABCDEF
1ProductQtyPer boxROUNDROUNDUP
2Notebook2502410111
3Pen600501212
4Pencil1303644
5
Готово
Example 1: packing. ROUND gives 10 boxes for notebooks — 10 notebooks are left out. ROUNDUP gives 11, the right answer. When the quotient is whole (600/50 = 12), ROUNDUP leaves it as is
Книга1 - Excel
—☐✕
C4fx=ОКРУГЛВВЕРХ(B4/60;0)
ABCDE
1ClientMinutesHoursCharge
2Aziz135315 000
3Dilnoza6015 000
4Javohir612210 000
5Malika2015 000
6
Готово
Example 2: parking at 5,000 soums an hour, every started hour is charged in full. 61 minutes is 2 hours, 60 minutes is 1 hour
Книга1 - Excel
—☐✕
D2fx=ОКРУГЛВНИЗ(C2/B2;0)
ABCDEF
1ProductPriceBudgetHow manyLeft over
2Book65 0001 000 0001525 000
3Notebook7 5001 000 0001332 500
4Pen3 2001 000 0003121 600
5
Готово
Example 3: ROUNDDOWN — how many whole items fit the budget. 1,000,000 ÷ 65,000 = 15.38 → 15 books, 25,000 soums left

Pro level: multiples, full years and pricing

  • Up to any multiple: to raise a price to a multiple of 500 soums use =ОКРУГЛВВЕРХ(B2/500;0)*500. In Excel 2013+ =CEILING.MATH(B2;500) does the same, and =FLOOR.MATH(B2;1000) goes down.
  • To thousands: =ОКРУГЛВВЕРХ(B2;-3) — 12,340 → 13,000. Common for wholesale prices.
  • Full years (service, age): =ОКРУГЛВНИЗ(ДОЛЯГОДА(B2;C2;1);0) turns 6.8 years into 6; rounding up would be wrong here. An alternative is =РАЗНДАТ(B2;C2;"y").
  • Taxi and phone billing: every started kilometer or minute — =ОКРУГЛВВЕРХ(B2;0)*rate.
  • Percent down: =ОКРУГЛВНИЗ(B2;2) turns 0.8379 into 0.83 (83%), so a plan result is never overstated.
Книга1 - Excel
—☐✕
C3fx=ОКРУГЛВВЕРХ(B3/500;0)*500
ABCDEF
1ProductPriceUp to 500Down to 1000Up to thousands
2Juice12 34012 50012 00013 000
3Cheese18 21018 50018 00019 000
4Cookies7 0507 5007 0008 000
5
Готово
18,210 → 18,500 (up to 500), 18,000 (down to 1000), 19,000 (up to thousands)

Try it in the simulator

Work out how many boxes each product needs: type =ОКРУГЛВВЕРХ(B2/C2;0) in D2 and fill it down to D5. Then type =ОКРУГЛВНИЗ(B2/C2;0) in E2 and compare it with the number of completely full boxes.

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

Has ExcelLab been useful?

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

Support us
Previous

76 / 154