summaryrefslogtreecommitdiff
path: root/source/text/scalc/01/04060109.xhp
diff options
context:
space:
mode:
Diffstat (limited to 'source/text/scalc/01/04060109.xhp')
-rw-r--r--source/text/scalc/01/04060109.xhp112
1 files changed, 56 insertions, 56 deletions
diff --git a/source/text/scalc/01/04060109.xhp b/source/text/scalc/01/04060109.xhp
index bfd4086d79..ef61a9632f 100644
--- a/source/text/scalc/01/04060109.xhp
+++ b/source/text/scalc/01/04060109.xhp
@@ -71,7 +71,7 @@
<emph>A1</emph> (optional) - if set to 0, the R1C1 notation is used. If this parameter is absent or set to another value than 0, the A1 notation is used.</paragraph>
<paragraph xml-lang="en-US" id="par_id3153962" role="paragraph">
<emph>Sheet</emph> represents the name of the sheet. It must be placed in double quotes.</paragraph>
- <paragraph xml-lang="en-US" id="hd_id3147299" role="heading" level="3" >Example:</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3147299" role="heading" level="3">Example:</paragraph>
<paragraph xml-lang="en-US" id="par_id3148744" role="paragraph">
<item type="input">=ADDRESS(1;1;2;;"Sheet2")</item> returns the following: Sheet2.A$1<comment>i 101187</comment></paragraph>
<paragraph xml-lang="en-US" id="par_id3159260" role="paragraph">If the cell A1 in sheet 2 contains the value <item type="input">-6</item>, you can refer indirectly to the referenced cell using a function in B2 by entering <item type="input">=ABS(INDIRECT(B2))</item>. The result is the absolute value of the cell reference specified in B2, which in this case is 6.</paragraph>
@@ -80,13 +80,13 @@
<bookmark xml-lang="en-US" branch="index" id="bm_id3150372"><bookmark_value>AREAS function</bookmark_value>
</bookmark>
<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_BEREICHE" id="bm_id3149721" localize="false"/>
-<paragraph xml-lang="en-US" id="hd_id3150372" role="heading" level="2" >AREAS</paragraph>
+<paragraph xml-lang="en-US" id="hd_id3150372" role="heading" level="2">AREAS</paragraph>
<paragraph xml-lang="en-US" id="par_id3150036" role="paragraph"><ahelp hid="HID_FUNC_BEREICHE">Returns the number of individual ranges that belong to a multiple range.</ahelp> A range can consist of contiguous cells or a single cell.</paragraph>
<paragraph xml-lang="en-US" id="par_id061020090307073" role="paragraph">The function expects a single argument. If you state multiple ranges, you must enclose them into additional parentheses. Multiple ranges can be entered using the semicolon (;) as divider, but this gets automatically converted to the tilde (~) operator. The tilde is used to join ranges.</paragraph>
- <paragraph xml-lang="en-US" id="hd_id3145222" role="heading" level="3" >Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3145222" role="heading" level="3">Syntax</paragraph>
<paragraph xml-lang="en-US" id="par_id3155907" role="code">AREAS(Reference)</paragraph>
<paragraph xml-lang="en-US" id="par_id3153118" role="paragraph">Reference represents the reference to a cell or cell range.</paragraph>
- <paragraph xml-lang="en-US" id="hd_id3148891" role="heading" level="3" >Example</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3148891" role="heading" level="3">Example</paragraph>
<paragraph xml-lang="en-US" id="par_id3149946" role="paragraph">
<item type="input">=AREAS((A1:B3;F2;G1))</item> returns 3, as it is a reference to three cells and/or areas. After entry this gets converted to =AREAS((A1:B3~F2~G1)).</paragraph>
<paragraph xml-lang="en-US" id="par_id3146820" role="paragraph">
@@ -96,9 +96,9 @@
<bookmark xml-lang="en-US" branch="index" id="bm_id3148727"><bookmark_value>DDE function</bookmark_value>
</bookmark>
<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_DDE" id="bm_id3154680" localize="false"/>
-<paragraph xml-lang="en-US" id="hd_id3148727" role="heading" level="2" >DDE</paragraph>
+<paragraph xml-lang="en-US" id="hd_id3148727" role="heading" level="2">DDE</paragraph>
<paragraph xml-lang="en-US" id="par_id3149434" role="paragraph"><ahelp hid="HID_FUNC_DDE">Returns the result of a DDE-based link.</ahelp> If the contents of the linked range or section changes, the returned value will also change. You must reload the spreadsheet or choose <emph>Edit - Links</emph> to see the updated links. Cross-platform links, for example from a <item type="productname">%PRODUCTNAME</item> installation running on a Windows machine to a document created on a Linux machine, are not allowed.</paragraph>
- <paragraph xml-lang="en-US" id="hd_id3150700" role="heading" level="3" >Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3150700" role="heading" level="3">Syntax</paragraph>
<paragraph xml-lang="en-US" id="par_id3148886" role="code">DDE("Server"; "File"; "Range"; Mode)</paragraph>
<paragraph xml-lang="en-US" id="par_id3154842" role="paragraph">
<emph>Server</emph> is the name of a server application. <item type="productname">%PRODUCTNAME</item> applications have the server name "soffice".</paragraph>
@@ -147,7 +147,7 @@
</tablerow>
</table>
- <paragraph xml-lang="en-US" id="hd_id3149546" role="heading" level="3" >Example</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3149546" role="heading" level="3">Example</paragraph>
<paragraph xml-lang="en-US" id="par_id3148734" role="paragraph">
<item type="input">=DDE("soffice";"c:\office\document\data1.ods";"sheet1.A1")</item> reads the contents of cell A1 in sheet1 of the <item type="productname">%PRODUCTNAME</item> Calc spreadsheet data1.ods.</paragraph>
<paragraph xml-lang="en-US" id="par_id3153081" role="paragraph">
@@ -157,15 +157,15 @@
<bookmark xml-lang="en-US" branch="index" id="bm_id3153114"><bookmark_value>ERRORTYPE function</bookmark_value>
</bookmark>
<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_FEHLERTYP" id="bm_id3153000" localize="false"/>
-<paragraph xml-lang="en-US" id="hd_id3153114" role="heading" level="2" >ERRORTYPE</paragraph>
+<paragraph xml-lang="en-US" id="hd_id3153114" role="heading" level="2">ERRORTYPE</paragraph>
<paragraph xml-lang="en-US" id="par_id3148568" role="paragraph"><ahelp hid="HID_FUNC_FEHLERTYP">Returns the number corresponding to an <link href="text/scalc/05/02140000.xhp" name="error value">error value</link> occurring in a different cell.</ahelp> With the aid of this number, you can generate an error message text.</paragraph>
<embed href="text/shared/00/00000001.xhp#wahr"/>
<paragraph xml-lang="en-US" id="par_id3149877" role="note">The Status Bar displays the predefined error code from <item type="productname">%PRODUCTNAME</item> if you click the cell containing the error.</paragraph>
- <paragraph xml-lang="en-US" id="hd_id3154327" role="heading" level="3" >Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3154327" role="heading" level="3">Syntax</paragraph>
<paragraph xml-lang="en-US" id="par_id3151322" role="code">ERRORTYPE(Reference)</paragraph>
<paragraph xml-lang="en-US" id="par_id3150132" role="paragraph">
<emph>Reference</emph> contains the address of the cell in which the error occurs.</paragraph>
- <paragraph xml-lang="en-US" id="hd_id3145248" role="heading" level="3" >Example</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3145248" role="heading" level="3">Example</paragraph>
<paragraph xml-lang="en-US" id="par_id3146904" role="paragraph">If cell A1 displays Err:518, the function <item type="input">=ERRORTYPE(A1)</item> returns the number 518.</paragraph>
</section>
<section id="error_type">
@@ -176,9 +176,9 @@
<bookmark xml-lang="en-US" branch="index" id="bm_id3151221"><bookmark_value>INDEX function</bookmark_value>
</bookmark>
<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_INDEX" id="bm_id3157989" localize="false"/>
-<paragraph xml-lang="en-US" id="hd_id3151221" role="heading" level="2" >INDEX</paragraph>
+<paragraph xml-lang="en-US" id="hd_id3151221" role="heading" level="2">INDEX</paragraph>
<paragraph xml-lang="en-US" id="par_id3150268" role="paragraph"><ahelp hid="HID_FUNC_INDEX">INDEX returns a sub range, specified by row and column number, or an optional range index. Depending on context, INDEX returns a reference or content.</ahelp><comment>UFI: will change with i4904; see http://so-web.germany.sun.com/iBIS/servlet/edit.ControlPanel?tid=i57108</comment><comment>changed by i83070</comment></paragraph>
- <paragraph xml-lang="en-US" id="hd_id3156063" role="heading" level="3" >Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3156063" role="heading" level="3">Syntax</paragraph>
<paragraph xml-lang="en-US" id="par_id3149007" role="code">INDEX(Reference; Row; Column; Range)</paragraph>
<paragraph xml-lang="en-US" id="par_id3153260" role="paragraph">
<emph>Reference</emph> is a reference, entered either directly or by specifying a range name. If the reference consists of multiple ranges, you must enclose the reference or range name in parentheses.</paragraph>
@@ -188,7 +188,7 @@
<emph>Column</emph> (optional) represents the column index of the reference range, for which to return a value. In case of zero (no specific column) all referenced columns are returned.</paragraph>
<paragraph xml-lang="en-US" id="par_id3155514" role="paragraph">
<emph>Range</emph> (optional) represents the index of the subrange if referring to a multiple range.</paragraph>
- <paragraph xml-lang="en-US" id="hd_id3145264" role="heading" level="3" >Example</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3145264" role="heading" level="3">Example</paragraph>
<paragraph xml-lang="en-US" id="par_id3159112" role="paragraph">
<item type="input">=INDEX(Prices;4;1)</item> returns the value from row 4 and column 1 of the database range defined in <emph>Data - Define</emph> as <emph>Prices</emph>.</paragraph>
<paragraph xml-lang="en-US" id="par_id3150691" role="paragraph">
@@ -208,17 +208,17 @@
<bookmark xml-lang="en-US" branch="index" id="bm_id3153181"><bookmark_value>INDIRECT function</bookmark_value>
</bookmark>
<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_INDIREKT" id="bm_id3153922" localize="false"/>
-<paragraph xml-lang="en-US" id="hd_id3153181" role="heading" level="2" >INDIRECT</paragraph>
+<paragraph xml-lang="en-US" id="hd_id3153181" role="heading" level="2">INDIRECT</paragraph>
<paragraph xml-lang="en-US" id="par_id3147169" role="paragraph"><ahelp hid="HID_FUNC_INDIREKT">Returns the <emph>reference</emph> specified by a text string.</ahelp> This function can also be used to return the area of a corresponding string.</paragraph>
<embed href="text/scalc/01/04060109.xhp#r1c1"/>
- <paragraph xml-lang="en-US" id="hd_id3153717" role="heading" level="3" >Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3153717" role="heading" level="3">Syntax</paragraph>
<paragraph xml-lang="en-US" id="par_id3149824" role="code">INDIRECT(Ref; A1)</paragraph>
<paragraph xml-lang="en-US" id="par_id3154317" role="paragraph">
<emph>Ref</emph> represents a reference to a cell or an area (in text form) for which to return the contents.</paragraph>
<paragraph xml-lang="en-US" id="par_id1027200802470312" role="paragraph">
<emph>A1</emph> (optional) - if set to 0, the R1C1 notation is used. If this parameter is absent or set to another value than 0, the A1 notation is used.</paragraph>
<paragraph xml-lang="en-US" id="par_idN10CAE" role="note">If you open an Excel spreadsheet that uses indirect addresses calculated from string functions, the sheet addresses will not be translated automatically. For example, the Excel address in INDIRECT("filename!sheetname"&amp;B1) is not converted into the Calc address in INDIRECT("filename.sheetname"&amp;B1).<comment>UFI: for #i34465#</comment></paragraph>
- <paragraph xml-lang="en-US" id="hd_id3150389" role="heading" level="3" >Example</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3150389" role="heading" level="3">Example</paragraph>
<paragraph xml-lang="en-US" id="par_id3150608" role="paragraph">
<item type="input">=INDIRECT(A1)</item> equals 100 if A1 contains C108 as a reference and cell C108 contains a value of <item type="input">100</item>.</paragraph>
<paragraph xml-lang="en-US" id="par_id3083286" role="paragraph">
@@ -228,14 +228,14 @@
<bookmark xml-lang="en-US" branch="index" id="bm_id3154818"><bookmark_value>COLUMN function</bookmark_value>
</bookmark>
<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_SPALTE" id="bm_id3156378" localize="false"/>
-<paragraph xml-lang="en-US" id="hd_id3154818" role="heading" level="2" >COLUMN</paragraph>
+<paragraph xml-lang="en-US" id="hd_id3154818" role="heading" level="2">COLUMN</paragraph>
<paragraph xml-lang="en-US" id="par_id3149711" role="paragraph"><ahelp hid="HID_FUNC_SPALTE">Returns the column number of a cell reference.</ahelp> If the reference is a cell the column number of the cell is returned; if the parameter is a cell area, the corresponding column numbers are returned in a single-row <link href="text/scalc/01/04060107.xhp#wasmatrix" name="array">array</link> if the formula is entered <link href="text/scalc/01/04060107.xhp#somatrixformel" name="as an array formula">as an array formula</link>. If the COLUMN function with an area reference parameter is not used for an array formula, only the column number of the first cell within the area is determined.</paragraph>
- <paragraph xml-lang="en-US" id="hd_id3149283" role="heading" level="3" >Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3149283" role="heading" level="3">Syntax</paragraph>
<paragraph xml-lang="en-US" id="par_id3149447" role="code">COLUMN(Reference)</paragraph>
<paragraph xml-lang="en-US" id="par_id3156310" role="paragraph">
<emph>Reference</emph> is the reference to a cell or cell area whose first column number is to be found.</paragraph>
<paragraph xml-lang="en-US" id="par_id3155837" role="paragraph">If no reference is entered, the column number of the cell in which the formula is entered is found. <item type="productname">%PRODUCTNAME</item> Calc automatically sets the reference to the current cell.</paragraph>
- <paragraph xml-lang="en-US" id="hd_id3152932" role="heading" level="3" >Example</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3152932" role="heading" level="3">Example</paragraph>
<paragraph xml-lang="en-US" id="par_id3147571" role="paragraph">
<item type="input">=COLUMN(A1)</item> equals 1. Column A is the first column in the table.</paragraph>
<paragraph xml-lang="en-US" id="par_id3147079" role="paragraph">
@@ -253,13 +253,13 @@
<bookmark xml-lang="en-US" branch="index" id="bm_id3154643"><bookmark_value>COLUMNS function</bookmark_value>
</bookmark>
<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_SPALTEN" id="bm_id3156134" localize="false"/>
-<paragraph xml-lang="en-US" id="hd_id3154643" role="heading" level="2" >COLUMNS</paragraph>
+<paragraph xml-lang="en-US" id="hd_id3154643" role="heading" level="2">COLUMNS</paragraph>
<paragraph xml-lang="en-US" id="par_id3151182" role="paragraph"><ahelp hid="HID_FUNC_SPALTEN">Returns the number of columns in the given reference.</ahelp></paragraph>
- <paragraph xml-lang="en-US" id="hd_id3149141" role="heading" level="3" >Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3149141" role="heading" level="3">Syntax</paragraph>
<paragraph xml-lang="en-US" id="par_id3154047" role="code">COLUMNS(Array)</paragraph>
<paragraph xml-lang="en-US" id="par_id3154745" role="paragraph">
<emph>Array</emph> is the reference to a cell range whose total number of columns is to be found. The argument can also be a single cell.</paragraph>
- <paragraph xml-lang="en-US" id="hd_id3153622" role="heading" level="3" >Example</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3153622" role="heading" level="3">Example</paragraph>
<paragraph xml-lang="en-US" id="par_id3149577" role="paragraph">
<item type="input">=COLUMNS(B5)</item> returns 1 because a cell only contains one column.</paragraph>
<paragraph xml-lang="en-US" id="par_id3145649" role="paragraph">
@@ -272,10 +272,10 @@
<bookmark_value>VLOOKUP function</bookmark_value>
</bookmark>
<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_SVERWEIS" id="bm_id3152809" localize="false"/>
-<paragraph xml-lang="en-US" id="hd_id3153152" role="heading" level="2" >VLOOKUP</paragraph>
+<paragraph xml-lang="en-US" id="hd_id3153152" role="heading" level="2">VLOOKUP</paragraph>
<paragraph xml-lang="en-US" id="par_id3149984" role="paragraph"><ahelp hid="HID_FUNC_SVERWEIS">Vertical search with reference to adjacent cells to the right.</ahelp> This function checks if a specific value is contained in the first column of an array. The function then returns the value in the same row of the column named by <item type="literal">Index</item>. If the <item type="literal">Sorted</item> parameter is omitted or set to TRUE or one, it is assumed that the data is sorted in ascending order. In this case, if the exact <item type="literal">SearchCriterion</item> is not found, the last value that is smaller than the criterion will be returned. If <item type="literal">Sorted</item> is set to FALSE or zero, an exact match must be found, otherwise the error <emph>Error: Value Not Available</emph> will be the result. Thus with a value of zero the data does not need to be sorted in ascending order.</paragraph>
<embed href="text/shared/00/00000001.xhp#regulaer"/>
- <paragraph xml-lang="en-US" id="hd_id3146898" role="heading" level="3" >Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3146898" role="heading" level="3">Syntax</paragraph>
<paragraph xml-lang="en-US" id="par_id3150156" role="code">=VLOOKUP(SearchCriterion; Array; Index; Sorted)</paragraph>
<paragraph xml-lang="en-US" id="par_id3149289" role="paragraph">
<emph>SearchCriterion</emph> is the value searched for in the first column of the array.</paragraph>
@@ -286,7 +286,7 @@
<paragraph xml-lang="en-US" id="par_id3151208" role="paragraph">
<emph>Sorted</emph> is an optional parameter that indicates whether the first column in the array is sorted in ascending order. Enter the Boolean value FALSE or zero if the first column is not sorted in ascending order. Sorted columns can be searched much faster and the function always returns a value, even if the search value was not matched exactly, if it is between the lowest and highest value of the sorted list. In unsorted lists, the search value must be matched exactly. Otherwise the function will return this message: <emph>Error: Value Not Available</emph>.</paragraph>
<embed href="text/scalc/05/empty_cells.xhp#empty_cells"/>
- <paragraph xml-lang="en-US" id="hd_id3147487" role="heading" level="3" >Example</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3147487" role="heading" level="3">Example</paragraph>
<paragraph xml-lang="en-US" id="par_id3154129" role="paragraph">You want to enter the number of a dish on the menu in cell A1, and the name of the dish is to appear as text in the neighboring cell (B1) immediately. The Number to Name assignment is contained in the D1:E100 array. D1 contains <item type="input">100</item>, E1 contains the name <item type="input">Vegetable Soup</item>, and so forth, for 100 menu items. The numbers in column D are sorted in ascending order; thus, the optional <item type="literal">Sorted</item> parameter is not necessary.</paragraph>
<paragraph xml-lang="en-US" id="par_id3145663" role="paragraph">Enter the following formula in B1:</paragraph>
<paragraph xml-lang="en-US" id="par_id3151172" role="paragraph">
@@ -299,13 +299,13 @@
<bookmark_value>SHEET function</bookmark_value>
</bookmark>
<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_TABELLE" id="bm_id3154693" localize="false"/>
-<paragraph xml-lang="en-US" id="hd_id3153905" role="heading" level="2" >SHEET</paragraph>
+<paragraph xml-lang="en-US" id="hd_id3153905" role="heading" level="2">SHEET</paragraph>
<paragraph xml-lang="en-US" id="par_id3150309" role="paragraph"><ahelp hid="HID_FUNC_TABELLE">Returns the sheet number of a reference or a string representing a sheet name.</ahelp> If you do not enter any parameters, the result is the sheet number of the spreadsheet containing the formula.</paragraph>
- <paragraph xml-lang="en-US" id="hd_id3148564" role="heading" level="3" >Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3148564" role="heading" level="3">Syntax</paragraph>
<paragraph xml-lang="en-US" id="par_id3153095" role="code">SHEET(Reference)</paragraph>
<paragraph xml-lang="en-US" id="par_id3154588" role="paragraph">
<emph>Reference</emph> is optional and is the reference to a cell, an area, or a sheet name string.</paragraph>
- <paragraph xml-lang="en-US" id="hd_id3155399" role="heading" level="3" >Example</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3155399" role="heading" level="3">Example</paragraph>
<paragraph xml-lang="en-US" id="par_id3146988" role="paragraph">
<item type="input">=SHEET(Sheet2.A1)</item> returns 2 if Sheet2 is the second sheet in the spreadsheet document.</paragraph>
</section>
@@ -314,13 +314,13 @@
<bookmark_value>SHEETS function</bookmark_value>
</bookmark>
<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_TABELLEN" id="bm_id3150524" localize="false"/>
-<paragraph xml-lang="en-US" id="hd_id3148829" role="heading" level="2" >SHEETS</paragraph>
+<paragraph xml-lang="en-US" id="hd_id3148829" role="heading" level="2">SHEETS</paragraph>
<paragraph xml-lang="en-US" id="par_id3148820" role="paragraph"><ahelp hid="HID_FUNC_TABELLEN">Determines the number of sheets in a reference.</ahelp> If you do not enter any parameters, it returns the number of sheets in the current document.</paragraph>
- <paragraph xml-lang="en-US" id="hd_id3154220" role="heading" level="3" >Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3154220" role="heading" level="3">Syntax</paragraph>
<paragraph xml-lang="en-US" id="par_id3150777" role="code">SHEETS(Reference)</paragraph>
<paragraph xml-lang="en-US" id="par_id3153060" role="paragraph">
<emph>Reference</emph> is the reference to a sheet or an area. This parameter is optional.</paragraph>
- <paragraph xml-lang="en-US" id="hd_id3149766" role="heading" level="3" >Example</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3149766" role="heading" level="3">Example</paragraph>
<paragraph xml-lang="en-US" id="par_id3150507" role="paragraph">
<item type="input">=SHEETS(Sheet1.A1:Sheet3.G12)</item> returns 3 if Sheet1, Sheet2, and Sheet3 exist in the sequence indicated.</paragraph>
</section>
@@ -328,9 +328,9 @@
<bookmark xml-lang="en-US" branch="index" id="bm_id3158407"><bookmark_value>MATCH function</bookmark_value>
</bookmark>
<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_VERGLEICH" id="bm_id3154210" localize="false"/>
-<paragraph xml-lang="en-US" id="hd_id3158407" role="heading" level="2" >MATCH</paragraph>
+<paragraph xml-lang="en-US" id="hd_id3158407" role="heading" level="2">MATCH</paragraph>
<paragraph xml-lang="en-US" id="par_id3154896" role="paragraph"><ahelp hid="HID_FUNC_VERGLEICH">Returns the relative position of an item in an array that matches a specified value.</ahelp> The function returns the position of the value found in the lookup_array as a number.</paragraph>
- <paragraph xml-lang="en-US" id="hd_id3153834" role="heading" level="3" >Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3153834" role="heading" level="3">Syntax</paragraph>
<paragraph xml-lang="en-US" id="par_id3159152" role="code">MATCH(SearchCriterion; LookupArray; Type)</paragraph>
<paragraph xml-lang="en-US" id="par_id3149336" role="paragraph">
<emph>SearchCriterion</emph> is the value which is to be searched for in the single-row or single-column array.</paragraph>
@@ -341,7 +341,7 @@
<paragraph xml-lang="en-US" id="par_id3154265" role="paragraph">If Type = 0, only exact matches are found. If the search criterion is found more than once, the function returns the index of the first matching value. Only if Type = 0 can you search for regular expressions (if enabled in calculation options) or wildcards (if enabled in calculation options).</paragraph>
<paragraph xml-lang="en-US" id="par_id3147528" role="paragraph">If Type = 1 or the third parameter is missing, the index of the last value that is smaller or equal to the search criterion is returned. This applies even when the search array is not sorted. For Type = -1, the first value that is larger or equal is returned.</paragraph>
<embed href="text/shared/00/00000001.xhp#regulaer"/>
- <paragraph xml-lang="en-US" id="hd_id3155119" role="heading" level="3" >Example</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3155119" role="heading" level="3">Example</paragraph>
<paragraph xml-lang="en-US" id="par_id3155343" role="paragraph">
<item type="input">=MATCH(200;D1:D100)</item> searches the area D1:D100, which is sorted by column D, for the value 200. As soon as this value is reached, the number of the row in which it was found is returned. If a higher value is found during the search in the column, the number of the previous row is returned.</paragraph>
</section>
@@ -349,9 +349,9 @@
<bookmark xml-lang="en-US" branch="index" id="bm_id3158430"><bookmark_value>OFFSET function</bookmark_value>
</bookmark>
<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_VERSCHIEBUNG" id="bm_id3148926" localize="false"/>
-<paragraph xml-lang="en-US" id="hd_id3158430" role="heading" level="2" >OFFSET</paragraph>
+<paragraph xml-lang="en-US" id="hd_id3158430" role="heading" level="2">OFFSET</paragraph>
<paragraph xml-lang="en-US" id="par_id3149167" role="paragraph"><ahelp hid="HID_FUNC_VERSCHIEBUNG">Returns the value of a cell offset by a certain number of rows and columns from a given reference point.</ahelp></paragraph>
- <paragraph xml-lang="en-US" id="hd_id3146952" role="heading" level="3" >Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3146952" role="heading" level="3">Syntax</paragraph>
<paragraph xml-lang="en-US" id="par_id3159194" role="code">OFFSET(Reference; Rows; Columns; Height; Width)</paragraph>
<paragraph xml-lang="en-US" id="par_id3152360" role="paragraph">
<emph>Reference</emph> is the reference from which the function searches for the new reference.</paragraph>
@@ -365,10 +365,10 @@
<emph>Width</emph> (optional) is the horizontal width for an area that starts at the new reference position.</paragraph>
<paragraph xml-lang="en-US" id="par_id8662373" role="paragraph">Arguments <emph>Rows</emph> and <emph>Columns</emph> must not lead to zero or negative start row or column.</paragraph>
<paragraph xml-lang="en-US" id="par_id9051484" role="paragraph">Arguments <emph>Height</emph> and <emph>Width</emph> must not lead to zero or negative count of rows or columns.</paragraph>
- <paragraph xml-lang="en-US" id="par_idN1104B" role="paragraph" localize="false" >
+ <paragraph xml-lang="en-US" id="par_idN1104B" role="paragraph" localize="false">
<embedvar href="text/scalc/00/00000004.xhp#optional"/>
</paragraph>
- <paragraph xml-lang="en-US" id="hd_id3155586" role="heading" level="3" >Example</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3155586" role="heading" level="3">Example</paragraph>
<paragraph xml-lang="en-US" id="par_id3149744" role="paragraph">
<item type="input">=OFFSET(A1;2;2)</item> returns the value in cell C3 (A1 moved by two rows and two columns down). If C3 contains the value <item type="input">100</item> this function returns the value 100.</paragraph>
<paragraph xml-lang="en-US" id="par_id7439802" role="paragraph">
@@ -387,11 +387,11 @@
<bookmark xml-lang="en-US" branch="index" id="bm_id3159273"><bookmark_value>LOOKUP function</bookmark_value>
</bookmark>
<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_VERWEIS" id="bm_id3152877" localize="false"/>
-<paragraph xml-lang="en-US" id="hd_id3159273" role="heading" level="2" >LOOKUP</paragraph>
+<paragraph xml-lang="en-US" id="hd_id3159273" role="heading" level="2">LOOKUP</paragraph>
<paragraph xml-lang="en-US" id="par_id3153389" role="paragraph"><ahelp hid="HID_FUNC_VERWEIS">Returns the contents of a cell either from a one-row or one-column range.</ahelp> Optionally, the assigned value (of the same index) is returned in a different column and row. As opposed to <link href="text/scalc/01/04060109.xhp#Section9" name="VLOOKUP">VLOOKUP</link> and <link href="text/scalc/01/04060109.xhp#Section17" name="HLOOKUP">HLOOKUP</link>, search and result vector may be at different positions; they do not have to be adjacent. Additionally, the search vector for the LOOKUP must be sorted ascending, otherwise the search will not return any usable results.</paragraph>
<paragraph xml-lang="en-US" id="par_id4484084" role="note">If LOOKUP cannot find the search criterion, it matches the largest value in the search vector that is less than or equal to the search criterion.</paragraph>
<embed href="text/shared/00/00000001.xhp#regulaer"/>
- <paragraph xml-lang="en-US" id="hd_id3152947" role="heading" level="3" >Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3152947" role="heading" level="3">Syntax</paragraph>
<paragraph xml-lang="en-US" id="par_id3154104" role="code">LOOKUP(SearchCriterion; SearchVector; ResultVector)</paragraph>
<paragraph xml-lang="en-US" id="par_id3150646" role="paragraph">
<emph>SearchCriterion</emph> is the value to be searched for; entered either directly or as a reference.</paragraph>
@@ -400,7 +400,7 @@
<paragraph xml-lang="en-US" id="par_id3149925" role="paragraph">
<emph>ResultVector</emph> is another single-row or single-column range from which the result of the function is taken. The result is the cell of the result vector with the same index as the instance found in the search vector.</paragraph>
<embed href="text/scalc/05/empty_cells.xhp#empty_cells"/>
- <paragraph xml-lang="en-US" id="hd_id3148624" role="heading" level="3" >Example</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3148624" role="heading" level="3">Example</paragraph>
<paragraph xml-lang="en-US" id="par_id3149809" role="paragraph">
<item type="input">=LOOKUP(A1;D1:D100;F1:F100)</item> searches the corresponding cell in range D1:D100 for the number you entered in A1. For the instance found, the index is determined, for example, the 12th cell in this range. Then, the contents of the 12th cell are returned as the value of the function (in the result vector).</paragraph>
</section>
@@ -408,9 +408,9 @@
<bookmark xml-lang="en-US" branch="index" id="bm_id3149425"><bookmark_value>STYLE function</bookmark_value>
</bookmark>
<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_VORLAGE" id="bm_id3154342" localize="false"/>
-<paragraph xml-lang="en-US" id="hd_id3149425" role="heading" level="2" >STYLE</paragraph>
+<paragraph xml-lang="en-US" id="hd_id3149425" role="heading" level="2">STYLE</paragraph>
<paragraph xml-lang="en-US" id="par_id3150826" role="paragraph"><ahelp hid="HID_FUNC_VORLAGE">Applies a style to the cell containing the formula.</ahelp> After a set amount of time, another style can be applied. This function always returns the value 0, allowing you to add it to another function without changing the value. Together with the CURRENT function you can apply a color to a cell regardless of the value. For example: =...+STYLE(IF(CURRENT()&gt;3;"red";"green")) applies the style "red" to the cell if the value is greater than 3, otherwise the style "green" is applied. Both cell formats have to be defined beforehand.</paragraph>
- <paragraph xml-lang="en-US" id="hd_id3145373" role="heading" level="3" >Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3145373" role="heading" level="3">Syntax</paragraph>
<paragraph xml-lang="en-US" id="par_id3149302" role="code">STYLE("Style"; Time; "Style2")</paragraph>
<paragraph xml-lang="en-US" id="par_id3150596" role="paragraph">
<emph>Style</emph> is the name of a cell style assigned to the cell. Style names must be entered in quotation marks.</paragraph>
@@ -418,10 +418,10 @@
<emph>Time</emph> is an optional time range in seconds. If this parameter is missing the style will not be changed after a certain amount of time has passed.</paragraph>
<paragraph xml-lang="en-US" id="par_id3149520" role="paragraph">
<emph>Style2</emph> is the optional name of a cell style assigned to the cell after a certain amount of time has passed. If this parameter is missing "Default" is assumed.</paragraph>
- <paragraph xml-lang="en-US" id="par_idN111CA" role="paragraph" localize="false" >
+ <paragraph xml-lang="en-US" id="par_idN111CA" role="paragraph" localize="false">
<embedvar href="text/scalc/00/00000004.xhp#optional"/>
</paragraph>
- <paragraph xml-lang="en-US" id="hd_id3159254" role="heading" level="3" >Example</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3159254" role="heading" level="3">Example</paragraph>
<paragraph xml-lang="en-US" id="par_id3151374" role="paragraph">
<item type="input">=STYLE("Invisible";60;"Default")</item> formats the cell in transparent format for 60 seconds after the document was recalculated or loaded, then the Default format is assigned. Both cell formats have to be defined beforehand.</paragraph>
<paragraph xml-lang="en-US" id="par_id8056886" role="paragraph">Since STYLE() has a numeric return value of zero, this return value gets appended to a string. This can be avoided using T() as in the following example </paragraph>
@@ -434,15 +434,15 @@
<bookmark xml-lang="en-US" branch="index" id="bm_id3150430"><bookmark_value>CHOOSE function</bookmark_value>
</bookmark>
<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_WAHL" id="bm_id3153947" localize="false"/>
-<paragraph xml-lang="en-US" id="hd_id3150430" role="heading" level="2" >CHOOSE</paragraph>
+<paragraph xml-lang="en-US" id="hd_id3150430" role="heading" level="2">CHOOSE</paragraph>
<paragraph xml-lang="en-US" id="par_id3143270" role="paragraph"><ahelp hid="HID_FUNC_WAHL">Uses an index to return a value from a list of up to 30 values.</ahelp></paragraph>
- <paragraph xml-lang="en-US" id="hd_id3153533" role="heading" level="3" >Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3153533" role="heading" level="3">Syntax</paragraph>
<paragraph xml-lang="en-US" id="par_id3155425" role="code">CHOOSE(Index; Value1; ...; Value30)</paragraph>
<paragraph xml-lang="en-US" id="par_id3144755" role="paragraph">
<emph>Index</emph> is a reference or number between 1 and 30 indicating which value is to be taken from the list.</paragraph>
<paragraph xml-lang="en-US" id="par_id3149939" role="paragraph">
<emph>Value1...Value30</emph> is the list of values entered as a reference to a cell or as individual values.</paragraph>
- <paragraph xml-lang="en-US" id="hd_id3151253" role="heading" level="3" >Example</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3151253" role="heading" level="3">Example</paragraph>
<paragraph xml-lang="en-US" id="par_id3150625" role="paragraph">
<item type="input">=CHOOSE(A1;B1;B2;B3;"Today";"Yesterday";"Tomorrow")</item>, for example, returns the contents of cell B2 for A1 = 2; for A1 = 4, the function returns the text "Today".</paragraph>
</section>
@@ -450,10 +450,10 @@
<bookmark xml-lang="en-US" branch="index" id="bm_id3151001"><bookmark_value>HLOOKUP function</bookmark_value>
</bookmark>
<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_WVERWEIS" id="bm_id3149481" localize="false"/>
-<paragraph xml-lang="en-US" id="hd_id3151001" role="heading" level="2" >HLOOKUP</paragraph>
+<paragraph xml-lang="en-US" id="hd_id3151001" role="heading" level="2">HLOOKUP</paragraph>
<paragraph xml-lang="en-US" id="par_id3148688" role="paragraph"><ahelp hid="HID_FUNC_WVERWEIS">Searches for a value and reference to the cells below the selected area.</ahelp> This function verifies if the first row of an array contains a certain value. The function returns then the value in a row of the array, named in the <emph>Index</emph>, in the same column.</paragraph>
<embed href="text/shared/00/00000001.xhp#regulaer"/>
- <paragraph xml-lang="en-US" id="hd_id3154661" role="heading" level="3" >Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3154661" role="heading" level="3">Syntax</paragraph>
<paragraph xml-lang="en-US" id="par_id3146070" role="code">HLOOKUP(SearchCriterion; Array; Index; Sorted)</paragraph>
<paragraph xml-lang="en-US" id="par_id3148672" role="paragraph">See also: <link href="text/scalc/01/04060109.xhp#Section9" name="VLOOKUP">VLOOKUP</link> (columns and rows are exchanged)</paragraph>
<embed href="text/scalc/05/empty_cells.xhp#empty_cells"/>
@@ -462,14 +462,14 @@
<bookmark xml-lang="en-US" branch="index" id="bm_id3147321"><bookmark_value>ROW function</bookmark_value>
</bookmark>
<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_ZEILE" id="bm_id3147333" localize="false"/>
-<paragraph xml-lang="en-US" id="hd_id3147321" role="heading" level="2" >ROW</paragraph>
+<paragraph xml-lang="en-US" id="hd_id3147321" role="heading" level="2">ROW</paragraph>
<paragraph xml-lang="en-US" id="par_id3154564" role="paragraph"><ahelp hid="HID_FUNC_ZEILE">Returns the row number of a cell reference.</ahelp> If the reference is a cell, it returns the row number of the cell. If the reference is a cell range, it returns the corresponding row numbers in a one-column <link href="text/scalc/01/04060107.xhp#wasmatrix" name="Array">Array</link> if the formula is entered <link href="text/scalc/01/04060107.xhp#somatrixformel" name="as an array formula">as an array formula</link>. If the ROW function with a range reference is not used in an array formula, only the row number of the first range cell will be returned.</paragraph>
- <paragraph xml-lang="en-US" id="hd_id3158439" role="heading" level="3" >Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3158439" role="heading" level="3">Syntax</paragraph>
<paragraph xml-lang="en-US" id="par_id3154916" role="code">ROW(Reference)</paragraph>
<paragraph xml-lang="en-US" id="par_id3156336" role="paragraph">
<emph>Reference</emph> is a cell, an area, or the name of an area.</paragraph>
<paragraph xml-lang="en-US" id="par_id3151109" role="paragraph">If you do not indicate a reference, the row number of the cell in which the formula is entered will be found. <item type="productname">%PRODUCTNAME</item> Calc automatically sets the reference to the current cell.</paragraph>
- <paragraph xml-lang="en-US" id="hd_id3155609" role="heading" level="3" >Example</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3155609" role="heading" level="3">Example</paragraph>
<paragraph xml-lang="en-US" id="par_id3154830" role="paragraph">
<item type="input">=ROW(B3)</item> returns 3 because the reference refers to the third row in the table.</paragraph>
<paragraph xml-lang="en-US" id="par_id3147094" role="paragraph">
@@ -487,13 +487,13 @@
<bookmark xml-lang="en-US" branch="index" id="bm_id3145772"><bookmark_value>ROWS function</bookmark_value>
</bookmark>
<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_ZEILEN" id="bm_id3150667" localize="false"/>
-<paragraph xml-lang="en-US" id="hd_id3145772" role="heading" level="2" >ROWS</paragraph>
+<paragraph xml-lang="en-US" id="hd_id3145772" role="heading" level="2">ROWS</paragraph>
<paragraph xml-lang="en-US" id="par_id3148971" role="paragraph"><ahelp hid="HID_FUNC_ZEILEN">Returns the number of rows in a reference or array.</ahelp></paragraph>
- <paragraph xml-lang="en-US" id="hd_id3156051" role="heading" level="3" >Syntax</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3156051" role="heading" level="3">Syntax</paragraph>
<paragraph xml-lang="en-US" id="par_id3154357" role="code">ROWS(Array)</paragraph>
<paragraph xml-lang="en-US" id="par_id3155942" role="paragraph">
<emph>Array</emph> is the reference or named area whose total number of rows is to be determined.</paragraph>
- <paragraph xml-lang="en-US" id="hd_id3155869" role="heading" level="3" >Example</paragraph>
+ <paragraph xml-lang="en-US" id="hd_id3155869" role="heading" level="3">Example</paragraph>
<paragraph xml-lang="en-US" id="par_id3154725" role="paragraph">
<item type="input">=Rows(B5)</item> returns 1 because a cell only contains one row.</paragraph>
<paragraph xml-lang="en-US" id="par_id3150102" role="paragraph">