CEILING.PRECISE Function in ONLYOFFICE Spreadsheet Editor: Syntax and Worked Examples
Round a value upward to a specified positive increment even when the original value is negative. Includes documented syntax, a reproducible worksheet, error caveats, signed examples and release-specific cautions.
Verification status: See the evidence and test scope described in this guide. How formula examples are checked
Availability and version history
- Introduced: The original introduction version and date are not established by the official sources checked.
- Availability: Documented in the current ONLYOFFICE Spreadsheet Editor help; no final working-version endpoint is established.
- Scope: Docs and Desktop Editors release separately. This unversioned help does not establish availability in every older build, mobile client or deployment.
- Checked: October 14, 2026, against the official function reference. Documentation check; not a new native test.
Quick answer
Round a value upward to a specified positive increment even when the original value is negative. ONLYOFFICE’s official help article documents the English formula syntax below. Numerical results shown here are mathematical expectations, not observed software output.
What CEILING.PRECISE does, and when to use it
Choose the smallest allowed increment-aligned quantity not below the input, so a supply or threshold budget is never under-sized. Unlike a decimal-place rounding function, this uses multiples such as 2, 0.25, or 8.
An upper bound on a signed number line means -4 is above -4.1; it does not mean a greater magnitude. That matters for credits, deviations and signed measurements. Unlike ROUND(number,num_digits), which uses decimal places, CEILING.PRECISE uses a multiple. For a step of 0.25, possible results lie on a quarter-unit grid; for a step of 8, possible results lie on an eight-unit grid. Do not confuse an increment with the number of decimal places displayed in the spreadsheet.
Direction rule: toward positive infinity (a mathematical upper bound). The rule is documented by ONLYOFFICE’s CEILING.PRECISE help; the example results are independently calculated for positive step sizes.
Official syntax and argument order
=CEILING.PRECISE(number, [significance])
| Argument | Required? | Data type | Default | What it means |
|---|---|---|---|---|
number |
Yes | Number or a cell containing a numeric value | — | The signed quantity to round. |
significance |
No | Numeric multiple/increment | 1 |
The size of the increment. Omitted means whole-unit multiples. |
Square brackets in the help page denote optional arguments; do not type literal square brackets in the formula. For ordinary examples, use explicit numeric cells and a positive significance. The help article does not establish a complete type-coercion policy for blank/text/booleans or all negative significance values.
Zero-significance note: Official reference explicitly says significance 0 returns 0. The help article explicitly says significance = 0 returns 0, even though an “increment of zero” is not mathematically useful as a rounding step. Model this as an officially documented exception, not a consequence of division by zero.
Notation: Examples use the English formula language and comma argument separators shown in the official Insert Function instructions. Regional formula language and input settings must be checked in the editor actually used.
Reproduce a worksheet from scratch
- Start a blank ONLYOFFICE Spreadsheet Editor sheet. In A1 type
Scenario, B1 typeNumber, C1 typeStep, and D1 typeResult. Keep the scenario text separate from numeric cells. - Copy the scenario, number and step from each row of the table into the specified cells. Do not insert a mode column for this two-argument function.
- In the result column, type the exact row formula shown below, then copy down only if the cell references follow the intended row. The vendor describes the Formula tab or
Shift+F3for inserting a function as an alternative to typing. - Check the displayed value against independent expectation. If the editor reports an error, check the function name, punctuation, numeric values, argument separator, and the specific Desktop/web release first.
- Keep a second untouched input column if you are testing imported workbooks. Rounding should produce a new result, not silently replace source measurements or prices.
| Row | Scenario (A) | Number (B) | Step (C) | Formula | Independent expected output |
|---|---|---|---|---|---|
| 2 | Order capacity | 4.1 | 2 | =CEILING.PRECISE(B2,C2) |
6 |
| 3 | Credit adjustment | -4.1 | 2 | =CEILING.PRECISE(B3,C3) |
-4 |
| 4 | Already a multiple | 12 | 4 | =CEILING.PRECISE(B4,C4) |
12 |
| 5 | Quarter unit | 7.7 | 0.25 | =CEILING.PRECISE(B5,C5) |
7.75 |
| 6 | Signed fractional quantity | -3.1 | 0.5 | =CEILING.PRECISE(B6,C6) |
-3 |
| 7 | Tiny positive quantity | 0.1 | 0.2 | =CEILING.PRECISE(B7,C7) |
0.2 |
| 8 | Tiny negative quantity | -0.1 | 0.2 | =CEILING.PRECISE(B8,C8) |
0 |
| 9 | Exact zero | 0 | 2 | =CEILING.PRECISE(B9,C9) |
0 |
How the numbers were derived: Divide by a positive increment, take the mathematical ceiling of the quotient, and multiply by the increment. A negative number becoming numerically larger is consistent with an upper bound. For significance zero, use ONLYOFFICE’s explicitly documented zero output rather than division. This is not a screenshot, native engine test, or locale validation. A differently configured editor could show a different display precision even when the underlying mathematical number matches.
Paste-ready examples and expected outcomes
Enter each formula in an empty test cell. The expected outputs are independently calculated using decimal arithmetic except any zero-significance example, whose expectation comes directly from the official article. The table avoids undocumented negative significance and nonnumeric coercion.
| Example formula | Expected result (not native-tested) |
|---|---|
=CEILING.PRECISE(4.1) |
5 |
=CEILING.PRECISE(-4.1) |
-4 |
=CEILING.PRECISE(4.1,2) |
6 |
=CEILING.PRECISE(-4.1,2) |
-4 |
=CEILING.PRECISE(12,4) |
12 |
=CEILING.PRECISE(7.7,0.25) |
7.75 |
=CEILING.PRECISE(-3.1,0.5) |
-3 |
=CEILING.PRECISE(0.1,0.2) |
0.2 |
=CEILING.PRECISE(-0.1,0.2) |
0 |
=CEILING.PRECISE(13,5) |
15 |
=CEILING.PRECISE(-13,5) |
-10 |
=CEILING.PRECISE(9,0) |
0 |
=CEILING.PRECISE(-9,0) |
0 |
These examples illustrate the documented input pattern, not a claim about all historical spreadsheet engines. If the intended installation rejects a formula, collect its product/version and an actual test result before extending compatibility claims.
Advanced applications: the business rule matters
Reserving complete boxes
B12 = 37 requested units and C12 = 8 units per crate. Enter =CEILING.PRECISE(B12,C12) in an empty result cell. The independently expected output is 40. Three extra units of capacity are reserved. Dividing by 8 gives five full crates; record whether unused capacity is acceptable.
Quarter-dollar pricing steps
B13 = 17.12 and C13 = 0.25. The formula =CEILING.PRECISE(B13,C13) has an independently expected output of 17.25. This creates the next quarter-dollar price band. It is not a tax or legal-compliance calculation; pricing rules must be chosen separately.
Avoid rounding the wrong unit
If a worksheet holds individual items but a team wants full cartons, decide whether to round items to carton-sized increments or round carton counts to whole numbers. For example, rounding 37 items to a multiple of 8 produces a number of items; rounding 37/8 to a whole number produces a number of cartons. The two numeric outputs use different units. Label your result column accordingly.
Sign, zero and policy audit
A negative number is not automatically an error. An upper bound on a signed number line means -4 is above -4.1; it does not mean a greater magnitude. That matters for credits, deviations and signed measurements. Document the increment alongside each formula so another editor can reproduce the rule months later. Do not silently swap the names of similar functions based on familiarity with Excel, LibreOffice or Sheets; the ONLYOFFICE help page is the primary documented authority here.
How to troubleshoot CEILING.PRECISE
| Observation | Likely explanation | Practical verification |
|---|---|---|
| Negative value moves closer to zero | That is upward on the signed number line. | Plot −4.1, −4 and −6; −4 is the upper permitted multiple. |
| Expected an extra mode argument | This function documents only number and optional significance. | Use CEILING.MATH when the user policy needs a mode. |
| Significance of zero unexpectedly yields zero | This is explicit in the official CEILING.PRECISE reference. | Validate C cells before using zero as a sentinel for “no step”. |
| An English name or comma does not parse | Formula language or workbook/editor settings differ from this teaching notation. | Inspect File → Advanced Settings → Regional settings; check names and delimiters for this edition. |
| A pasted value is text | The value may include embedded units, an apostrophe, or an unexpected decimal format. | Put a plain number in a test cell and reference that cell; inspect the editor’s real error before naming it. |
| Rounding a tiny decimal gives odd displayed digits | Binary floating-point storage or formatting can affect presentation in a real engine. | Compare full numeric results, not only rounded display text, and verify boundary cases in the intended build. |
Error-code evidence boundary: The official CEILING.PRECISE article lists the signature and descriptive rules but does not give a complete table of #VALUE!, #NUM!, #DIV/0! or all zero/text/negative-step behaviour. This guide intentionally does not assign an unverified error message to those cases. If the help article explicitly defines a special numeric result (such as significance zero), that special case is documented above.
Which similar function should you choose?
Unlike CEILING.MATH, CEILING.PRECISE has no mode argument. CEILING.MATH can change negative rounding direction based on its third argument. Do not remove the third argument from an existing formula and expect the same result.
- CEILING — official function reference — separately documented function name; compare the full argument list before substituting.
- CEILING.MATH — official function reference — separately documented function name; compare the full argument list before substituting.
- FLOOR.PRECISE — official function reference — separately documented function name; compare the full argument list before substituting.
- ISO.CEILING — official function reference — separately documented function name; compare the full argument list before substituting.
Desktop, web, older versions and language settings
- Current documentation: The ONLYOFFICE CEILING.PRECISE function article establishes current unversioned Docs help coverage and the written syntax; it does not prove a particular hosted web deployment or installed Desktop release executes it.
- Docs / web release history: The separately maintained ONLYOFFICE Docs changelog lists Docs 10.0.0, released October 10, 2026. The reviewed release notice does not identify when this specific rounding function first became executable. A self-hosted instance may be on another version.
- Desktop release history: The ONLYOFFICE Desktop Editors changelog separately lists Desktop 9.4.0 dated May 19, 2026 and Desktop 9.3.0 dated February 25, 2026. The reviewed entries do not establish CEILING.PRECISE’s first supported Desktop version. No desktop binary was run.
- Regional settings and formula language: The Spreadsheet Editor Advanced Settings guide describes the selected formula language and regional display separators. English names with comma separators are the documented notation here; do not assume localizations of punctuation, arguments or function names without a targeted runtime check.
- Interchange with other programs: An XLSX file that contains a function of the same name or mathematical behaviour in Excel, Google Sheets or LibreOffice is not ONLYOFFICE execution evidence. Verify sign, zero significance, imported formula retention, precision and compatibility separately in the intended ONLYOFFICE Desktop and Docs versions.
- Historically documented vs currently executable: The current unversioned help page does not expose a first-support release matrix. Mark older/version-specific behaviour not verified rather than inventing a version cutoff.
Related learning pages
Official references and claim-level evidence
- CEILING.PRECISE: official purpose, syntax, argument order and documented special-case rules — checked 2026-10-13 UTC. Direct source for the first four sections, the documented default and the documented special-case cautions.
- Spreadsheet Editor: Insert functions — checked 2026-10-13 UTC. Direct source for the current catalogue entry and procedure for entering function arguments.
- Spreadsheet Editor: Advanced Settings — checked 2026-10-13 UTC. Direct source for localization and regional-number settings; not evidence that translated
CEILING.PRECISEformulas were tested. - ONLYOFFICE Docs changelog — checked 2026-10-13 UTC. Documents release-context dates, not the first availability of this function.
- ONLYOFFICE Desktop Editors changelog — checked 2026-10-13 UTC. Documents a separate Desktop version track, not successful execution of this formula.
Verification limitations: Numerical examples were independently calculated. Native ONLYOFFICE execution, localized formula entry, a complete error matrix and historical-version compatibility were not tested.