mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-26 18:27:59 +08:00
49 lines
2.8 KiB
HTML
49 lines
2.8 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>RANK.AVG Function</title>
|
|
<meta charset="utf-8" />
|
|
<meta name="description" content="" />
|
|
<link type="text/css" rel="stylesheet" href="../../../../../../common/main/resources/help/editor.css" />
|
|
<link type = "text/css" rel = "stylesheet" href = "../../images/sprite.css" />
|
|
<script type="text/javascript" src="../callback.js"></script>
|
|
<script type="text/javascript" src="../../../../../../common/main/resources/help/search/js/page-search.js"></script>
|
|
</head>
|
|
<body>
|
|
<div class="mainpart">
|
|
<div class="search-field">
|
|
<input id="search" class="searchBar" placeholder="Search" type="text" onkeypress="doSearch(event)">
|
|
</div>
|
|
<h1>RANK.AVG Function</h1>
|
|
<p>The <b>RANK.AVG</b> function is one of the <a href="../UsageInstructions/InsertFunction.htm#statistical" onclick="onhyperlinkclick(this)">statistical functions</a>. It is used to return the rank of a number in a list of numbers. The rank of a number is its size relative to other values in a list (if you were to sort the list, the rank of the number would be its position). If more than one value has the same rank, the average rank is returned.</p>
|
|
<h3>Syntax</h3>
|
|
<p><b><em>RANK.AVG(number, ref, [order])</em></b></p>
|
|
<p>The <b>RANK.AVG</b> function has the following arguments:</p>
|
|
<table style="width: 40%">
|
|
<tr>
|
|
<th style="background-color: #f4f4f4" width="150ch"><b>Argument</b></th>
|
|
<th style="background-color: #f4f4f4"><b>Description</b></th>
|
|
</tr>
|
|
<tr>
|
|
<td><b><em>number</em></b></td>
|
|
<td>The value you want to find the rank for.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><b><em>ref</em></b></td>
|
|
<td>The selected range of cells containing the specified <b><em>number</em></b>.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><b><em>order</em></b></td>
|
|
<td>The numeric value that specifyes how to order the <b><em>ref</em></b> array. It is an optional argument. If it is 0 or omitted, the function ranks <b><em>number</em></b> as if <b><em>ref</em></b> were a list sorted in descending order. Any other numeric value is treated as the value 1 and the function ranks <b><em>number</em></b> as if <b><em>ref</em></b> were a list sorted in ascending order.</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<h3>Notes</h3>
|
|
<p><a href="../UsageInstructions/InsertFunction.htm#applyfunction" onclick="onhyperlinkclick(this)">How to apply</a> the <b>RANK.AVG</b> function.</p>
|
|
|
|
<h3>Examples</h3>
|
|
<p>The figure below displays the result returned by the <b>RANK.AVG</b> function.</p>
|
|
<p><img alt="RANK.AVG Function" src="../images/rank-avg.png" /></p>
|
|
</div>
|
|
</body>
|
|
</html> |