Difference between revisions of "Documentation/How Tos/Calc: RANK function"
From Apache OpenOffice Wiki
< Documentation | How Tos
(→See also:) |
m |
||
(8 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | __NOTOC__ | + | {{DISPLAYTITLE:RANK function}} |
+ | {{Documentation/CalcFunc StatisticalTOC | ||
+ | |ShowPrevNext=block | ||
+ | |PrevPage=Documentation/How_Tos/Calc:_QUARTILE_function | ||
+ | |NextPage=Documentation/How_Tos/Calc:_SMALL_function | ||
+ | }}__NOTOC__ | ||
== RANK == | == RANK == | ||
Line 21: | Line 26: | ||
: returns <tt>'''4'''</tt>, as the other three numbers are lower than <tt>'''5'''</tt>. | : returns <tt>'''4'''</tt>, as the other three numbers are lower than <tt>'''5'''</tt>. | ||
− | === | + | ===Issues: === |
− | + | * By design, <tt>'''RANK'''</tt> returns the same rank for any value that is repeated in <tt>'''numberlist'''</tt>. If you wish a unique rank for each number in (say) <tt>'''A1:A4'''</tt>, enter <tt>'''=RANK(A1;$A$1:$A$4)+COUNTIF($A$1:A1;A1)-1'''</tt> in cell <tt>'''B1'''</tt> and copy/paste into <tt>'''B2:B4'''</tt>. | |
− | + | * Calc assumes that any logical values are <tt>'''1'''</tt> (<tt>'''TRUE'''</tt>) and <tt>'''0'''</tt> (<tt>'''FALSE'''</tt>). Excel's behavior with logical values may be 'unexpected'. | |
− | + | ||
− | + | ||
− | + | ||
− | [[Documentation/How_Tos/Calc: | + | {{SeeAlso|EN| |
+ | * [[Documentation/How_Tos/Calc: LARGE function|LARGE]] | ||
+ | * [[Documentation/How_Tos/Calc: SMALL function|SMALL]] | ||
+ | * [[Documentation/How_Tos/Calc: MAX function|MAX]] | ||
+ | * [[Documentation/How_Tos/Calc: MIN function|MIN]] | ||
+ | * [[Documentation/How_Tos/Calc: PERCENTRANK function|PERCENTRANK]] | ||
− | [[Documentation/How_Tos/Calc: | + | * [[Documentation/How_Tos/Calc: Statistical functions|Statistical functions]] |
− | + | ||
− | + | * [[Documentation/How_Tos/Calc: Functions listed alphabetically|Functions listed alphabetically]] | |
− | * | + | * [[Documentation/How_Tos/Calc: Functions listed by category|Functions listed by category]]}} |
− | + | [[Category: Documentation/Reference/Calc/Statistical functions]] |