mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-25 02:05:59 +08:00
50 lines
2.9 KiB
HTML
50 lines
2.9 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>TOCOL 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>TOCOL Function</h1>
|
|
<p>The <b>TOCOL</b> function is one of the <a href="../UsageInstructions/InsertFunction.htm#lookupreference" onclick="onhyperlinkclick(this)">lookup and reference functions</a>. It is used to return the array as one column.</p>
|
|
<h3>Syntax</h3>
|
|
<p><b><em>TOCOL (array, [ignore], [scan_by_column])</em></b></p>
|
|
<p>The <b>TOCOL</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>array</em></b></td>
|
|
<td>The array or reference to return as a column.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><b><em>ignore</em></b></td>
|
|
<td>Is used to set whether to ignore certain types of values. Defaults to ignoring no values. The following values are used: <b>0</b> to keep all values (default); <b>1</b> to ignore blanks; <b>2</b> to ignore errors; <b>3</b> to ignore blanks and errors.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><b><em>scan_by_column</em></b></td>
|
|
<td>Is used to scan the array by column. By default, array scanning is conducted by row. Scanning determines whether the values are arranged in rows or columns. A logical value (TRUE or FALSE).</td>
|
|
</tr>
|
|
</table>
|
|
<h3>Notes</h3>
|
|
<p>If <b><em>scan_by_column</em></b> is omitted or FALSE, the array is scanned by row. If it is TRUE, the array is scanned by column.</p>
|
|
<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>TOCOL</b> function.</p>
|
|
|
|
<h3>Examples</h3>
|
|
<p>The figure below displays the result returned by the <b>TOCOL</b> function.</p>
|
|
<p><img alt="TOCOL Function" src="../images/tocol.png" /></p>
|
|
</div>
|
|
</body>
|
|
</html> |