Files
Maxim Kadushkin 035166509d Merge pull request #2755 from ONLYOFFICE/feature/update-lunr-without-kor
Feature/update lunr without kor
2023-12-21 16:25:39 +03:00

54 lines
3.4 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<title>HLOOKUP Function</title>
<meta charset="utf-8" />
<meta name="description" content="The HLOOKUP function is one of the lookup and reference functions. Learn how to use the HLOOKUP function in Excel sheets and compatible files with ONLYOFFICE." />
<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>HLOOKUP Function</h1>
<p>The <b>HLOOKUP</b> function is one of the <a href="../UsageInstructions/InsertFunction.htm#lookupreference" onclick="onhyperlinkclick(this)">lookup and reference functions</a>. It is used to perform the horizontal search for a value in the top row of a table or an array and return the value in the same column based on a specified row index number.</p>
<h3>Syntax</h3>
<p><b><em>HLOOKUP (lookup_value, table_array, row_index_num, [range_lookup])</em></b></p>
<p>The <b>HLOOKUP</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>lookup_value</em></b></td>
<td>A value to search for.</td>
</tr>
<tr>
<td><b><em>table_array</em></b></td>
<td>Two or more rows containing data sorted in ascending order.</td>
</tr>
<tr>
<td><b><em>row_index_num</em></b></td>
<td>A row number in the same column of the <b><em>table_array</em></b>, a numeric value greater than or equal to 1 but less than the number of rows in the <b>table_array</b>.</td>
</tr>
<tr>
<td><b><em>range_lookup</em></b></td>
<td>An optional argument. It is a logical value: TRUE or FALSE. Enter FALSE to find an exact match. Enter TRUE to find an approximate match, in this case if there is not a value that strictly matches the <b><em>lookup_value</em></b>, then the function will choose the next largest value less than the <b><em>lookup_value</em></b>. If this argument is absent, the function will find an approximate match.</td>
</tr>
</table>
<h3>Notes</h3>
<p>If the <b><em>range_lookup</em></b> is set to FALSE, but no exact match is found, then the function will return the <b>#N/A</b> error.</p>
<p><a href="../UsageInstructions/InsertFunction.htm#applyfunction" onclick="onhyperlinkclick(this)">How to apply</a> the <b>HLOOKUP</b> function.</p>
<h3>Examples</h3>
<p>The figure below displays the result returned by the <b>HLOOKUP</b> function.</p>
<p><img class="gif" alt="hlookup function gif" src="../images/hlookup_function.gif" /></p>
</div>
</body>
</html>