ROUNDUP Function in ONLYOFFICE Spreadsheet Editor: Syntax, Examples and Limits
Round a quantity away from zero to a chosen decimal place, even when the dropped digits are small.
Verification status: Eight signed numeric-reference rounding cases checked in ONLYOFFICE Desktop Editors Community 10.0.0.169 on Linux x64; additional examples independently calculated. Other clients and builds untested. How formula examples are checked
ROUNDUP rounds a number away from zero at a chosen decimal place. It can answer “how many containers are needed?” for a nonnegative quantity, but a negative result becomes more negative. That is different from choosing the least integer greater than the input.
Availability and version history
- Introduced: The original introduction release and date are not established by the checked references.
- Availability: Documented in current ONLYOFFICE help and observed in Desktop Editors Community 10.0.0.169. This is not a final supported-version endpoint.
- Scope: Native observations cover Linux x64 only. Docs, mobile, earlier versions and other desktop platforms remain separately untested.
- Checked: October 14, 2026, against the official ROUNDUP reference, pinned source and the explicitly identified native cases. Additional worked results were independently calculated.
Syntax and direction
ROUNDUP(number, num_digits)
The official reference gives both arguments and does not document an omitted-digit default. Use an explicit integer count: 2 for hundredths, 1 for tenths, 0 for units and -2 for hundreds in this guide.
The short help says “round up” without a full negative-number table. The inspected official source rounds a scaled absolute value upward, then restores the sign. The native observations below provide separate evidence for specific inputs; the source revision alone is not an installed-version guarantee.
A complete signed worksheet
Create AwayFromZero, with A1:D13. Label A1 Input, B1 Result, C1 Digits and D1 Magnitude change. Enter the original ten numeric inputs in A and the indicated digit counts in C. Put =ROUNDUP(A2,C2) in B2 and fill through B11.
| Row | A: Input | C: Digits | B: Result |
|---|---|---|---|
| 2 | 12.341 | 2 | 12.35 |
| 3 | -12.341 | 2 | -12.35 |
| 4 | 1492.6 | -2 | 1500 |
| 5 | -1492.6 | -2 | -1500 |
| 6 | 8.999 | 0 | 9 |
| 7 | -8.999 | 0 | -9 |
| 8 | 0.125 | 1 | 0.2 |
| 9 | -0.125 | 1 | -0.2 |
| 10 | 0 | 0 | 0 |
| 11 | 15 | 2 | 15 |
Rows 2–9 match eight numeric-reference cases checked in ONLYOFFICE Desktop Editors Community 10.0.0.169 on Linux x64. Rows 10–11 and the additional calculations below are independent mathematical expectations, not extra native observations.
Enter =ABS(B2)-ABS(A2) in D2 and fill through D11. Independently expected changes are 0.009, 0.009, 7.4, 7.4, 0.001, 0.001, 0.075, 0.075, 0, 0. Negative inputs move downward numerically while their magnitudes increase. ABS makes that distinction visible.
For a separate exact-input scenario, copy the sheet as AlreadyAligned and change A2 to 12.300. B2 has the independent decimal expectation 12.3, with D2 0. Keep the original sheet intact; adding zeros to a number’s format does not itself alter its numeric value.
Advanced: enough cartons versus complete cartons
Create Cartons, with A1:F7. Enter 53 items in D2 and 12 items per carton in E2. Put these formulas in their own cells:
| Cell | Formula | Independent result |
|---|---|---|
| F2 | =ROUNDUP(D2/E2,0) |
5 |
| F3 | =ROUNDDOWN(D2/E2,0) |
4 |
| F4 | =D2-F3*E2 |
5 |
| F5 | =F2*E2-D2 |
7 |
Four full cartons hold 48 items, leaving five items for a fifth carton. Five cartons provide seven unused spaces. The desired quantity is not “four or five depending on rounding preference”; the two formulas answer different questions.
In F7 enter =IF(E2>0,ROUNDUP(D2/E2,0),"Check capacity"). On a copy named InvalidCapacity, clear F2:F5 before changing E2 to zero, retaining only the guarded formula in F7; its intended IF result is Check capacity. The native fixture did not execute a zero-divisor case. Production inputs also need valid nonnegative item counts and the intended units.
Other precision choices
Use separate cells on OtherPlaces, keeping all original inputs unchanged:
| Cell | Formula | Independent decimal expectation |
|---|---|---|
| A2 | =ROUNDUP(2125,-2) |
2200 |
| A3 | =ROUNDUP(17.231,2) |
17.24 |
| A4 | =ROUNDUP(-8.999,1) |
-9 |
| A5 | =ROUNDUP(-3.141,2) |
-3.15 |
The last value illustrates why “up” is not positive infinity. Use a deliberate rounding rule for the calculation rather than relying on the ordinary meaning of the function name.
Reproduce the vendor’s example
Create VendorUp, enter 3.456 in A1 and 0 in A2, then put =ROUNDUP(A1,A2) in C1. The official screenshot displays 4. It is a positive whole-unit example and does not by itself establish every signed case.
Boundaries and portability
The examples use ordinary numeric inputs and integer place counts. Blank/text coercion, fractional digits, extreme magnitudes, array evaluation and every decimal boundary remain untested. A tiny stored difference can matter when rounding away from zero; extra display digits are useful for inspection but do not remove that difference.
ROUND chooses a nearest value; ROUNDDOWN moves toward zero. Neither is an automatic substitute for a capacity rule. Check the original quantity and unit size before blaming the rounding formula.
English formulas here use commas. The function-entry guide and the target installation’s formula language determine how to enter them. Matching function names in another spreadsheet do not establish identical precision or import behavior.