mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-25 00:38:39 +08:00
49 lines
2.6 KiB
HTML
49 lines
2.6 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>WRAPROWS 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>WRAPROWS Function</h1>
|
|
<p>The <b>WRAPROWS</b> function is one of the <a href="../UsageInstructions/InsertFunction.htm#lookupreference" onclick="onhyperlinkclick(this)">lookup and reference functions</a>. It is used to wrap a row or column vector by rows after a specified number of values.</p>
|
|
<h3>Syntax</h3>
|
|
<p><b><em>WRAPROWS(vector, wrap_count, [pad_with])</em></b></p>
|
|
<p>The <b>WRAPROWS</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>vector</em></b></td>
|
|
<td>Is used to set the vector or reference to wrap.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><b><em>wrap_count</em></b></td>
|
|
<td>Is used to set the maximum number of values for each row.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><b><em>pad_with</em></b></td>
|
|
<td>Is used to set the value with which to pad. Defaults to #N/A.</td>
|
|
</tr>
|
|
</table>
|
|
<h3>Notes</h3>
|
|
<p>Please note that this is an array formula. To learn more, please read the <a href="../UsageInstructions/InsertArrayFormulas.htm" onclick="onhyperlinkclick(this)">Insert array formulas</a> article.</p>
|
|
<p><a href="../UsageInstructions/InsertFunction.htm#applyfunction" onclick="onhyperlinkclick(this)">How to apply</a> the <b>WRAPROWS</b> function.</p>
|
|
|
|
<h3>Examples</h3>
|
|
<p>The figure below displays the result returned by the <b>WRAPROWS</b> function. It wraps the row in range A1:F1 to an array in range A3:C5 by rows.</p>
|
|
<p><img alt="WRAPROWS Function" src="../images/wraprows.png" /></p>
|
|
</div>
|
|
</body>
|
|
</html> |