Documentation/Calc Functions/MIN

From The Document Foundation Wiki
Jump to navigation Jump to search


Function name:

MIN

Category:

Statistical Analysis

Summary:

Identifies the minimum value in the list of numbers passed as arguments, ignoring empty cells and cells containing text.

Syntax:

MIN(Number 1 [; Number 2 [; … [; Number 255]]])

Returns:

Returns the smallest value from the list of numbers passed as arguments, ignoring empty cells and cells containing text.

Arguments:

Number 1, Number 2, … , Number 255 are numbers, references to cells or to cell ranges of numbers. Empty cells and cells containing text are ignored.

The logical value TRUE counts as 1, while FALSE counts as 0

  • The function returns 0 if no numeric value and no error was encountered in the cell range(s) passed as cell reference(s).
  • Passing a literal string argument to MIN(), e.g. MIN("string"), results in an error.

Additional details:

Text cells are ignored by MIN(). The function MINA() returns 0 if no value (numeric or text) and no error was encountered.

Examples:

Formula Description Returns
=MIN(A1:A5) where A1,A2,A3,A4,A5 are 1,2,3,4,5 returns the smallest value from 1,2,3,4,5 1
=MIN(1.5;-2;0;-4.2) returns the smallest value from 1.5,-2,0,-4.2 -4.2

Related LibreOffice functions:

MAX

MAXA

MAXIFS

MINA

MINIFS

ODF standard:

Section 6.18.48, part 2

Equivalent Excel functions:

MIN