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

From Apache OpenOffice Wiki
Jump to: navigation, search
(See also:)
m (Robot: Automated text replacement %s)
Line 14: Line 14:
 
: 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>.
  
=== See also: ===
+
{{Documentation/SeeAlso|
[[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]],
[[Documentation/How_Tos/Calc: MAX function|'''MAX''']],
+
* [[Documentation/How_Tos/Calc: MAX function|MAX]],
[[Documentation/How_Tos/Calc: MIN function|'''MIN''']]
+
* [[Documentation/How_Tos/Calc: MIN function|MIN]]
  
[[Documentation/How_Tos/Calc: Statistical functions|'''Statistical functions''']]
+
* [[Documentation/How_Tos/Calc: Statistical functions|Statistical functions]]
  
[[Documentation/How_Tos/Calc: Functions listed alphabetically|'''Functions listed alphabetically''']],
+
* [[Documentation/How_Tos/Calc: Functions listed alphabetically|Functions listed alphabetically]]
[[Documentation/How_Tos/Calc: Functions listed by category|'''Functions listed by category''']]
+
* [[Documentation/How_Tos/Calc: Functions listed by category|Functions listed by category]]}}

Revision as of 14:18, 25 February 2009


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.

Template:Documentation/SeeAlso

Personal tools