Difference between revisions of "Documentation/How Tos/Calc: SMALL function"

From Apache OpenOffice Wiki
Jump to: navigation, search
Line 114: Line 114:
 
: where cells <tt>'''B1'''</tt>, <tt>'''B2'''</tt>, <tt>'''B3'''</tt>, <tt>'''B4'''</tt> contain <tt>'''4'''</tt>, <tt>'''7'''</tt>, <tt>'''5'''</tt>,and <tt>'''8'''</tt>, returns <tt>'''7'''</tt>. The lowest number is <tt>'''4'''</tt>, then <tt>'''5'''</tt>, then the third lowest is <tt>'''7'''</tt>.
 
: where cells <tt>'''B1'''</tt>, <tt>'''B2'''</tt>, <tt>'''B3'''</tt>, <tt>'''B4'''</tt> contain <tt>'''4'''</tt>, <tt>'''7'''</tt>, <tt>'''5'''</tt>,and <tt>'''8'''</tt>, returns <tt>'''7'''</tt>. The lowest number is <tt>'''4'''</tt>, then <tt>'''5'''</tt>, then the third lowest is <tt>'''7'''</tt>.
  
{{Documentation/SeeAlso|
+
{{SeeAlso|EN|
 
* [[Documentation/How_Tos/Calc: LARGE function|LARGE]]
 
* [[Documentation/How_Tos/Calc: LARGE function|LARGE]]
 
* [[Documentation/How_Tos/Calc: RANK function|RANK]]
 
* [[Documentation/How_Tos/Calc: RANK function|RANK]]

Revision as of 08:46, 17 July 2018



SMALL

Returns the nth smallest value in a list of numbers.

Syntax:

SMALL(numberlist; n)

returns the nth smallest number within the (unordered) range or array of numbers numberlist.

Example:

SMALL(B1:B4; 3)

where cells B1, B2, B3, B4 contain 4, 7, 5,and 8, returns 7. The lowest number is 4, then 5, then the third lowest is 7.



See Also
Retrieved from "https://wiki.openoffice.org/w/index.php?title=Documentation/How_Tos/Calc:_SMALL_function&oldid=243517"
Views
Personal tools
Navigation
Tools