MIN Function (LibreOffice Calc)
Find the minimum in LibreOffice Calc with mixed-cell examples, correct variadic syntax and empty-data guards. Compare MINA, logical inputs and hidden-row alternatives.
Verification status: See the evidence and test scope described in this guide. How formula examples are checked
Quick answer: MIN returns the smallest included number. Calc ignores text in referenced ranges but includes numeric/logical values, and an empty numeric dataset can return zero.
Availability and version history
- Introduced: Documented by LibreOffice 26.8.1.1; original introduction not established.
- Availability: Supported in LibreOffice 26.8.1.1, verified against its function registry. This identifies a supported release, not a final working version.
- Scope: Desktop Calc, using the English function name. Availability in other spreadsheet applications is separate.
- Checked: 2026-10-14 — function reference; versioned support. Documentation/source check; not a new native test. Existing example-specific test claims below retain their stated scope.
The MIN function in LibreOffice Calc is used for this task: Returns the minimum value in a list of arguments. Find the smallest number in a collection.
This guide explains how to read the formula, reproduce a concrete example, interpret its result and recognize common input mistakes.
Syntax and arguments
MIN(Argument1 [; Argument2 [; ... [; Argument255]]])
| Argument | Required? | Meaning |
|---|---|---|
Argument1 |
Yes | First value, cell reference or range to inspect. |
Argument2 … Argument255 |
No | Additional values, cell references or ranges. Referenced text is ignored. |
Calc formulas normally use semicolons (;) between arguments in common configurations; the displayed separator may depend on settings or locale.
Worked example
=MIN(9;2;5)
Expected result: 2.
Why it works: Find the smallest number in a collection.
How to use it in your own spreadsheet
- Identify the cells or inputs that correspond to the sample values above.
- Enter the formula in an empty cell, changing the references or literal values to match your sheet.
- Compare the output with a manual check on a small known example.
- Extend the formula to a larger dataset only after you understand the result.
Common problems and practical checks
- Confirm that the data represents the intended sample, population, rate or cash-flow timing.
- Keep units and percentage conventions consistent; a mathematically valid result can still answer the wrong question.
- A pasted formula may produce an error when it uses the other program’s argument separator or unsupported options.
Additional worked application and edge cases
Complete syntax and accepted arguments
The first argument is required; up to 254 further arguments are optional. Supply numbers, individual cell references or ranges. A range containing thousands of cells still counts as one argument, so the 255-argument limit is not a 255-cell limit.
MIN returns one smallest included numeric value. Negative numbers and zero are valid. Repeated minima do not change that value, and MIN does not report which row supplied it. It does not sort the source data or compare numbers by their displayed text labels.
Stepwise example: lowest measured inventory
Enter daily measured stock levels 12, 8, 15, 7, 10 in B2:B6. Enter =MIN(B2:B6) in D2. The independently expected result is 7.
If a second location has values 9, 11, 6 in F2:F4, =MIN(B2:B6;F2:F4) gives 6 across both ranges. The function combines all supplied observations rather than averaging each location’s minimum. Use the same inventory unit and consistent inclusion rules for both locations.
Mixed-cell example and MINA comparison
On another sheet, put numeric 8 in A2, numeric 3 in A3, text pending in A4, the formula ="2" in A5 and leave A6 genuinely empty. Enter =MIN(A2:A6).
The expected result is 3. Referenced text is ignored, including the numeric-looking text returned by A5. =MINA(A2:A6) instead returns 0, because MINA treats the text entries as zero. If the intended value in A5 is numeric two, convert or correct that imported value explicitly; a display that resembles a number is not sufficient.
Now put =TRUE() in A7. =MIN(A2:A7) is expected to return 1. Put =FALSE() in A8 and the range minimum becomes 0. In Calc, both MIN and MINA retain numeric/logical values as one and zero; the relevant distinction between them is text handling. If A9 is numeric -4, =MIN(A2:A9) becomes -4 because it is smaller than all the others.
Empty data is not a measured zero
LibreOffice Help specifies zero when a referenced range contains no numeric values and no errors. Therefore an empty range, or an all-text range, can return zero even though zero was never measured.
For the numeric inventory column, use =IF(COUNT(B2:B6)=0;"No measurements";MIN(B2:B6)) to distinguish that situation. With the five stock levels it returns 7; after clearing every numeric observation it returns the text message. This guard is not a substitute for type validation, nor does it make an error-containing range safe. Keep Boolean flags in a separate column if they are not measurements.
Advanced application: deliberately exclude hidden rows
Ordinary MIN includes numbers in hidden rows. For a direct vertical range, =AGGREGATE(5;1;B2:B6) requests a minimum while ignoring hidden rows and nested SUBTOTAL/AGGREGATE results. If only the row containing 7 is hidden in the stock example, the included minimum is expected to be 8.
Option 1 does not suppress errors. LibreOffice also warns that newly hidden rows do not trigger automatic AGGREGATE recalculation when AutoFilter is not active. Recalculate and verify the included rows. Hiding columns in a horizontal range does not have the same effect. See official AGGREGATE help.
Direct literals, error cells and troubleshooting
Text ignored inside a reference is different from a literal text argument. The Help specifically documents an error for a call such as =MIN("pending";3). Avoid assuming that every string is ignored or automatically parsed. An error in a referenced cell can propagate; an empty-range fallback does not cover error-containing ranges.
If a result looks wrong, check for hidden zeros, logical FALSE values, numeric imports stored as text and incompatible units. Number formatting can hide small differences between stored values. Missing required arguments and broken references are formula problems rather than evidence of a zero minimum. The Calc-specific type handling is corroborated by ScMin in the versioned source.
Verification scope for this addition: These added results were independently calculated or derived from the cited documentation/source. They were not newly tested in LibreOffice Calc. The original example-specific Calc 25.2.3.2 claims elsewhere on this page remain historical and apply only to those original examples. The cited 26.8.1.1 source tag is a code reference, not a claim of a new run in that release.
Related functions
Documentation and verification
- LibreOffice Calc Help
- The standalone example was calculated using LibreOffice Calc 25.2.3.2 on October 9, 2026 and its computed result matched the expected value. This does not certify every option, version, or other example.