Contact

MINVERSE Function in ONLYOFFICE Spreadsheet Editor: Inverse Matrix Array Formula

Mathematical Advanced ONLYOFFICE Spreadsheet Editor

Step-by-step MINVERSE matrix inverses, array selection, numeric expectations, source-verified errors and practical equation solving.

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

MINVERSE calculates an inverse matrix for an input numeric matrix. ONLYOFFICE identifies it as an array formula: entering into a single cell can show the first element, whereas selecting a target matrix and pressing Ctrl+Shift+Enter is the documented route to reveal the full array. See ONLYOFFICE’s MINVERSE reference.

Exact syntax, argument order and defaults

=MINVERSE(array)
Position Argument Type and meaning Default / optional status
1 array Required numeric, square matrix cell array / range No omitted argument / default.

No argument is optional, and there is no implied default. Source matrix entries should be numeric, including zero where intended; leaving a cell blank is not equivalent to zero in vendor-documented error handling. Preserve the order of arguments when combining matrix functions.

Vendor-confirmed: the source documents #N/A for blanks or nonnumeric cells in the argument and #VALUE! when rows and columns do not match. It does not explicitly prescribe the exact error code for a square but singular matrix, so do not claim a particular native result for =MINVERSE(A11:B12). Mathematically that input has no inverse because its determinant equals 0.

Reproducible common matrix dataset

Start with a blank worksheet. Type each entry as a numeric cell (not as quoted text), then place results only in the indicated unused output cells. The sample is deliberately small enough for manual checking.

Range Matrix or vector, row by row Purpose
A2:B3 row 2: 2, 1; row 3: 3, 2 Invertible 2×2 matrix A (determinant 1).
D2:E3 row 2: 1, 4; row 3: 2, 5 Second 2×2 matrix B (determinant −3).
A6:C8 row 6: 1, 2, 3; row 7: 0, 1, 4; row 8: 5, 6, 0 Invertible 3×3 matrix C (determinant 1).
A11:B12 row 11: 1, 2; row 12: 2, 4 Singular 2×2 matrix S (determinant 0).
A14:B15 row 14: 2, 0; row 15: 0, 3 Diagonal 2×2 matrix D (determinant 6).
J2:J3 5 in J2, 8 in J3 Right-hand-side vector b.

Select a blank output area before entering each formula. Never overwrite these input ranges with array-formula results. Use one clean worksheet per guide, or reset your worksheet to this exact baseline before moving between scenarios.

How to enter a matrix result correctly

For multi-cell results, first highlight an appropriately sized blank output rectangle; then enter the formula in the formula bar and use Ctrl+Shift+Enter as explained in the ONLYOFFICE array-formula instructions. The editor adds array braces in the formula bar automatically. If you only press Enter, the vendor’s array guide warns that some functions return the first value rather than filling the requested result range. Always select the exact output shape and compare all cells, not just the upper-left cell. The array guide also says you cannot change only part of an entered array: select the entire array to delete or re-enter it.

Expected results, independently checked (not native execution)

Output placement Formula to enter Expected numerical result Rationale
G2:H3 =MINVERSE(A2:B3) [[2, −1], [−3, 2]] 2×2 inverse; A × A⁻¹ = I.
G6:I8 =MINVERSE(A6:C8) [[-24, 18, 5], [20, −15, −4], [−5, 4, 1]] 3×3 exact integer inverse; computed symbolically.
G14:H15 =MINVERSE(A14:B15) [[0.5, 0], [0, 1/3]] Diagonal entries are reciprocals; 1/3 may display rounded.
G19 =MINVERSE(A2) 0.5 1×1 inverse is reciprocal of 2; verify single-cell array entry in editor.
G20:H21 =MINVERSE(MINVERSE(A2:B3)) [[2, 1], [3, 2]] Inverse of inverse restores A; nested array evaluation requires native check.
G23:H24 =MMULT(A2:B3,MINVERSE(A2:B3)) [[1, 0], [0, 1]] Optional advanced identity check; array nesting needs native verification.

Each displayed matrix is written as rows inside [[...],[...]]. For example [[2,-1],[-3,2]] means output row one 2, -1 and output row two -3, 2; it is not a formula literal to paste into the spreadsheet. Fill the indicated output rectangle using the actual formula, not by typing the expected array. These predictions were calculated with exact rational SymPy mathematics and do not represent measurements from ONLYOFFICE.

Singular-matrix boundary: =MINVERSE(A11:B12) is a deliberately negative test case. Since A11:B12 has determinant zero, an inverse does not exist mathematically. The official MINVERSE page does not identify its exact native error response for this input. Keep this as a documented test plan, not an expected spreadsheet error string.

Advanced application and reasoning

A linear system A×x=b can be solved algebraically as x=A⁻¹b. With A in A2:B3 and b in J2:J3, the mathematically expected solution is x₁=2, x₂=1, because 2·2+1·1=5 and 3·2+2·1=8. After separately verifying =MINVERSE(A2:B3), try the array formula =MMULT(MINVERSE(A2:B3),J2:J3) in a two-row output range as an advanced editor check. This nested-array formula and output entry mode have not been run natively. The inverse method is less numerically robust than specialized linear-system solvers for ill-conditioned or large matrices; keep inputs well scaled and verify residuals (A×x−b).

Troubleshooting: symptoms versus documented behaviour

Symptom Likely cause Specific action / evidence boundary
#N/A Blank or nonnumeric matrix entry Explicitly documented; inspect every input cell.
#VALUE! Non-square matrix Explicitly documented; use an n×n range.
Singular matrix Determinant mathematically zero, so inverse undefined Do not invent the exact ONLYOFFICE error text; first test with MDETERM, then run editor if needed.
Only upper-left element appears Formula entered without full array-output selection Follow the vendor Ctrl+Shift+Enter array instructions.
Rounded fractional entries Number format / floating-point display Expand shown decimal places; distinguish display from stored precision.

Verification and compatibility

This guide is based on the current, unversioned English ONLYOFFICE help pages on 2026-10-13 (UTC) and independent numerical reasoning. The sample values below are expected values, not results observed in a running ONLYOFFICE Spreadsheet Editor. No screenshot, workbook execution, web edition test, Desktop edition test, or historic version support test was performed. Use the official function catalogue.

Edition and compatibility: ONLYOFFICE’s documentation describes the current Docs Spreadsheet Editor; its Desktop changelog and Docs changelog are distinct records. None of the cited function pages establishes a first-supported Desktop or web version for this function; do not infer universal historical compatibility or claim that an XLSX exported to another spreadsheet program evaluates identically. Where a function returns an array, the current ONLYOFFICE array-entry guide explicitly describes selecting the complete output range, entering the formula and pressing Ctrl+Shift+Enter. Do not manually type the surrounding { }. In some editions, dynamic-array behaviour may differ and must be tested.

Formula language and separators: The examples use English names, A1-style references, a decimal point, and commas between arguments. The official function-entry guide shows these conventions. The Advanced Settings guide documents configurable formula language, region and numeric separators; it does not provide a verified translation or formula argument separator for every locale. Change regional settings as appropriate and verify the resulting formula entry in the target edition rather than blindly substituting commas with semicolons.

Official evidence checked on 2026-10-13 (UTC)

Specific claim ONLYOFFICE official reference Validation status
Purpose, exact function syntax and required arguments MINVERSE reference Documentation checked; no app run
Input errors, argument shape/domain and array declaration, where given MINVERSE reference Only vendor-stated cases are called native errors
Select output range and use Ctrl+Shift+Enter for multi-cell array output Inserting array formulas Documentation checked
Enter names, arguments and ranges as spreadsheet formulas Inserting functions Documentation checked
Locale and formula-language settings Advanced settings Documentation checked; exact translations not inferred
Desktop vs Docs/web historical support Desktop changelog and Docs changelog A first-supported release is not established by these checks
All numeric examples Independent exact-rational mathematical calculation Expected, not native ONLYOFFICE output