diff options
author | Frank Peters <fpe@openoffice.org> | 2004-08-18 09:59:46 +0000 |
---|---|---|
committer | Frank Peters <fpe@openoffice.org> | 2004-08-18 09:59:46 +0000 |
commit | 4f48bcc7937fbc586af7720d4225768ee6913e2a (patch) | |
tree | 431c32101c9b8349fe8f420615df796296d69a90 /helpcontent2/source/text/scalc/01/04060109.xhp |
#i33146# Initial checkin
Diffstat (limited to 'helpcontent2/source/text/scalc/01/04060109.xhp')
-rw-r--r-- | helpcontent2/source/text/scalc/01/04060109.xhp | 498 |
1 files changed, 498 insertions, 0 deletions
diff --git a/helpcontent2/source/text/scalc/01/04060109.xhp b/helpcontent2/source/text/scalc/01/04060109.xhp new file mode 100644 index 0000000000..8e532c9168 --- /dev/null +++ b/helpcontent2/source/text/scalc/01/04060109.xhp @@ -0,0 +1,498 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<!--*********************************************************************** + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc.. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textscalc0104060109xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Spreadsheet Functions</title>
+<filename>/text/scalc/01/04060109.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-16T12:30:37">UFI: brushed up this doc due to #i29327#
+dedr: reviewed
+UFI: added HYPERLINK function #i27972#; dedr. reviewed</lastedited>
+</history>
+</meta>
+<body> +<bookmark xml-lang="en-US" branch="index" id="bm_id3148522"><bookmark_value>spreadsheets; functions</bookmark_value>
+<bookmark_value>Function Wizard; spreadsheets</bookmark_value>
+<bookmark_value>functions; spreadsheets</bookmark_value> +</bookmark>
+<paragraph role="heading" id="hd_id3148522" xml-lang="en-US" level="1" l10n="U" oldref="1">Spreadsheet Functions</paragraph>
+<paragraph role="paragraph" id="par_id3144508" xml-lang="en-US" l10n="U" oldref="2"><variable id="tabelletext">This section contains descriptions of the <emph>Spreadsheet</emph> functions together with an example. +</variable></paragraph>
+<paragraph role="paragraph" id="par_id3153012" xml-lang="en-US" l10n="E" localize="false"><link href="text/scalc/00/00000404.xhp#efefft"><embedvar href="text/scalc/00/00000004.xhp#wie"/></link></paragraph> +<sort order="asc">
+<section id="Section1"> +<bookmark xml-lang="en-US" branch="index" id="bm_id3146968"><bookmark_value>ADDRESS function</bookmark_value> +</bookmark> +<bookmark xml-lang="en-US" branch="hid/HID_FUNC_ADRESSE" id="bm_id3147546" localize="false"/>
+<paragraph role="heading" id="hd_id3146968" xml-lang="en-US" level="2" l10n="U" oldref="3">ADDRESS</paragraph>
+<paragraph role="paragraph" id="par_id3155762" xml-lang="en-US" l10n="U" oldref="4"><ahelp hid="HID_FUNC_ADRESSE">Returns a cell address (reference) as text, according to the specified row and column numbers.</ahelp> Optionally, you can determine whether the address is interpreted as an absolute address (for example, $A$1) or as a relative address (as A1) or in a mixed form (A$1 or $A1). You can also specify the name of the sheet.</paragraph>
+<paragraph role="heading" id="hd_id3151196" xml-lang="en-US" level="3" l10n="U" oldref="5">Syntax</paragraph>
+<paragraph role="paragraph" id="par_id3154707" xml-lang="en-US" l10n="U" oldref="6">ADDRESS(row; column; abs;sheet)</paragraph>
+<paragraph role="paragraph" id="par_id3147505" xml-lang="en-US" l10n="U" oldref="7">
+<emph>row</emph> represents the row number for the cell reference</paragraph>
+<paragraph role="paragraph" id="par_id3145323" xml-lang="en-US" l10n="U" oldref="8">
+<emph>column</emph> represents the column number for the cell reference (the number, not the letter)</paragraph>
+<paragraph role="paragraph" id="par_id3153074" xml-lang="en-US" l10n="U" oldref="9">
+<emph>abs</emph> determines the type of reference:</paragraph>
+<paragraph role="paragraph" id="par_id3153298" xml-lang="en-US" l10n="U" oldref="10">1 or empty: absolute ($A$1)</paragraph>
+<paragraph role="paragraph" id="par_id3150431" xml-lang="en-US" l10n="U" oldref="11">2: row reference type is absolute; column reference is relative (A$1)</paragraph>
+<paragraph role="paragraph" id="par_id3146096" xml-lang="en-US" l10n="U" oldref="12">3: row (relative); column (absolute) ($A1)</paragraph>
+<paragraph role="paragraph" id="par_id3153334" xml-lang="en-US" l10n="U" oldref="13">4: relative (A1)</paragraph>
+<paragraph role="paragraph" id="par_id3153962" xml-lang="en-US" l10n="U" oldref="14">
+<emph>sheet</emph> represents the name of the sheet. It must be placed in double quotes.</paragraph>
+<paragraph role="heading" id="hd_id3147299" xml-lang="en-US" level="3" l10n="U" oldref="15">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3148744" xml-lang="en-US" l10n="U" oldref="16">ADDRESS(1; 1; 2; "Sheet2") returns the following: Sheet2.A$1</paragraph>
+<paragraph role="paragraph" id="par_id3159260" xml-lang="en-US" l10n="U" oldref="17">If the cell A1 in sheet 2 contains the value -6, you can refer indirectly to the referenced cell using a function in B2 by entering =ABS(INDIRECT(B2)). The result is the absolute value of the cell reference specified in B2, which in this case is 6.</paragraph>
+<embed href="text/shared/00/00000001.xhp#siehe"/>
+<paragraph role="paragraph" id="par_id3146325" xml-lang="en-US" l10n="U" oldref="18"><link href="text/scalc/01/04060109.xhp" name="COLUMN">COLUMN</link>, <link href="text/scalc/01/04060109.xhp" name="ROW">ROW</link>.</paragraph>
+</section>
+<section id="Section2"> +<bookmark xml-lang="en-US" branch="index" id="bm_id3150372"><bookmark_value>AREAS function</bookmark_value> +</bookmark> +<bookmark xml-lang="en-US" branch="hid/HID_FUNC_BEREICHE" id="bm_id3149721" localize="false"/>
+<paragraph role="heading" id="hd_id3150372" xml-lang="en-US" level="2" l10n="U" oldref="19">AREAS</paragraph>
+<paragraph role="paragraph" id="par_id3150036" xml-lang="en-US" l10n="U" oldref="20"><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 role="heading" id="hd_id3145222" xml-lang="en-US" level="3" l10n="U" oldref="21">Syntax</paragraph>
+<paragraph role="paragraph" id="par_id3155907" xml-lang="en-US" l10n="U" oldref="22">AREAS(Reference)</paragraph>
+<paragraph role="paragraph" id="par_id3153118" xml-lang="en-US" l10n="U" oldref="23">Reference represents the reference to a cell or cell range.</paragraph>
+<paragraph role="heading" id="hd_id3148891" xml-lang="en-US" level="3" l10n="U" oldref="24">Example</paragraph>
+<paragraph role="paragraph" id="par_id3149946" xml-lang="en-US" l10n="U" oldref="25">=AREAS(A1:B3;F2;G1) returns 3, as it is a reference to three cells and/or areas.</paragraph>
+<paragraph role="paragraph" id="par_id3146820" xml-lang="en-US" l10n="U" oldref="26">=AREAS(All) returns 1 if you have defined an area named <emph>All under Data - Define Range</emph>.</paragraph>
+<embed href="text/shared/00/00000001.xhp#siehe"/>
+<paragraph role="paragraph" id="par_id3152980" xml-lang="en-US" l10n="U" oldref="27"><link href="text/scalc/01/04060109.xhp" name="ADDRESS">ADDRESS</link>, <link href="text/scalc/01/04060109.xhp" name="COLUMN">COLUMN</link>, <link href="text/scalc/01/04060109.xhp" name="COLUMNS">COLUMNS</link>, <link href="text/scalc/01/04060109.xhp" name="INDEX">INDEX</link>, <link href="text/scalc/01/04060109.xhp" name="ROW">ROW</link>, <link href="text/scalc/01/04060109.xhp" name="ROWS">ROWS</link>.</paragraph>
+</section>
+<section id="Section3"> +<bookmark xml-lang="en-US" branch="index" id="bm_id3148727"><bookmark_value>DDE function</bookmark_value> +</bookmark> +<bookmark xml-lang="en-US" branch="hid/HID_FUNC_DDE" id="bm_id3154680" localize="false"/>
+<paragraph role="heading" id="hd_id3148727" xml-lang="en-US" level="2" l10n="U" oldref="28">DDE</paragraph>
+<paragraph role="paragraph" id="par_id3149434" xml-lang="en-US" l10n="U" oldref="29"><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 role="heading" id="hd_id3150700" xml-lang="en-US" level="3" l10n="U" oldref="30">Syntax</paragraph>
+<paragraph role="paragraph" id="par_id3148886" xml-lang="en-US" l10n="U" oldref="31">DDE(server;file;range;mode)</paragraph>
+<paragraph role="paragraph" id="par_id3154842" xml-lang="en-US" l10n="U" oldref="32">
+<emph>Server</emph> is the name of a server application. <item type="productname">%PRODUCTNAME</item> applications have the server name "Soffice".</paragraph>
+<paragraph role="paragraph" id="par_id3153034" xml-lang="en-US" l10n="U" oldref="33">
+<emph>File</emph> is the complete file name, including path specification.</paragraph>
+<paragraph role="paragraph" id="par_id3147472" xml-lang="en-US" l10n="U" oldref="34">
+<emph>Range</emph> is the area containing the data to be evaluated.</paragraph>
+<paragraph role="paragraph" id="par_id3152773" xml-lang="en-US" l10n="U" oldref="184">
+<emph>Mode</emph> is an optional parameter that controls the method by which the DDE server converts its data into numbers.</paragraph>
+<table id="tbl_id3155828">
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3154383" xml-lang="en-US" l10n="U" oldref="185">
+<emph>Mode</emph>
+</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3145146" xml-lang="en-US" l10n="U" oldref="186">
+<emph>Effect</emph>
+</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3154558" xml-lang="en-US" l10n="U" oldref="187">0 or missing</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3145596" xml-lang="en-US" l10n="U" oldref="188">Number format from the "Default" cell style</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3152785" xml-lang="en-US" l10n="U" oldref="189">1</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3154380" xml-lang="en-US" l10n="U" oldref="190">Data are always interpreted in the standard format for US English</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3150279" xml-lang="en-US" l10n="U" oldref="191">2</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3153775" xml-lang="en-US" l10n="U" oldref="192">Data are retrieved as text; no conversion to numbers</paragraph>
+</tablecell>
+</tablerow>
+</table>
+
+<paragraph role="heading" id="hd_id3149546" xml-lang="en-US" level="3" l10n="U" oldref="35">Example</paragraph>
+<paragraph role="paragraph" id="par_id3148734" xml-lang="en-US" l10n="U" oldref="36">=DDE("soffice";"c:\office\document\data1.sxc";"sheet1.A1") reads the contents of cell A1 in sheet1 of the <item type="productname">%PRODUCTNAME</item> Calc spreadsheet data1.sxc.</paragraph>
+<paragraph role="paragraph" id="par_id3153081" xml-lang="en-US" l10n="U" oldref="37">=DDE("soffice";"c:\office\document\motto.sxw";"Today's motto") returns a motto in the cell containing this formula. First, you must enter a line in the motto.sxw document containing the motto text and define it as the first line of a section named Today's Motto (in <item type="productname">%PRODUCTNAME</item> Writer under <emph>Insert - Section</emph>). If the motto is modified (and saved) in the <item type="productname">%PRODUCTNAME</item> Writer document, the motto is updated in all <item type="productname">%PRODUCTNAME</item> Calc cells in which this DDE link is defined.</paragraph>
+</section>
+<section id="Section4"> +<bookmark xml-lang="en-US" branch="index" id="bm_id3153114"><bookmark_value>ERRORTYPE function</bookmark_value> +</bookmark> +<bookmark xml-lang="en-US" branch="hid/HID_FUNC_FEHLERTYP" id="bm_id3153000" localize="false"/>
+<paragraph role="heading" id="hd_id3153114" xml-lang="en-US" level="2" l10n="U" oldref="38">ERRORTYPE</paragraph>
+<paragraph role="paragraph" id="par_id3148568" xml-lang="en-US" l10n="U" oldref="39"><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 role="note" id="par_id3149877" xml-lang="en-US" l10n="U" oldref="40">The Status Bar displays the predefined error code from <item type="productname">%PRODUCTNAME</item> if you click the cell containing the error.</paragraph>
+<paragraph role="heading" id="hd_id3154327" xml-lang="en-US" level="3" l10n="U" oldref="41">Syntax</paragraph>
+<paragraph role="paragraph" id="par_id3151322" xml-lang="en-US" l10n="U" oldref="42">ERRORTYPE(Reference)</paragraph>
+<paragraph role="paragraph" id="par_id3150132" xml-lang="en-US" l10n="U" oldref="43">
+<emph>Reference</emph> contains the address of the cell in which the error occurs.</paragraph>
+<paragraph role="heading" id="hd_id3145248" xml-lang="en-US" level="3" l10n="U" oldref="44">Example</paragraph>
+<paragraph role="paragraph" id="par_id3146904" xml-lang="en-US" l10n="U" oldref="45">If cell A1 displays Err:518, the function =ERRORTYPE(A1) returns the number 518.</paragraph>
+<embed href="text/shared/00/00000001.xhp#siehe"/>
+<paragraph role="paragraph" id="par_id3150933" xml-lang="en-US" l10n="U" oldref="46"><link href="text/scalc/01/04060104.xhp" name="ISREF">ISREF</link>, <link href="text/scalc/01/04060104.xhp" name="ISERR">ISERR</link>, <link href="text/scalc/01/04060104.xhp" name="ISERROR">ISERROR</link>, <link href="text/scalc/01/04060104.xhp" name="ISFORMULA">ISFORMULA</link>. <link href="text/scalc/01/04060104.xhp" name="ISNONTEXT">ISNONTEXT</link>, <link href="text/scalc/01/04060104.xhp" name="ISBLANK">ISBLANK</link>, <link href="text/scalc/01/04060104.xhp" name="ISLOGICAL">ISLOGICAL</link>, <link href="text/scalc/01/04060104.xhp" name="ISNA">ISNA</link>, <link href="text/scalc/01/04060104.xhp" name="ISTEXT">ISTEXT</link>, <link href="text/scalc/01/04060104.xhp" name="ISNUMBER">ISNUMBER</link>.</paragraph>
+</section>
+<section id="Section5"> +<bookmark xml-lang="en-US" branch="index" id="bm_id3151221"><bookmark_value>INDEX function</bookmark_value> +</bookmark> +<bookmark xml-lang="en-US" branch="hid/HID_FUNC_INDEX" id="bm_id3157989" localize="false"/>
+<paragraph role="heading" id="hd_id3151221" xml-lang="en-US" level="2" l10n="U" oldref="47">INDEX</paragraph>
+<paragraph role="paragraph" id="par_id3150268" xml-lang="en-US" l10n="U" oldref="48"><ahelp hid="HID_FUNC_INDEX">INDEX returns the content of a cell, specified by row and column number or an optional range name.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3156063" xml-lang="en-US" level="3" l10n="U" oldref="49">Syntax</paragraph>
+<paragraph role="paragraph" id="par_id3149007" xml-lang="en-US" l10n="U" oldref="50">INDEX(reference;row;column;range)</paragraph>
+<paragraph role="paragraph" id="par_id3153260" xml-lang="en-US" l10n="U" oldref="51">
+<emph>reference</emph> is a cell 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>
+<paragraph role="paragraph" id="par_id3145302" xml-lang="en-US" l10n="U" oldref="52">
+<emph>row</emph> (optional) represents the row number of the reference range, for which to return a value.</paragraph>
+<paragraph role="paragraph" id="par_id3154628" xml-lang="en-US" l10n="U" oldref="53">
+<emph>column</emph> (optional) represents the column number of the reference range, for which to return a value.</paragraph>
+<paragraph role="paragraph" id="par_id3155514" xml-lang="en-US" l10n="U" oldref="54">
+<emph>range</emph> (optional) represents the index of the subrange if referring to a multiple range.</paragraph>
+<paragraph role="heading" id="hd_id3145264" xml-lang="en-US" level="3" l10n="U" oldref="55">Example</paragraph>
+<paragraph role="paragraph" id="par_id3159112" xml-lang="en-US" l10n="U" oldref="56">=INDEX(Prices;4;1) 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 role="paragraph" id="par_id3150691" xml-lang="en-US" l10n="U" oldref="57">=INDEX(SumX;4;1) returns the value from the range <emph>SumX</emph> in row 4 and column 1 as defined in <emph>Insert - Names - Define</emph>.</paragraph>
+<paragraph role="paragraph" id="par_id3158419" xml-lang="en-US" l10n="U" oldref="58">=INDEX((multi);4;1) indicates the value contained in row 4 and column 1 of the (multiple) range, which you named under <emph>Insert - Names - Set</emph> as <emph>multi</emph>. The multiple range may consist of several rectangular ranges, each with a row 4 and column 1. If you now want to call the second block of this multiple range enter the number 2 as the <emph>range</emph> parameter.</paragraph>
+<paragraph role="paragraph" id="par_id3148595" xml-lang="en-US" l10n="U" oldref="59">=INDEX(A1:B6;1;1) indicates the value in the upper-left of the A1:B6 range.</paragraph>
+<embed href="text/shared/00/00000001.xhp#siehe"/>
+<paragraph role="paragraph" id="par_id3155985" xml-lang="en-US" l10n="U" oldref="61"><link href="text/scalc/01/04060109.xhp" name="VLOOKUP">VLOOKUP</link>, <link href="text/scalc/01/04060109.xhp" name="MATCH">MATCH</link>, <link href="text/scalc/01/04060109.xhp" name="LOOKUP">LOOKUP</link>, <link href="text/scalc/01/04060109.xhp" name="CHOOSE">CHOOSE</link>, <link href="text/scalc/01/04060109.xhp" name="HLOOKUP">HLOOKUP</link>.</paragraph>
+</section>
+<section id="Section6"> +<bookmark xml-lang="en-US" branch="index" id="bm_id3153181"><bookmark_value>INDIRECT function</bookmark_value> +</bookmark> +<bookmark xml-lang="en-US" branch="hid/HID_FUNC_INDIREKT" id="bm_id3153922" localize="false"/>
+<paragraph role="heading" id="hd_id3153181" xml-lang="en-US" level="2" l10n="U" oldref="62">INDIRECT</paragraph>
+<paragraph role="paragraph" id="par_id3147169" xml-lang="en-US" l10n="U" oldref="63"><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>
+<paragraph role="heading" id="hd_id3153717" xml-lang="en-US" level="3" l10n="U" oldref="64">Syntax</paragraph>
+<paragraph role="paragraph" id="par_id3149824" xml-lang="en-US" l10n="U" oldref="65">INDIRECT(ref)</paragraph>
+<paragraph role="paragraph" id="par_id3154317" xml-lang="en-US" l10n="U" oldref="66">
+<emph>ref</emph> represents a reference to a cell or an area (in text form) for which to return the contents.</paragraph>
+<paragraph role="heading" id="hd_id3150389" xml-lang="en-US" level="3" l10n="U" oldref="67">Example</paragraph>
+<paragraph role="paragraph" id="par_id3150608" xml-lang="en-US" l10n="U" oldref="68">=INDIRECT(A1) equals 100 if A1 contains C108 as a reference and cell C108 contains a value of 100.</paragraph>
+<paragraph role="paragraph" id="par_id3083286" xml-lang="en-US" l10n="U" oldref="181">=SUM(INDIRECT("a1:" & ADDRESS(1;3))) totals the cells in the area of A1 up to the cell, whose address is defined by row 1 and column 3. Therefore, area A1:C1 is totaled.</paragraph>
+<embed href="text/shared/00/00000001.xhp#siehe"/>
+<paragraph role="paragraph" id="par_id3152481" xml-lang="en-US" l10n="U" oldref="69"><link href="text/scalc/01/04060109.xhp" name="OFFSET">OFFSET</link>.</paragraph>
+</section>
+<section id="Section7"> +<bookmark xml-lang="en-US" branch="index" id="bm_id3154818"><bookmark_value>COLUMN function</bookmark_value> +</bookmark> +<bookmark xml-lang="en-US" branch="hid/HID_FUNC_SPALTE" id="bm_id3156378" localize="false"/>
+<paragraph role="heading" id="hd_id3154818" xml-lang="en-US" level="2" l10n="U" oldref="70">COLUMN</paragraph>
+<paragraph role="paragraph" id="par_id3149711" xml-lang="en-US" l10n="U" oldref="193"><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 role="heading" id="hd_id3149283" xml-lang="en-US" level="3" l10n="U" oldref="72">Syntax</paragraph>
+<paragraph role="paragraph" id="par_id3149447" xml-lang="en-US" l10n="U" oldref="73">COLUMN(reference)</paragraph>
+<paragraph role="paragraph" id="par_id3156310" xml-lang="en-US" l10n="U" oldref="74">
+<emph>Reference</emph> is the reference to a cell or cell area whose first column number is to be found.</paragraph>
+<paragraph role="paragraph" id="par_id3155837" xml-lang="en-US" l10n="U" oldref="194">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 role="heading" id="hd_id3152932" xml-lang="en-US" level="3" l10n="U" oldref="75">Example</paragraph>
+<paragraph role="paragraph" id="par_id3147571" xml-lang="en-US" l10n="U" oldref="76">=COLUMN(A1) equals 1. Column A is the first column in the table.</paragraph>
+<paragraph role="paragraph" id="par_id3147079" xml-lang="en-US" l10n="U" oldref="77">=COLUMN(C3:E3) equals 3. Column C is the third column in the table.</paragraph>
+<paragraph role="paragraph" id="par_id3146861" xml-lang="en-US" l10n="U" oldref="195">=COLUMN(D3:G10) returns 4 because column D is the fourth column in the table and the COLUMN function is not used as an array formula. (In this case, the first value of the array is always used as the result.)</paragraph>
+<paragraph role="paragraph" id="par_id3156320" xml-lang="en-US" l10n="U" oldref="196">{=COLUMN(B2:B7)} and =COLUMN(B2:B7) both return 2 because the reference only contains column B as the second column in the table. Because single-column areas have only one column number, it does not make a difference whether or not the formula is used as an array formula.</paragraph>
+<paragraph role="paragraph" id="par_id3150872" xml-lang="en-US" l10n="U" oldref="197">=COLUMN() returns 3 if the formula was entered in column C.</paragraph>
+<paragraph role="paragraph" id="par_id3153277" xml-lang="en-US" l10n="U" oldref="198">{=COLUMN(Rabbit)} returns the single-row array (3, 4) if "Rabbit" is the named area (C1:D3).</paragraph>
+<embed href="text/shared/00/00000001.xhp#siehe"/>
+<paragraph role="paragraph" id="par_id3156100" xml-lang="en-US" l10n="U" oldref="78"><link href="text/scalc/01/04060109.xhp" name="COLUMNS">COLUMNS</link>, <link href="text/scalc/01/04060109.xhp" name="ROWS">ROWS</link>.</paragraph>
+</section>
+<section id="Section8"> +<bookmark xml-lang="en-US" branch="index" id="bm_id3154643"><bookmark_value>COLUMNS function</bookmark_value> +</bookmark> +<bookmark xml-lang="en-US" branch="hid/HID_FUNC_SPALTEN" id="bm_id3156134" localize="false"/>
+<paragraph role="heading" id="hd_id3154643" xml-lang="en-US" level="2" l10n="U" oldref="79">COLUMNS</paragraph>
+<paragraph role="paragraph" id="par_id3151182" xml-lang="en-US" l10n="U" oldref="80"><ahelp hid="HID_FUNC_SPALTEN">Returns the number of columns in the given reference.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3149141" xml-lang="en-US" level="3" l10n="U" oldref="81">Syntax</paragraph>
+<paragraph role="paragraph" id="par_id3154047" xml-lang="en-US" l10n="U" oldref="82">COLUMNS(array)</paragraph>
+<paragraph role="paragraph" id="par_id3154745" xml-lang="en-US" l10n="U" oldref="83">
+<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 role="heading" id="hd_id3153622" xml-lang="en-US" level="3" l10n="U" oldref="84">Example</paragraph>
+<paragraph role="paragraph" id="par_id3149577" xml-lang="en-US" l10n="U" oldref="200">=Columns(B5) returns 1 because a cell only contains one column.</paragraph>
+<paragraph role="paragraph" id="par_id3145649" xml-lang="en-US" l10n="U" oldref="85">=COLUMNS(A1:C5) equals 3. The reference comprises three columns.</paragraph>
+<paragraph role="paragraph" id="par_id3155846" xml-lang="en-US" l10n="U" oldref="201">=COLUMNS(Rabbit) returns 2 if "Rabbit" is the named range (C1:D3).</paragraph>
+<embed href="text/shared/00/00000001.xhp#siehe"/>
+<paragraph role="paragraph" id="par_id3146790" xml-lang="en-US" l10n="U" oldref="86"><link href="text/scalc/01/04060109.xhp" name="COLUMN">COLUMN</link>, <link href="text/scalc/01/04060109.xhp" name="ROWS">ROWS</link>.</paragraph>
+</section>
+<section id="Section9"> +<bookmark xml-lang="en-US" branch="index" id="bm_id3153152"><bookmark_value>vertical search function</bookmark_value>
+<bookmark_value>VLOOKUP function</bookmark_value> +</bookmark> +<bookmark xml-lang="en-US" branch="hid/HID_FUNC_SVERWEIS" id="bm_id3152809" localize="false"/>
+<paragraph role="heading" id="hd_id3153152" xml-lang="en-US" level="2" l10n="U" oldref="87">VLOOKUP</paragraph>
+<paragraph role="paragraph" id="par_id3149984" xml-lang="en-US" l10n="U" oldref="88"><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 to the same line of a specific array column named by index.</paragraph>
+<embed href="text/shared/00/00000001.xhp#regulaer"/>
+<paragraph role="heading" id="hd_id3146898" xml-lang="en-US" level="3" l10n="U" oldref="89">Syntax</paragraph>
+<paragraph role="paragraph" id="par_id3150156" xml-lang="en-US" l10n="U" oldref="90">=VLOOKUP(Search criterion;array;index;sort order)</paragraph>
+<paragraph role="paragraph" id="par_id3149289" xml-lang="en-US" l10n="U" oldref="91">
+<emph>Search criterion</emph> is the value searched for in the first column of the array.</paragraph>
+<paragraph role="paragraph" id="par_id3153884" xml-lang="en-US" l10n="U" oldref="92">
+<emph>array</emph> is the reference, which is to comprise at least two columns.</paragraph>
+<paragraph role="paragraph" id="par_id3156005" xml-lang="en-US" l10n="U" oldref="93">
+<emph>index</emph> is the number of the column in the array that contains the value to be returned. The first column has the number 1.</paragraph>
+<paragraph role="paragraph" id="par_id3151208" xml-lang="en-US" l10n="U" oldref="94">
+<emph>Sort order</emph> is an optional parameter that indicates whether the first column in the array is sorted in ascending order. Enter the Boolean value FALSE 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>
+<paragraph role="heading" id="hd_id3147487" xml-lang="en-US" level="3" l10n="U" oldref="95">Example</paragraph>
+<paragraph role="paragraph" id="par_id3154129" xml-lang="en-US" l10n="U" oldref="96">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 100, E1 contains the name <emph>Vegetable Soup</emph>, and so forth, for 100 menu items. The numbers in column D are sorted in ascending order; thus, the optional <emph>Sort order</emph> parameter is not necessary.</paragraph>
+<paragraph role="paragraph" id="par_id3145663" xml-lang="en-US" l10n="U" oldref="97">Enter the following formula in B1:</paragraph>
+<paragraph role="paragraph" id="par_id3151172" xml-lang="en-US" l10n="U" oldref="98">=VLOOKUP(A1; D1:E100; 2)</paragraph>
+<paragraph role="paragraph" id="par_id3149200" xml-lang="en-US" l10n="U" oldref="99">As soon as you enter a number in A1 B1 will show the corresponding text contained in the second column of reference D1:E100. Entering a nonexistent number displays the text with the next number down. To prevent this, enter FALSE as the last parameter in the formula so that an error message is generated when a nonexistent number is entered.</paragraph>
+<embed href="text/shared/00/00000001.xhp#siehe"/>
+<paragraph role="paragraph" id="par_id3159339" xml-lang="en-US" l10n="U" oldref="100"><link href="text/scalc/01/04060109.xhp" name="INDEX">INDEX</link>, <link href="text/scalc/01/04060109.xhp" name="HLOOKUP">HLOOKUP</link>, <link href="text/scalc/01/04060109.xhp" name="LOOKUP">LOOKUP</link>, <link href="text/scalc/01/04060109.xhp" name="MATCH">MATCH</link>.</paragraph>
+</section>
+<section id="Section10"> +<bookmark xml-lang="en-US" branch="index" id="bm_id3153905"><bookmark_value>sheet numbers; looking up</bookmark_value>
+<bookmark_value>SHEET function</bookmark_value> +</bookmark> +<bookmark xml-lang="en-US" branch="hid/HID_FUNC_TABELLE" id="bm_id3154693" localize="false"/>
+<paragraph role="heading" id="hd_id3153905" xml-lang="en-US" level="2" l10n="U" oldref="215">SHEET</paragraph>
+<paragraph role="paragraph" id="par_id3150309" xml-lang="en-US" l10n="U" oldref="216"><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 role="heading" id="hd_id3148564" xml-lang="en-US" level="3" l10n="U" oldref="217">Syntax</paragraph>
+<paragraph role="paragraph" id="par_id3153095" xml-lang="en-US" l10n="U" oldref="218">SHEET(Reference)</paragraph>
+<paragraph role="paragraph" id="par_id3154588" xml-lang="en-US" l10n="U" oldref="219">
+<emph>Reference</emph> is optional and is the reference to a cell, an area, or a sheet name string.</paragraph>
+<paragraph role="heading" id="hd_id3155399" xml-lang="en-US" level="3" l10n="U" oldref="220">Example</paragraph>
+<paragraph role="paragraph" id="par_id3146988" xml-lang="en-US" l10n="U" oldref="221">=SHEET(Sheet2.A1) returns 2 if Sheet2 is the second sheet in the spreadsheet document.</paragraph>
+</section>
+<section id="Section11"> +<bookmark xml-lang="en-US" branch="index" id="bm_id3148829"><bookmark_value>number of sheets; function</bookmark_value>
+<bookmark_value>SHEETS function</bookmark_value> +</bookmark> +<bookmark xml-lang="en-US" branch="hid/HID_FUNC_TABELLEN" id="bm_id3150524" localize="false"/>
+<paragraph role="heading" id="hd_id3148829" xml-lang="en-US" level="2" l10n="U" oldref="222">SHEETS</paragraph>
+<paragraph role="paragraph" id="par_id3148820" xml-lang="en-US" l10n="U" oldref="223"><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 role="heading" id="hd_id3154220" xml-lang="en-US" level="3" l10n="U" oldref="224">Syntax</paragraph>
+<paragraph role="paragraph" id="par_id3150777" xml-lang="en-US" l10n="U" oldref="225">SHEETS(Reference)</paragraph>
+<paragraph role="paragraph" id="par_id3153060" xml-lang="en-US" l10n="U" oldref="226">
+<emph>Reference</emph> is the reference to a sheet or an area. This parameter is optional.</paragraph>
+<paragraph role="heading" id="hd_id3149766" xml-lang="en-US" level="3" l10n="U" oldref="227">Example</paragraph>
+<paragraph role="paragraph" id="par_id3150507" xml-lang="en-US" l10n="U" oldref="228">=SHEETS(Sheet1.A1:Sheet3.G12) returns 3 if Sheet1, Sheet2, and Sheet3 exist in the sequence indicated.</paragraph>
+</section>
+<section id="Section12"> +<bookmark xml-lang="en-US" branch="index" id="bm_id3158407"><bookmark_value>MATCH function</bookmark_value> +</bookmark> +<bookmark xml-lang="en-US" branch="hid/HID_FUNC_VERGLEICH" id="bm_id3154210" localize="false"/>
+<paragraph role="heading" id="hd_id3158407" xml-lang="en-US" level="2" l10n="U" oldref="101">MATCH</paragraph>
+<paragraph role="paragraph" id="par_id3154896" xml-lang="en-US" l10n="U" oldref="102"><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 role="heading" id="hd_id3153834" xml-lang="en-US" level="3" l10n="U" oldref="103">Syntax</paragraph>
+<paragraph role="paragraph" id="par_id3159152" xml-lang="en-US" l10n="U" oldref="104">MATCH(search criterion;lookup_array;type)</paragraph>
+<paragraph role="paragraph" id="par_id3149336" xml-lang="en-US" l10n="U" oldref="105">
+<emph>Search Criterion</emph> is the value which is to be searched for in the single-row or single-column array.</paragraph>
+<paragraph role="paragraph" id="par_id3159167" xml-lang="en-US" l10n="U" oldref="106">
+<emph>lookup_array</emph> is the reference searched. A lookup array can be a single row or column, or part of a single row or column.</paragraph>
+<paragraph role="paragraph" id="par_id3147239" xml-lang="en-US" l10n="U" oldref="107">
+<emph>Type</emph> may take the values 1, 0, or -1. If Type = 1 or if this optional parameter is missing, it is assumed that the first column of the search array is sorted in ascending order. If Type = -1 it is assumed that the column in sorted in descending order. This corresponds to the same function in Microsoft Excel.</paragraph>
+<paragraph role="paragraph" id="par_id3154265" xml-lang="en-US" l10n="U" oldref="231">If Type = 0, only exact matches are found. If the search criterion is found more than once, the function returns the first one found. Only if Type = 0 can you search for regular expressions.</paragraph>
+<paragraph role="paragraph" id="par_id3147528" xml-lang="en-US" l10n="U" oldref="232">If Type = 1 or the third parameter is missing, 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 role="heading" id="hd_id3155119" xml-lang="en-US" level="3" l10n="U" oldref="108">Example</paragraph>
+<paragraph role="paragraph" id="par_id3155343" xml-lang="en-US" l10n="U" oldref="109">=MATCH(200; D1:D100) 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>
+<embed href="text/shared/00/00000001.xhp#siehe"/>
+<paragraph role="paragraph" id="par_id3148911" xml-lang="en-US" l10n="U" oldref="110"><link href="text/scalc/01/04060109.xhp" name="INDEX">INDEX</link>, <link href="text/scalc/01/04060109.xhp" name="VLOOKUP">VLOOKUP</link>, <link href="text/scalc/01/04060109.xhp" name="HLOOKUP">HLOOKUP</link>.</paragraph>
+</section>
+<section id="Section13"> +<bookmark xml-lang="en-US" branch="index" id="bm_id3158430"><bookmark_value>OFFSET function</bookmark_value> +</bookmark> +<bookmark xml-lang="en-US" branch="hid/HID_FUNC_VERSCHIEBUNG" id="bm_id3148926" localize="false"/>
+<paragraph role="heading" id="hd_id3158430" xml-lang="en-US" level="2" l10n="U" oldref="111">OFFSET</paragraph>
+<paragraph role="paragraph" id="par_id3149167" xml-lang="en-US" l10n="U" oldref="112"><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 role="heading" id="hd_id3146952" xml-lang="en-US" level="3" l10n="U" oldref="113">Syntax</paragraph>
+<paragraph role="paragraph" id="par_id3159194" xml-lang="en-US" l10n="U" oldref="114">OFFSET(reference;rows;columns;height;width)</paragraph>
+<paragraph role="paragraph" id="par_id3152360" xml-lang="en-US" l10n="U" oldref="115">
+<emph>Reference</emph> is the cell from which the function searches for the new reference.</paragraph>
+<paragraph role="paragraph" id="par_id3156032" xml-lang="en-US" l10n="U" oldref="116">
+<emph>Rows</emph> is the number of cells by which the reference was corrected up (negative value) or down.</paragraph>
+<paragraph role="paragraph" id="par_id3166458" xml-lang="en-US" l10n="U" oldref="117">
+<emph>Columns</emph> is the number of columns by which the reference was corrected to the left (negative value) or to the right.</paragraph>
+<paragraph role="paragraph" id="par_id3150708" xml-lang="en-US" l10n="U" oldref="118">
+<emph>Height</emph> is the optional vertical height for an area that starts at the new reference position.</paragraph>
+<paragraph role="paragraph" id="par_id3147278" xml-lang="en-US" l10n="U" oldref="119">
+<emph>Width</emph> is the optional horizontal width for an area that starts at the new reference position.</paragraph>
+<paragraph role="heading" id="hd_id3155586" xml-lang="en-US" level="3" l10n="U" oldref="120">Example</paragraph>
+<paragraph role="paragraph" id="par_id3149744" xml-lang="en-US" l10n="U" oldref="121">=OFFSET(A1; 2, 2) returns the value in cell C3 (A1 moved by two rows and two columns down). If C3 contains the value 100 this function returns the value 100.</paragraph>
+<paragraph role="paragraph" id="par_id3153739" xml-lang="en-US" l10n="U" oldref="122">=SUM(OFFSET(A1; 2; 2; 5; 6)) determines the total of the area that starts in cell C3 and has a height of 5 rows and a width of 6 columns (area=C3:H7).</paragraph>
+</section>
+<section id="Section14"> +<bookmark xml-lang="en-US" branch="index" id="bm_id3159273"><bookmark_value>LOOKUP function</bookmark_value> +</bookmark> +<bookmark xml-lang="en-US" branch="hid/HID_FUNC_VERWEIS" id="bm_id3152877" localize="false"/>
+<paragraph role="heading" id="hd_id3159273" xml-lang="en-US" level="2" l10n="U" oldref="123">LOOKUP</paragraph>
+<paragraph role="paragraph" id="par_id3153389" xml-lang="en-US" l10n="U" oldref="124"><ahelp hid="HID_FUNC_VERWEIS">Returns the contents of a cell either from a one-row or one-column range or from an array.</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" name="VLOOKUP">VLOOKUP</link> and <link href="text/scalc/01/04060109.xhp" 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, otherwise the search will not return any usable results.</paragraph>
+<embed href="text/shared/00/00000001.xhp#regulaer"/>
+<paragraph role="heading" id="hd_id3152947" xml-lang="en-US" level="3" l10n="U" oldref="125">Syntax</paragraph>
+<paragraph role="paragraph" id="par_id3154104" xml-lang="en-US" l10n="U" oldref="126">LOOKUP(Search criterion;Search vector;result_vector)</paragraph>
+<paragraph role="paragraph" id="par_id3150646" xml-lang="en-US" l10n="U" oldref="127">
+<emph>Search criterion</emph> is the value to be searched for; entered either directly or as a reference.</paragraph>
+<paragraph role="paragraph" id="par_id3154854" xml-lang="en-US" l10n="U" oldref="128">
+<emph>Search vector</emph> is the single-row or single-column area to be searched.</paragraph>
+<paragraph role="paragraph" id="par_id3149925" xml-lang="en-US" l10n="U" oldref="129">
+<emph>result_vector</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>
+<paragraph role="heading" id="hd_id3148624" xml-lang="en-US" level="3" l10n="U" oldref="130">Example</paragraph>
+<paragraph role="paragraph" id="par_id3149809" xml-lang="en-US" l10n="U" oldref="131">=LOOKUP(A1; D1:D100;F1:F100) 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>
+<embed href="text/shared/00/00000001.xhp#siehe"/>
+<paragraph role="paragraph" id="par_id3153355" xml-lang="en-US" l10n="U" oldref="132"><link href="text/scalc/01/04060109.xhp" name="HLOOKUP">HLOOKUP</link>, <link href="text/scalc/01/04060109.xhp" name="INDEX">INDEX</link>, <link href="text/scalc/01/04060109.xhp" name="VLOOKUP">VLOOKUP</link>.</paragraph>
+</section>
+<section id="Section15"> +<bookmark xml-lang="en-US" branch="index" id="bm_id3149425"><bookmark_value>STYLE function</bookmark_value> +</bookmark> +<bookmark xml-lang="en-US" branch="hid/HID_FUNC_VORLAGE" id="bm_id3154342" localize="false"/>
+<paragraph role="heading" id="hd_id3149425" xml-lang="en-US" level="2" l10n="U" oldref="133">STYLE</paragraph>
+<paragraph role="paragraph" id="par_id3150826" xml-lang="en-US" l10n="U" oldref="134"><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()>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 role="heading" id="hd_id3145373" xml-lang="en-US" level="3" l10n="U" oldref="135">Syntax</paragraph>
+<paragraph role="paragraph" id="par_id3149302" xml-lang="en-US" l10n="U" oldref="136">STYLE(style;time;style2)</paragraph>
+<paragraph role="paragraph" id="par_id3150596" xml-lang="en-US" l10n="U" oldref="137">
+<emph>Style</emph> is the name of a cell style assigned to the cell. Style names must be entered in quotation marks.</paragraph>
+<paragraph role="paragraph" id="par_id3156149" xml-lang="en-US" l10n="U" oldref="138">
+<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 role="paragraph" id="par_id3149520" xml-lang="en-US" l10n="U" oldref="139">
+<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 "Standard" is assumed.</paragraph>
+<paragraph role="heading" id="hd_id3159254" xml-lang="en-US" level="3" l10n="U" oldref="140">Example</paragraph>
+<paragraph role="paragraph" id="par_id3151374" xml-lang="en-US" l10n="U" oldref="141">=STYLE("Invisible";60;"Default") 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>
+</section>
+<section id="Section16"> +<bookmark xml-lang="en-US" branch="index" id="bm_id3150430"><bookmark_value>CHOOSE function</bookmark_value> +</bookmark> +<bookmark xml-lang="en-US" branch="hid/HID_FUNC_WAHL" id="bm_id3153947" localize="false"/>
+<paragraph role="heading" id="hd_id3150430" xml-lang="en-US" level="2" l10n="U" oldref="142">CHOOSE</paragraph>
+<paragraph role="paragraph" id="par_id3143270" xml-lang="en-US" l10n="U" oldref="143"><ahelp hid="HID_FUNC_WAHL">Uses an index to return a value from a list of up to 30 values.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3153533" xml-lang="en-US" level="3" l10n="U" oldref="144">Syntax</paragraph>
+<paragraph role="paragraph" id="par_id3155425" xml-lang="en-US" l10n="U" oldref="145">CHOOSE(Index; value1;...value30)</paragraph>
+<paragraph role="paragraph" id="par_id3144755" xml-lang="en-US" l10n="U" oldref="146">
+<emph>Index</emph> is a reference or number between 1 and 30 indicating which value is to be taken from the list.</paragraph>
+<paragraph role="paragraph" id="par_id3149939" xml-lang="en-US" l10n="U" oldref="147">
+<emph>Value1...Value30</emph> is the list of values entered as a reference to a cell or as individual values.</paragraph>
+<paragraph role="heading" id="hd_id3151253" xml-lang="en-US" level="3" l10n="U" oldref="148">Example</paragraph>
+<paragraph role="paragraph" id="par_id3150625" xml-lang="en-US" l10n="U" oldref="149">=CHOOSE(A1; B1; B2; B3; "Today"; "Yesterday"; "Tomorrow"), for example, returns the contents of cell B2 for A1 = 2; for A1 = 4, the function returns the text "Today".</paragraph>
+<embed href="text/shared/00/00000001.xhp#siehe"/>
+<paragraph role="paragraph" id="par_id3146929" xml-lang="en-US" l10n="U" oldref="150"><link href="text/scalc/01/04060109.xhp" name="INDEX">INDEX</link></paragraph>
+</section>
+<section id="Section17"> +<bookmark xml-lang="en-US" branch="index" id="bm_id3151001"><bookmark_value>HLOOKUP function</bookmark_value> +</bookmark> +<bookmark xml-lang="en-US" branch="hid/HID_FUNC_WVERWEIS" id="bm_id3149481" localize="false"/>
+<paragraph role="heading" id="hd_id3151001" xml-lang="en-US" level="2" l10n="U" oldref="151">HLOOKUP</paragraph>
+<paragraph role="paragraph" id="par_id3148688" xml-lang="en-US" l10n="U" oldref="152"><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 role="heading" id="hd_id3154661" xml-lang="en-US" level="3" l10n="U" oldref="153">Syntax</paragraph>
+<paragraph role="paragraph" id="par_id3146070" xml-lang="en-US" l10n="U" oldref="154">=HLOOKUP(search_criteria;array;Index;sorted)</paragraph>
+<paragraph role="paragraph" id="par_id3148672" xml-lang="en-US" l10n="U" oldref="155">See also:<link href="text/scalc/01/04060109.xhp" name="VLOOKUP">VLOOKUP</link> (columns and rows are exchanged)</paragraph>
+<embed href="text/shared/00/00000001.xhp#siehe"/>
+<paragraph role="paragraph" id="par_id3159388" xml-lang="en-US" l10n="U" oldref="156"><link href="text/scalc/01/04060109.xhp" name="INDEX">INDEX</link>, <link href="text/scalc/01/04060109.xhp" name="LOOKUP">LOOKUP</link>, <link href="text/scalc/01/04060109.xhp" name="MATCH">MATCH</link>, <link href="text/scalc/01/04060109.xhp" name="VLOOKUP">VLOOKUP</link>.</paragraph>
+</section>
+<section id="Section18"> +<bookmark xml-lang="en-US" branch="index" id="bm_id3147321"><bookmark_value>ROW function</bookmark_value> +</bookmark> +<bookmark xml-lang="en-US" branch="hid/HID_FUNC_ZEILE" id="bm_id3147333" localize="false"/>
+<paragraph role="heading" id="hd_id3147321" xml-lang="en-US" level="2" l10n="U" oldref="157">ROW</paragraph>
+<paragraph role="paragraph" id="par_id3154564" xml-lang="en-US" l10n="U" oldref="203"><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 role="heading" id="hd_id3158439" xml-lang="en-US" level="3" l10n="U" oldref="159">Syntax</paragraph>
+<paragraph role="paragraph" id="par_id3154916" xml-lang="en-US" l10n="U" oldref="160">ROW(reference)</paragraph>
+<paragraph role="paragraph" id="par_id3156336" xml-lang="en-US" l10n="U" oldref="161">
+<emph>Reference</emph> is a cell, an area, or the name of an area.</paragraph>
+<paragraph role="paragraph" id="par_id3151109" xml-lang="en-US" l10n="U" oldref="204">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 role="heading" id="hd_id3155609" xml-lang="en-US" level="3" l10n="U" oldref="162">Example</paragraph>
+<paragraph role="paragraph" id="par_id3154830" xml-lang="en-US" l10n="U" oldref="205">=ROW(B3) returns 3 because the reference refers to the third row in the table.</paragraph>
+<paragraph role="paragraph" id="par_id3147094" xml-lang="en-US" l10n="U" oldref="206">{=ROW(D5:D8)} returns the single-column array (5, 6, 7, 8) because the reference specified contains rows 5 through 8.</paragraph>
+<paragraph role="paragraph" id="par_id3153701" xml-lang="en-US" l10n="U" oldref="207">=ROW(D5:D8) returns 5 because the ROW function is not used as array formula and only the number of the first row of the reference is returned.</paragraph>
+<paragraph role="paragraph" id="par_id3150996" xml-lang="en-US" l10n="U" oldref="208">{=ROW(A1:E1)} and =ROW(A1:E1) both return 1 because the reference only contains row 1 as the first column in the table. (Because single-row areas only have one row number it does not make any difference whether or not the formula is used as an array formula.)</paragraph>
+<paragraph role="paragraph" id="par_id3153671" xml-lang="en-US" l10n="U" oldref="209">=ROW() returns 3 if the formula was entered in row 3.</paragraph>
+<paragraph role="paragraph" id="par_id3153790" xml-lang="en-US" l10n="U" oldref="210">{=ROW(Rabbit)} returns the single-column array (1, 2, 3) if "Rabbit" is the named area (C1:D3).</paragraph>
+<embed href="text/shared/00/00000001.xhp#siehe"/>
+<paragraph role="paragraph" id="par_id3150415" xml-lang="en-US" l10n="U" oldref="165"><link href="text/scalc/01/04060109.xhp" name="COLUMN">COLUMN</link>, <link href="text/scalc/01/04060109.xhp" name="ROWS">ROWS</link>.</paragraph>
+</section>
+<section id="Section19"> +<bookmark xml-lang="en-US" branch="index" id="bm_id3145772"><bookmark_value>ROWS function</bookmark_value> +</bookmark> +<bookmark xml-lang="en-US" branch="hid/HID_FUNC_ZEILEN" id="bm_id3150667" localize="false"/>
+<paragraph role="heading" id="hd_id3145772" xml-lang="en-US" level="2" l10n="U" oldref="166">ROWS</paragraph>
+<paragraph role="paragraph" id="par_id3148971" xml-lang="en-US" l10n="U" oldref="167"><ahelp hid="HID_FUNC_ZEILEN">Returns the number of rows in a reference or array.</ahelp></paragraph>
+<paragraph role="heading" id="hd_id3156051" xml-lang="en-US" level="3" l10n="U" oldref="168">Syntax</paragraph>
+<paragraph role="paragraph" id="par_id3154357" xml-lang="en-US" l10n="U" oldref="169">ROWS(array)</paragraph>
+<paragraph role="paragraph" id="par_id3155942" xml-lang="en-US" l10n="U" oldref="170">
+<emph>array</emph> is the reference or named area whose total number of rows is to be determined.</paragraph>
+<paragraph role="heading" id="hd_id3155869" xml-lang="en-US" level="3" l10n="U" oldref="171">Example</paragraph>
+<paragraph role="paragraph" id="par_id3154725" xml-lang="en-US" l10n="U" oldref="212">=Rows(B5) returns 1 because a cell only contains one row.</paragraph>
+<paragraph role="paragraph" id="par_id3150102" xml-lang="en-US" l10n="U" oldref="172">=ROWS(A10:B12) returns 3.</paragraph>
+<paragraph role="paragraph" id="par_id3155143" xml-lang="en-US" l10n="U" oldref="213">=ROWS(Rabbit) returns 3 if "Rabbit" is the named area (C1:D3).</paragraph>
+<embed href="text/shared/00/00000001.xhp#siehe"/>
+<paragraph role="paragraph" id="par_id3155541" xml-lang="en-US" l10n="U" oldref="174"><link href="text/scalc/01/04060109.xhp" name="COLUMNS">COLUMNS</link>, <link href="text/scalc/01/04060109.xhp" name="ROW">ROW</link>.</paragraph>
+</section>
+<section id="Section20"> +<bookmark xml-lang="en-US" branch="hid/HID_FUNC_HYPERLINK" id="bm_id8036439" localize="false"/> +<bookmark xml-lang="en-US" branch="index" id="bm_id9959410"><bookmark_value>HYPERLINK function</bookmark_value> +</bookmark>
+<paragraph role="heading" id="par_idN11798" xml-lang="en-US" level="2" l10n="NEW">HYPERLINK</paragraph>
+<paragraph role="paragraph" id="par_idN117F1" xml-lang="en-US" l10n="NEW"><ahelp hid="HID_FUNC_HYPERLINK">When you click a cell that contains the HYPERLINK function, the hyperlink opens.</ahelp></paragraph>
+<paragraph role="paragraph" id="par_idN11800" xml-lang="en-US" l10n="NEW">If you use the optional <emph>cell text</emph> parameter, the formula locates the URL, and then displays the text.</paragraph>
+<paragraph role="tip" id="par_idN11803" xml-lang="en-US" l10n="NEW">To open a hyperlinked cell with the keyboard, select the cell, press F2 to enter the Edit mode, move the cursor in front of the hyperlink, press Shift+F10, and then choose <emph>Open Hyperlink</emph>.</paragraph>
+<paragraph role="heading" id="par_idN1180A" xml-lang="en-US" level="3" l10n="NEW">Syntax</paragraph>
+<paragraph role="paragraph" id="par_idN1180E" xml-lang="en-US" l10n="NEW">HYPERLINK (URL) or HYPERLINK (URL;cell text)</paragraph>
+<paragraph role="paragraph" id="par_idN11811" xml-lang="en-US" l10n="NEW">
+<emph>URL</emph> specifies the link target. The optional <emph>cell text</emph> parameter is the text that is displayed in the cell and the result of the function. If the <emph>cell text</emph> parameter is not specified, the <emph>URL</emph> is displayed in the cell text and in the result of the function.</paragraph>
+<paragraph role="heading" id="par_idN11823" xml-lang="en-US" level="3" l10n="NEW">Example</paragraph>
+<paragraph role="paragraph" id="par_idN11827" xml-lang="en-US" l10n="NEW">=HYPERLINK("http://www.example.org") displays the text "http://www.example.org" in the cell and executes the hyperlink http://www.example.org when clicked.</paragraph>
+<paragraph role="paragraph" id="par_idN1182A" xml-lang="en-US" l10n="NEW">=HYPERLINK("http://www.example.org";"Click here") displays the text "Click here" in the cell and executes the hyperlink http://www.example.org when clicked.</paragraph>
+<paragraph role="paragraph" id="par_idN1182D" xml-lang="en-US" l10n="NEW">=HYPERLINK($B4) where cell B4 contains "http://www.example.org". The function adds "http://www.example.org" to the URL of the hyperlink cell and returns the same text which is used as formula result.</paragraph>
+<paragraph role="paragraph" id="par_idN11830" xml-lang="en-US" l10n="NEW">=HYPERLINK("http://www.";"Click ") & "example.org" displays the text "Click example.org" in the cell and executes the hyperlink http://www.example.org when clicked.</paragraph>
+</section> +</sort>
+</body>
+</helpdocument>
|