MINA Function (OpenOffice Calc)
Find a mixed-data minimum with OpenOffice MINA, with tested text-as-zero, logical and empty-cell rules plus safer treatment of missing measurements.
Verification status: Eight reference formulas and 8 diagnostic cases were recalculated in Apache OpenOffice 4.1.16 on Linux x86-64, Build 9816, using generated native ODF and GUI hard recalculation. Saved formula identities and typed results were checked; the load warning is described below. How formula examples are checked
Quick answer: =MINA(1;1;1) returned 1 in the tested Apache OpenOffice 4.1.16 build.
Availability and version history
- Introduced: First release not established; documented by OpenOffice.org 3.3.
- Supported in: Apache OpenOffice 4.1.16; this identifies a verified release, not a final supported version.
- Scope: Desktop Calc, English function names and semicolon-separated formulas.
- Checked: October 14, 2026. Eight reference formulas and the listed diagnostics were recalculated from generated native ODF in 4.1.16 on Linux x86-64, Build 9816. Source and independent reference calculations were also checked.
What MINA returns
MINA returns the smallest included value after its A-function coercions. Text introduces a zero candidate and logical cells introduce 1 or 0. This can make a mixed-data minimum differ substantially from the smallest numeric measurement. Release entry.
Syntax and arguments
=MINA(Value1 [; Value2; ...])
Supply numeric values, logical values, text, cell references or ranges. TRUE contributes 1 and FALSE contributes 0. Text contributes 0, including the directly supplied numeric-looking string “7”; it is not converted to seven. A genuinely empty referenced cell is ignored. A cell holding text and a cell with no content are therefore different inputs.
Worksheet data
Enter these values at the exact addresses before using the range examples. F7 and F8 must be text; enter an apostrophe before 7 to force F8 to text. Enter TRUE() and FALSE() as logical formulas or use logical cell values. Leave the specified cells genuinely empty.
| Row | F | G | H | J |
|---|---|---|---|---|
| 2 | 1 | 2 | TRUE | −2 |
| 3 | 3 | 4 | FALSE | 0 |
| 4 | 5 | 6 | TRUE | 2 |
| 5 | TRUE | empty | empty | unused |
| 6 | FALSE | unused | unused | unused |
| 7 | text: text | unused | unused | unused |
| 8 | text: 7 | unused | unused | unused |
F2:F8 therefore contributes the seven numbers 1, 3, 5, 1, 0, 0, 0. G2:G5 contributes only 2, 4, 6; its final blank is not an extra observation.
Reproducible examples
The native column records the saved 4.1.16 results. The independent values use high-precision mathematics; displayed decimals are rounded to twelve places. The data setup above is required for range formulas.
| Formula | Native 4.1.16 result | Independent reference |
|---|---|---|
=MINA(1;2;3) |
1 |
1 |
=MINA(2;4;6) |
2 |
2 |
=MINA(-2;0;2) |
-2 |
-2 |
=MINA(1;1;1) |
1 |
1 |
=MINA(F2:F8) |
0 |
0 |
=MINA(G2:G5) |
2 |
2 |
=MINA(H2:H5) |
0 |
0 |
=MINA(J2:J4) |
-2 |
-2 |
Practical worksheet
Suppose F2:F8 is an imported status-and-measurement column. =MINA(F2:F8) returns 0, not 1: the two text cells and FALSE introduce zeros. Use this only if that coding is part of your model. For a minimum measured temperature, a missing or invalid reading should generally be investigated rather than silently represented by an A-function zero.
If a worksheet intentionally encodes pass/fail as TRUE/FALSE, =MINA(H2:H4) is 0 because at least one flag is FALSE. An all-TRUE nonempty list would give 1. Keep the data logical; the text word TRUE is text and would instead contribute zero.
Advanced interpretation and checks
MINA over a union of nonempty valid groups equals the smaller of their separate minima, provided the same coercion rules are used. A useful diagnostic is to compare the mixed-column result with the minimum of a cleaned numeric-only helper column. A difference often signals that text or a logical value participated.
Zero is not evidence of a measured zero. The tested =MINA(H5) also returns zero when H5 is completely empty: the source uses zero when no candidate was found. For an all-empty range, distinguish absence before using the result in a threshold rule. Conversely, zero text does not necessarily determine the minimum when a real negative value is present; a list containing −2 and text still has minimum −2.
Boundaries and troubleshooting
A missing argument list produces Err:511, while a supplied blank reference produces zero. Direct “7” is zero here, so =MINA("7";2) is 0. The accepted numeric-looking string behavior should not be generalized to other products or to ordinary MIN. The listed cases establish bounded coercion behavior, not every error-cell or array variant.
These additional formulas were recalculated from the same generated ODF input. H5 is a deliberately empty cell where referenced. Error displays are retained as errors, even when an ODS numeric attribute stores zero.
| Formula | Observed result or error |
|---|---|
=MINA(1) |
1 |
=MINA(H5) |
0 |
=MINA(F7) |
0 |
=MINA("7";2) |
0 |
=MINA("text";2) |
0 |
=MINA(TRUE();FALSE()) |
0 |
=MINA(G2:G5) |
2 |
=MINA() |
Err:511 |
Related functions
Official evidence and checking scope
The generated ODF input produced the informational load warning “Not all attributes could be read.” After it was acknowledged, the sheet was hard-recalculated and saved separately. Every formula identity, typed input, input label and tested result was reconciled. True empty cells were distinguished from text and logical values. This does not certify every style attribute. The separately prepared XLSX input was not executed. A deliberately stale SUM cache changed from 999999 to 3, and an uncached SUM returned 7 after hard recalculation. Native evidence covers the eight reference formulas and listed diagnostics only. Other explanatory compositions are independent mathematical checks; other releases, locales and extreme-value behavior were not established by this run.