ERFC.PRECISE in ONLYOFFICE Spreadsheet Editor: Syntax, Examples and Troubleshooting
Evaluate the complementary error function from x to positive infinity in ONLYOFFICE with reproducible data, independently checked results, numerical limitations and official vendor references.
Verification status: Official documentation referenced; example outcomes independently reasoned or arithmetically checked where stated. Not executed in ONLYOFFICE Spreadsheet Editor. How formula examples are checked
Quick answer: =ERFC.PRECISE(x) evaluates the complementary error function from x to positive infinity. For x = 1, the mathematical expected result is about 0.15729920705. The complementary function describes the Gaussian-kernel integral from x to infinity. The syntax is verified in the official ONLYOFFICE function reference; the calculated values here are independently computed expectations, not results obtained by running ONLYOFFICE.
Purpose and what the function actually means
The underlying mathematical expression is
erfc(x) = (2/sqrt(pi)) * integral from x to infinity of exp(-t^2) dt = 1 - erf(x).
This expression matches the vendor’s x-to-infinity complementary integral. The parameter x is the lower integration limit. The documented signature accepts one argument.
Unlike ERFC(x) in the same official catalogue, this explicitly named ERFC.PRECISE(x) is a distinct documented function name. The official pages describe the same type of complementary integral, but do not give enough performance or release data to promise greater accuracy in any particular installed version. Official ERF reference; official ERFC reference; documented counterpart.
Exact syntax, argument order, types and defaults
=ERFC.PRECISE(x)
| Position | Official argument name | Required? | Documented role | Optional/default? |
|---|---|---|---|---|
| 1 | x |
Yes | Real numeric input specifying the lower limit named by the vendor; passed as a literal number, numeric cell or numeric formula. | No optional arguments or default documented. |
x is dimensionless in the underlying mathematical definition. Ordinary numeric literals and references are supported by the official function entry guide; the vendor’s short ERFC.PRECISE reference does not provide a comprehensive text-to-number coercion table, infinity handling, maximum accepted numeric magnitude or exact error mapping. Those edge cases require native testing. In English-language vendor examples, use an initial = and commas when composing functions with more than one argument. This function itself takes only one argument.
Create the exact example worksheet
- Open a blank spreadsheet in ONLYOFFICE Spreadsheet Editor. Record whether you use Desktop Editors or a web/server-hosted Docs editor and note the actual build/version before reporting results. These guides have not executed either edition.
- Put
Casein A1,x (numeric)in B1,ERFC.PRECISE formulain C1 andExpected result (mathematical)in D1. Type the x values in the table below into B2:B19 as genuine numeric cells (do not paste the quote characters around values or include unit labels). - Enter
=ERFC.PRECISE(B2)into C2 and fill it down to C19. Cell references adjust row by row. Put the expected numbers from column D in D2:D19 as static numeric reference values; they are not native outputs. - In E1 enter
Absolute difference; in E2 enter=ABS(C2-D2)and fill through E19. In F1 enterPass tolerance; in F2 enter=E2<0.0000001and fill down. The F-column is a suggested native test protocol; do not assume the values have been observed to pass. For tiny expected tails, use an application-appropriate relative tolerance rather than a wide absolute cutoff. - Use the Formula tab’s Show Formulas when auditing the formula text, and its Calculation control or F9 to recalculate; the vendor instructions document those actions.
| Row | B: numeric x | D: expected ERFC.PRECISE(x) |
|---|---|---|
| 2 | -8 | 2 |
| 3 | -4 | 1.99999998458 |
| 4 | -3 | 1.9999779095 |
| 5 | -2 | 1.99532226502 |
| 6 | -1.5 | 1.96610514648 |
| 7 | -1 | 1.84270079295 |
| 8 | -0.5 | 1.52049987781 |
| 9 | -0.25 | 1.27632639017 |
| 10 | 0 | 1 |
| 11 | 0.25 | 0.723673609832 |
| 12 | 0.5 | 0.479500122187 |
| 13 | 1 | 0.15729920705 |
| 14 | 1.5 | 0.0338948535247 |
| 15 | 2 | 0.00467773498105 |
| 16 | 3 | 2.20904969986e-05 |
| 17 | 4 | 1.54172579003e-08 |
| 18 | 8 | 1.1224297173e-29 |
| 19 | 10 | 2.08848758376e-45 |
Expected values were computed from the mathematical definitions with SciPy and independently cross-checked against 65-digit mpmath; values are rounded for display. No ONLYOFFICE application was executed to produce the table. For the x=8 and x=10 rows, displayed zeros or ones can be misleading when the expected tail is extremely small.
Three quick working formulas
=ERFC.PRECISE(0)
=ERFC.PRECISE(0.5)
=ERFC.PRECISE(-1)
The mathematical expected outputs are 1, about 0.479500122187, and about 1.842700792950 respectively. These formulas are directly usable as proposed examples in a compatible English-function installation; their exact displayed precision and error handling have not been native-tested.
Advanced use: independent checks and a useful application
Complement identity: for all real x, erfc(x)+erf(x)=1. Put B2=0.5, compare =ERFC.PRECISE(B2)+ERF.PRECISE(B2) with 1 using a tolerance. The two pieces are expected to be 0.479500122187 and 0.520499877813; the numerical identity is a mathematical cross-check, not an observation in the editor.
Reflection check: erfc(-x)=2-erfc(x). Put 1 in H2 and -1 in H3. =ERFC.PRECISE(H3) is expected to be about 1.84270079295. A value above 1 is legitimate: this is not a conventional 0–1 probability without the 0.5 scaling in the normal-tail formula.
Normal upper-tail probability: enter a standard-normal z-score in H2, then put =0.5*ERFC.PRECISE(H2/SQRT(2)) in I2. For H2=1, independent mathematics gives about 0.158655253931; for H2=2, about 0.0227501319482. Use the actual spreadsheet results only after native testing.
Related verification formula: =0.5*ERFC.PRECISE(H2/SQRT(2)). This single-value expression combines the documented function with arithmetic and SQRT; do not confuse its mathematical expected result with a vendor screenshot or a guaranteed implementation across versions.
Numerical stability, errors and troubleshooting
For large positive x, 1-ERF.PRECISE(x) can lose significant digits due to subtracting nearly equal values. Mathematically erfc(8)≈1.1224297173E-29 and erfc(10)≈2.0884875838E-45. Whether ONLYOFFICE resolves these tiny tails accurately remains untested, so do not claim numerical precision merely from the function name.
| Symptom, question or limit | What to check | Evidence status |
|---|---|---|
| Wrong function name or function not shown | Search the exact punctuated name ERFC.PRECISE in Formula → Function. A similarly named unqualified function is not necessarily an alias. |
Vendor catalog documents this exact name; first-supported version unknown. |
| Too many inputs | The official signature has exactly one required argument. | Documented. |
| Argument stored as text | Enter 0.5 as numeric input, not '0.5', "0.5" or "0.5 units". Confirm cell type and region. |
Specific coercions and precise error code not documented; native verification required. |
| Output above 1 or below 0 | Negative real inputs legitimately give values between 1 and 2. A negative complementary-error result is outside the mathematical range and calls for checking the formula and input. | Mathematical range, not a measured native precision guarantee. |
| Huge/small x shows an apparently rounded result | Check underlying precision and compare to high-precision mathematical expectations. | Vendor does not publish a precision tolerance for this function. |
| Different commas or localized function spelling | Check Formula Language and Region in advanced settings; record installation and workbook settings. | Vendor settings document these controls, not a guaranteed locale translation for every language. |
| Stale value after changing inputs | Use Formula → Calculation to recalculate. Check formula dependencies and cell references. | Vendor guide documents recalculation. |
An error such as #VALUE!, #NUM! or #NAME? |
Inspect actual argument type, syntax and version. | These are possible diagnostics, not claimed native error outcomes for this function. |
Limits: The function help page does not explicitly establish coercion of logicals or date serials, extreme-value overflow/underflow thresholds, significant digits, treatment of infinities, or round-trip precision. Do not assume compatibility with Excel or another spreadsheet establishes ONLYOFFICE’s runtime behavior.
Desktop, web, versions and locale compatibility
The currently accessible English ONLYOFFICE Docs Spreadsheet Editor catalog lists ERFC.PRECISE under Engineering, and the specific function page gives its signature. The Insert Function instructions explain manual formulas, function search, and F9 recalculation. Advanced Settings provides language/region controls. These URLs were reviewed on 2026-10-13 UTC.
Not established by this research: first-supported Docs release, first-supported Desktop Editors release, older versions, mobile editions, format-import/export behavior, localized names, exact separator substitution, native outputs or error codes. Separate vendor Docs release history and Desktop Editors history exist, but their mere existence does not prove support in each release. Web Docs and locally installed Desktop Editors must be tested independently. No browser, Desktop installation, native worksheet, screenshots or benchmark timings were used for this guide.
Related references and next functions
The precise family consists of ERF.PRECISE and ERFC.PRECISE. Compare ERF, which documents an optional upper integration bound, and ERFC, which is a complementary single-input function. Related mathematical tools include square roots and Gaussian cumulative probability transformations. The links lead to checked vendor documentation, not speculative live URLs on Spreadsheet-Tutorials.
Evidence ledger and validation disclosure — 2026-10-13 UTC
| Claim | Official or independent source | Check |
|---|---|---|
| ERFC.PRECISE exists, classification, signature and argument role | ONLYOFFICE ERFC.PRECISE | Official page checked 2026-10-13 UTC; no version number specified. |
| The distinction from ERF, ERFC and the other precise function | ERF, ERFC, counterpart | Official signatures checked 2026-10-13 UTC; numeric equivalence not claimed. |
| How to type, search and recalculate functions | ONLYOFFICE Insert Functions | Official guide checked 2026-10-13 UTC. |
| Language and region controls | ONLYOFFICE Advanced Settings | Official guide checked 2026-10-13 UTC. |
| Numeric example values, symmetry and distribution calculations | Independent SciPy special plus 65-digit mpmath |
Mathematical verification only; 18 worksheet input checks per function; native execution 0. |
| Historical edition/version support | Docs changelog and Desktop changelog | Release information is distinct; first-supported version unknown. |