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.
| A | B | C | D | E | F | |
|---|---|---|---|---|---|---|
| 1 | Number | ROUND | ROUNDUP | ROUNDDOWN | INT | |
| 2 | 2,1 | 2 | 3 | 2 | 2 | |
| 3 | 2,5 | 3 | 3 | 2 | 2 | |
| 4 | 2,9 | 3 | 3 | 2 | 2 | |
| 5 | -2,1 | -2 | -31 | -2 | -3 | |
| 6 | -2,9 | -3 | -3 | -2 | -3 | |
| 7 |
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
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.
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Product | Qty | Per box | Boxes | |
| 2 | Notebook | 250 | 24 | ||
| 3 | Pen | 600 | 50 | ||
| 4 | Pencil | 130 | 36 | ||
| 5 |
2
Type B2/C2 (qty ÷ per box) in Number and 0 in Num_digits — you need whole boxes. Click OK.
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Product | Qty | Per box | Boxes | |
| 2 | Notebook | 250 | 24 | ||
| 3 | Pen | 600 | 50 | ||
| 4 | Pencil | 130 | 36 | ||
| 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.
| A | B | C | D | E | F | |
|---|---|---|---|---|---|---|
| 1 | Product | Qty | Per box | ROUND | ROUNDUP | |
| 2 | Notebook | 250 | 24 | 101 | 11 | |
| 3 | Pen | 600 | 50 | 12 | 12 | |
| 4 | Pencil | 130 | 36 | 4 | 4 | |
| 5 |
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Client | Minutes | Hours | Charge | |
| 2 | Aziz | 135 | 3 | 15 000 | |
| 3 | Dilnoza | 60 | 1 | 5 000 | |
| 4 | Javohir | 61 | 22 | 10 000 | |
| 5 | Malika | 20 | 1 | 5 000 | |
| 6 |
| A | B | C | D | E | F | |
|---|---|---|---|---|---|---|
| 1 | Product | Price | Budget | How many | Left over | |
| 2 | Book | 65 000 | 1 000 000 | 15 | 25 000 | |
| 3 | Notebook | 7 500 | 1 000 000 | 133 | 2 500 | |
| 4 | Pen | 3 200 | 1 000 000 | 312 | 1 600 | |
| 5 |
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.
| A | B | C | D | E | F | |
|---|---|---|---|---|---|---|
| 1 | Product | Price | Up to 500 | Down to 1000 | Up to thousands | |
| 2 | Juice | 12 340 | 12 500 | 12 000 | 13 000 | |
| 3 | Cheese | 18 210 | 18 500 | 18 000 | 19 000 | |
| 4 | Cookies | 7 050 | 7 500 | 7 000 | 8 000 | |
| 5 |
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.
| A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | Product | Qty | Per box | Boxes | Full boxes | |||||||||||||||||||
| 2 | Notebook | 250 | 24 | |||||||||||||||||||||
| 3 | Pen | 620 | 50 | |||||||||||||||||||||
| 4 | Pencil | 130 | 36 | |||||||||||||||||||||
| 5 | Album | 75 | 20 | |||||||||||||||||||||
| 6 | ||||||||||||||||||||||||
| 7 | ||||||||||||||||||||||||
| 8 | ||||||||||||||||||||||||
| 9 | ||||||||||||||||||||||||
| 10 |
Has ExcelLab been useful?
Support the project and help us release new lessons and exercises.