Difference between revisions of "Documentation/How Tos/Calc: MIN function"
From Apache OpenOffice Wiki
< Documentation | How Tos
(Initial content) |
(→Example:) |
||
Line 14: | Line 14: | ||
: returns <tt>'''2'''</tt>, the smallest value in the list. | : returns <tt>'''2'''</tt>, the smallest value in the list. | ||
− | <tt>''' | + | <tt>'''MIN(B1:B3)'''</tt> |
: where cells <tt>'''B1'''</tt>, <tt>'''B2'''</tt>, <tt>'''B3'''</tt> contain <tt>'''1.1'''</tt>, <tt>'''2.2'''</tt>, and <tt>'''apple'''</tt> returns <tt>'''1.1'''</tt>. | : where cells <tt>'''B1'''</tt>, <tt>'''B2'''</tt>, <tt>'''B3'''</tt> contain <tt>'''1.1'''</tt>, <tt>'''2.2'''</tt>, and <tt>'''apple'''</tt> returns <tt>'''1.1'''</tt>. | ||
Revision as of 06:33, 18 March 2008
MIN
Returns the minimum of a list of arguments, ignoring text entries.
Syntax:
MIN(number1; number2; ... number30)
- number1 to number30 are up to 30 numbers or ranges containing numbers.
Example:
MIN(2; 6; 4)
- returns 2, the smallest value in the list.
MIN(B1:B3)
- where cells B1, B2, B3 contain 1.1, 2.2, and apple returns 1.1.
See also:
Issues:
- Calc assumes that logical values are 1 (TRUE) and 0 (FALSE). Excel ignores logical values.