ACOT Function in ONLYOFFICE Spreadsheet Editor: Syntax, Examples and Compatibility
Calculate an inverse cotangent angle with ACOT in ONLYOFFICE Spreadsheet Editor. Follow reproducible radian and degree examples, quadrant rules and troubleshooting.
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: Find the principal inverse cotangent angle of a numeric cotangent ratio, returned in radians. This guide provides copyable formulas, a small reproducible worksheet, advanced worked uses, restrictions, and vendor-source evidence.
Availability, environment, and scope
The named function and the syntax below are in the current, unversioned English ONLYOFFICE Docs Spreadsheet Editor documentation reviewed on 13 October 2026 (UTC). This is documentary support for the current reference, not a successful execution test in ONLYOFFICE Docs/web or Desktop Editors, and it is not a claim of support in all earlier versions, hosting editions, mobile apps, or imported Excel workbooks. The Docs changelog lists version 10.0.0 dated 10 October 2026; that changelog does not identify these particular functions as newly introduced in 10.0. Desktop release history is maintained separately, and no first-supported Desktop/web version has been established for this function.
Verification labels used in this guide: vendor documented = stated in a linked ONLYOFFICE source; independently calculated expectation = calculated outside ONLYOFFICE using mathematics/Python; native result = none obtained. Illustrations/screenshots were not fabricated or substituted for actual tests.
Exact formula syntax
=ACOT(number)
number(required, numeric): Required numeric cotangent value. There is no second argument and no default. The vendor does not specify a finite numeric bound for this parameter in its ACOT reference.- Argument order: one positional numeric argument only. Optional arguments/defaults: none.
- Return type: numeric real value for an in-domain mathematical input; the exact cell display can vary with number format.
- Mathematical domain: All finite real numeric inputs are mathematically permitted, including zero and negative values. Native coercion of blanks/text and extraordinary magnitudes was not tested.
- Principal range / behaviour: The vendor describes a principal angle from 0 to π radians. Mathematically, finite real inputs produce angles strictly between those endpoints; both endpoints are approached but not attained.
- Units: The result is in radians. Wrap the result in
DEGREES(...)for a display in degrees. Unlike inverse hyperbolic functions, the output represents a circular angle.
Mathematical interpretation: For real x, principal arccot(x) = π/2 − arctan(x). This equivalent mathematical expression is used only for independent result checking; it is not evidence of vendor implementation.
Reproducible worksheet: enter inputs and compare outputs
- Create an empty spreadsheet in the ONLYOFFICE Spreadsheet Editor, using its English formula language for the formulas shown.
- Enter the numbers exactly as shown in the Input in A column below, beginning in A2 and going down one row per example; do not include the units, symbols, or quotation marks as part of the values.
- In B2, enter
=ACOT(A2), press Enter, and fill the formula down the column. Numeric cells can be formatted to show ten decimal places. - Compare your result to the independently calculated expectation, allowing for display rounding and floating-point arithmetic. This guide does not claim that steps 1–3 were executed in either ONLYOFFICE product.
| Cell | Input in A | Formula in B | Expected result (approx.) |
|---|---|---|---|
| A2 → B2 | -10 |
=ACOT(A2) |
3.0419240011 |
| A3 → B3 | -2 |
=ACOT(A3) |
2.6779450446 |
| A4 → B4 | -1 |
=ACOT(A4) |
2.3561944902 |
| A5 → B5 | -0.5 |
=ACOT(A5) |
2.0344439358 |
| A6 → B6 | 0 |
=ACOT(A6) |
1.5707963268 |
| A7 → B7 | 0.5 |
=ACOT(A7) |
1.1071487178 |
| A8 → B8 | 1 |
=ACOT(A8) |
0.7853981634 |
| A9 → B9 | 2 |
=ACOT(A9) |
0.4636476090 |
| A10 → B10 | 10 |
=ACOT(A10) |
0.0996686525 |
Interpreting the table: values are independent mathematical expectations rounded for readability, not screenshots or verified calculations performed in ONLYOFFICE. Values at very small magnitude may display in scientific notation when the worksheet format changes.
Step-by-step advanced examples: ACOT in practical work
1. Acute-angle triangle: adjacent run 3, opposite rise 4
Set up: Enter D2 = 3 and E2 = 4, then enter =DEGREES(ACOT(D2/E2)) in F2.
Expected output: 53.1301023542° (independently calculated, not native-tested).
Why it works: For positive sides, the cotangent ratio is adjacent/opposite. The inverse returns the acute interior angle. For a signed or full-circle bearing, this principal-value function alone cannot determine every quadrant.
2. Negative cotangent and the principal quadrant
Set up: Enter D3 = -1; in F3 enter =DEGREES(ACOT(D3)).
Expected output: 135° (independently calculated, not native-tested).
Why it works: A negative cotangent ratio is mapped to the second quadrant by the 0–π principal-value convention, not to −45°.
3. Safe ratio formula for changing row data
Set up: Set D4 = 3, E4 = 4, and enter =IF(E4=0,"Cannot divide by zero",DEGREES(ACOT(D4/E4))) in F4.
Expected output: 53.1301023542° (independently calculated, not native-tested).
Why it works: The IF guard addresses division by zero before forming adjacent/opposite. Verify the exact display locale of quotation marks and formula separators in your editor.
4. Check a reverse calculation
Set up: Enter =COT(ACOT(2)) in F5.
Expected output: 2 (within floating-point precision) (independently calculated, not native-tested).
Why it works: Composing COT with ACOT recovers the cotangent input for ordinary finite values. This is a mathematical expected output, not a native cross-function test.
5. Convert and round for a report
Set up: Enter =ROUND(DEGREES(ACOT(0.5)),2) in F6.
Expected output: 63.43 (independently calculated, not native-tested).
Why it works: ROUND returns a numerically rounded result for reporting; formatting alone would change only its appearance. The ACOT mathematical definition is unchanged.
Errors, edge cases, and troubleshooting
| Symptom or situation | Likely mathematical/documentation reason | Suggested check |
|---|---|---|
| Result seems wrong by a factor of 57.3 | ACOT returns radians, not degrees. | Use DEGREES(ACOT(number)), and label your output units. |
| Negative input returns a positive angle | The principal branch is 0 to π. | For −1, expect 3π/4 (135°), not −π/4. |
| A formula gives an unexpected quadrant | ACOT maps a ratio to a principal angle; it cannot know all signs/positions of your original geometry. | Do not infer a full 0–360° compass bearing from a ratio alone; use verified coordinate-aware methods. |
| Input is text or missing | The official reference specifies a numeric argument. | Use a numeric cell. Exact coercion and resulting error strings require native checks. |
| Angles near 0° or 180° | Extremely large positive or negative ratios approach the limiting angles. | Do not mistake rounded displays for exact endpoints; use more display decimals where needed. |
Error-code caution: ONLYOFFICE documentation for this function does not establish exact error strings for every invalid input, coercion, overflow, or version. Thus this guide does not assert #NUM!, #DIV/0!, or other codes as observed in ONLYOFFICE. Record actual native outputs and version/edition before relying on undocumented error behavior.
Formula language, separators, and compatibility
The examples use English function names, decimal points and (where needed) comma-separated arguments. The official Insert Function guide explains that manual formulas begin with = and that arguments are separated by commas in its English instructions. The Advanced Settings page documents configurable formula language and regional decimal/thousands separators. Neither source establishes how this exact function was spelled or evaluated for every locale. Do not rewrite formulas using a different locale based only on habits from another spreadsheet program.
The vendor distinguishes the web/Docs editor from Desktop Editors and maintains separate release changelogs. The current function page does not state a first-supported version or guarantee parity across historical installations. Version-sensitive behaviour, real error results, large-value precision, workbook imports, mobile editions, and localized syntax therefore require native verification. A release-note mention of a related Spreadsheet Editor improvement must not be mistaken for a function introduction.
Related official documentation (links checked 13 October 2026 UTC)
- COT function — vendor function reference.
- DEGREES function — vendor function reference.
- IF function — vendor function reference.
- ROUND function — vendor function reference.
- Insert functions in ONLYOFFICE Spreadsheet Editor — function-selection, autocomplete and entry workflow.
- Spreadsheet Editor advanced settings — formula language, regions, and separators.
Frequently asked questions
Is ACOT the same as ATAN?
No. ACOT has a different principal branch. In particular ACOT(−1) is 135°, whereas the ordinary arctangent principal value of −1 is −45°.
Can ACOT accept zero?
Yes mathematically: inverse cotangent of zero is π/2 radians, or 90°. This is supported by the documented principal inverse-cotangent definition.
Does ACOT return degrees?
No. Its official reference specifies radians. Convert with the separately documented DEGREES function.
Official reference and validation ledger
| Claim | Source checked | Verification status |
|---|---|---|
Function purpose and =ACOT(number) syntax |
ONLYOFFICE ACOT reference (checked 2026-10-13) | Vendor documented |
| Input domain, units and vendor-specific argument restrictions | ONLYOFFICE ACOT reference (checked 2026-10-13); independent mathematics for implied singularities | Vendor text plus clearly identified mathematics |
| Related function names and links | COT, DEGREES, IF, ROUND (checked 2026-10-13) | Vendor pages retrieved |
| Formula insertion and separator instructions | ONLYOFFICE Insert Functions (checked 2026-10-13) | Vendor documented in English context |
| Regional formula language | ONLYOFFICE Advanced Settings (checked 2026-10-13) | Vendor documented |
| Current Docs release chronology, not first support | Docs changelog (checked 2026-10-13); Desktop changelog (checked 2026-10-13) | Release chronology checked; function introduction not verified |
| All numerical results in worked examples | Independent mathematical identities and high-precision calculation | Not native ONLYOFFICE execution |
Verification limitations: Native Docs/web and Desktop execution, localized parsing, extreme-value precision, historical editions and runtime error behavior were not tested.