SQRT Function in ONLYOFFICE Spreadsheet Editor: Syntax and Examples

Math and Trigonometry Beginner ONLYOFFICE Spreadsheet Editor

Calculate nonnegative square roots and check negative-input errors before measuring distances.

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

SQRT function in ONLYOFFICE Spreadsheet Editor

Quick answer

Use =SQRT(number) to find the nonnegative square root of a nonnegative number. =SQRT(144) has an expected result of 12. A negative argument is documented by ONLYOFFICE to return #NUM!.

What it does and why it matters

Calculate nonnegative square roots and check negative-input errors before measuring distances. The examples are designed for a spreadsheet you can create yourself, so no sample download or proprietary data is needed. Only the function’s explicitly documented behaviour is attributed to ONLYOFFICE; sample outputs are described as expected, not observations.

Official syntax and argument definitions

=SQRT(number)
Argument Required? Vendor-described input Description Default
number Yes Numeric value or numeric cell reference Value whose nonnegative square root is requested None

This is the full one-argument syntax from ONLYOFFICE’s SQRT reference. The same reference explicitly states that a negative number returns #NUM!. The term square root here refers to the nonnegative real root, not complex-number handling.

Applicability, release context, and formula settings

Documentation scope: The signature and core purpose above are documented by the unversioned English ONLYOFFICE Docs Spreadsheet Editor function reference, checked 11 October 2026 (UTC). That confirms help-site documentation, not a universal guarantee that the function behaves identically in every installed release, browser integration, mobile app, or Desktop Editors build. The referenced Docs release history and distinct Desktop Editors release history were checked; neither establishes a first-supported version for this function. First-supported Docs/Desktop/mobile versions: UNKNOWN; target-version native compatibility: NOT TESTED.

In English examples, formulas begin with =, function arguments are enclosed in parentheses, and multi-argument functions use a comma (see ONLYOFFICE’s formula-entry instructions). Under File → Advanced Settings, formula language and region can be changed; the official regional settings instructions discuss locale and decimal/thousands separators. Do not blindly substitute semicolons or localized function names: confirm the target editor’s language, regional settings and argument separator. All sample decimals below use a dot and English function names.

How to try the examples

  1. Create a new blank worksheet. Enter the input table below into the specified cell addresses; enter numeric values as numbers rather than quoted strings.
  2. Enter each formula in its listed output cell, beginning with =. Choose Formula → Function to use the arguments wizard if necessary.
  3. Compare with the values marked independently calculated expected results, not observed ONLYOFFICE outputs. Set the output cells to General or Number format as appropriate.
  4. Keep original input values unchanged so the formulas can be independently checked, and log discrepancies against the installed software version and locale before relying on the result.

Example worksheet: enter the inputs

Cell Enter Intended meaning
A1 Area or squared value Text header
A2 144 Perfect square
A3 2 Irrational square root
A4 0 Zero
A5 25 Second perfect square
A6 -9 Invalid negative input
A7 0.25 Fractional perfect square

Worked examples with expected results

Output cell Formula Independently calculated expected result Basis
B2 =SQRT(A2) 12 12×12=144.
B3 =SQRT(A3) ≈1.41421356237 Positive root of 2; rounded here for display.
B4 =SQRT(A4) 0 0×0=0.
B5 =SQRT(A5) 5 5×5=25.
B6 =SQRT(A6) #NUM! Negative input: official ONLYOFFICE error.
B7 =SQRT(A7) 0.5 0.5×0.5=0.25.

Enter =SQRT(A2) in B2 and copy to B7. The ≈ sign in the table indicates display rounding by this article, not a claim about ONLYOFFICE’s default number of visible digits. The error row is taken from vendor documentation, not from a native execution.

Advanced application

Calculate a straight-line distance from two coordinate pairs

In empty cells, put the following numeric coordinates:

F2 G2 H2 I2 Meaning
0 0 3 4 Start (0,0) and end (3,4)

Then enter:

=SQRT(POWER(H2-F2,2)+POWER(I2-G2,2))

The expected result is 5: horizontal displacement 3, vertical displacement 4, squared sum 9+16=25, and SQRT(25)=5. POWER is also independently documented by ONLYOFFICE. This calculation assumes both axes use the same length unit and a flat Euclidean plane; it is not geographic distance on Earth’s surface.

For a cleaner display when checking root 2, =ROUND(SQRT(A3),4) has expected result 1.4142. This adds the documented ROUND function; using a shorter display format without rounding does not necessarily change the stored numeric value.

Data-quality gate: =IF(A6<0,"Check input",SQRT(A6)) is designed to return Check input when A6 is -9. Check the input rather than applying ABS automatically: SQRT(ABS(-9))=3 answers a different problem and can disguise a corrupt measurement.

Errors, limitations and troubleshooting

Condition Status Guidance
number<0 ONLYOFFICE documents #NUM!. Fix invalid real-domain input or explicitly change the model if a magnitude is wanted.
number=0 Expected root 0. Check original cell is numeric 0, not visually blank.
Perfect positive square Exact small-integer result expected. Use 12×12=144 as a manual check.
Non-perfect square Irrational result requires approximation. Round only as needed and state required precision.
Numeric-looking text or blank ONLYOFFICE reference does not specify every coercion detail. Test on installed build or validate input.
Values close to zero Negative values caused by numeric noise may error. Determine a scientifically appropriate tolerance rather than silently forcing zero.
Confusing SQRT(number) and POWER(number,2) One takes a root; the other squares. Check if the intended transformation reduces or increases magnitude.

Troubleshooting: check that the input cell contains a positive number, not a currency string; verify the formula starts with =, and inspect the actual cell precision. If you get a different error from the one documented for a negative number, record the editor edition/version, the exact formula and input type.

Excel and LibreOffice comparison

Excel’s SQRT documentation uses SQRT(number) and explicitly documents #NUM! for negative input, consistent with the ONLYOFFICE SQRT reference. LibreOffice Calc documents corresponding mathematical functions. No documented difference is established here for nonnegative numeric inputs, but this does not certify identical rounding or coercion across builds. The English argument-separator convention is irrelevant to one-argument SQRT but matters for combining ROUND, POWER or IF in multi-argument formulas.

Official reference and verification

Verification status: Official documentation checked; example outcomes were independently reasoned or arithmetically checked where applicable. Not executed in ONLYOFFICE Spreadsheet Editor.

  • No genuine ONLYOFFICE Spreadsheet Editor screenshots are included; this guide does not use mock application images.