summaryrefslogtreecommitdiff
path: root/source/text/shared/optionen/01060900.xhp
blob: 184386c33eae494b3eb2c34361bc8717e7fc2997 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<?xml version="1.0" encoding="UTF-8"?>
<helpdocument version="1.0">

<!--
 * This file is part of the LibreOffice project.
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 *
-->

<meta>
    <topic id="textsharedoptionen01060900xml" indexer="include" status="PUBLISH">
       <title xml-lang="en-US" id="tit">Formula</title>
       <filename>/text/shared/optionen/01060900.xhp</filename>
    </topic>
</meta>
<body>
    <section id="formula">
    <bookmark xml-lang="en-US" branch="index" id="bm_id4249399">
        <bookmark_value>formula options;formula syntax</bookmark_value>
        <bookmark_value>formula options;separators</bookmark_value>
        <bookmark_value>formula options;reference syntax in string parameters</bookmark_value>
        <bookmark_value>separators;function</bookmark_value>
        <bookmark_value>separators;array column</bookmark_value>
        <bookmark_value>separators;array row</bookmark_value>
    </bookmark>
    <bookmark xml-lang="en-US" branch="hid/SC_HID_SCPAGE_FORMULA" id="bm_id3149095" localize="false"/>
    <paragraph xml-lang="en-US" id="hd_id3145071" role="heading" level="1"><link href="text/shared/optionen/01060900.xhp" name="Formula">Formula</link></paragraph>
    <paragraph xml-lang="en-US" id="par_id3147576" role="paragraph"><ahelp hid=".">Defines formula syntax options for %PRODUCTNAME Calc.</ahelp></paragraph>
    </section>
    <section id="howtoget">
       <embed href="text/shared/00/00000406.xhp#exopfo"/>
    </section>
    <paragraph xml-lang="en-US" id="hd_id3149399" role="heading" level="2">Formula options</paragraph>
    <paragraph xml-lang="en-US" id="hd_id31493991" role="heading" level="3">Formula syntax</paragraph>
    <paragraph xml-lang="en-US" id="par_id3155419" role="paragraph">There are three options. Let's see it by example. In a sample spreadsheet there are two worksheets, Sheet1 and Sheet2. In A1 cell of Sheet1 there is a reference to C4 cell of Sheet2.</paragraph>
    <list type="unordered">
       <listitem>
        <paragraph xml-lang="en-US" id="par_id3156155" role="listitem"><emph>Calc A1</emph> - This is the default of %PRODUCTNAME Calc. The reference will be <item type="input">=$Sheet2.C4</item></paragraph>
       </listitem>
       <listitem>
        <paragraph xml-lang="en-US" id="par_id3147530" role="listitem"><emph>Excel A1</emph> - This is the default of Microsoft Excel. The reference will be <item type="input">=Sheet2!C4</item></paragraph>
       </listitem>
       <listitem>
        <paragraph xml-lang="en-US" id="par_id3153061" role="listitem"><emph>Excel R1C1</emph> - This is the relative row/column addressing, known from Microsoft Excel. The reference will be <item type="input">=Sheet2!R[3]C[2]</item></paragraph>
       </listitem>
    </list>
    <paragraph xml-lang="en-US" id="hd_id31493992" role="heading" level="3">Use English function names</paragraph>
    <paragraph xml-lang="en-US" id="par_id4155419" role="paragraph">In %PRODUCTNAME Calc function names can be localized. By default, the check box is off, which means the localized function names are used. Checking this check box will swap localized function names with the English ones. This change takes effect in all of the following areas: formula input and display, function wizard, and formula tips. You can of course uncheck it to go back to the localized function names.</paragraph>
    <paragraph xml-lang="en-US" id="hd_id4149399" role="heading" level="2">Separators</paragraph>
    <paragraph xml-lang="en-US" id="par_id5155419" role="paragraph">This option group lets you configure separators in your formula expressions. This comes in handy when, for instance, you want to separate your function parameters by commas (,) instead of semicolons (;).</paragraph>
    <paragraph xml-lang="en-US" id="par_id6155419" role="paragraph">For example, instead of <item type="input">=SUM(A1;B1;C1)</item> you can type <item type="input">=SUM(A1,B1,C1)</item>.</paragraph>
    <paragraph xml-lang="en-US" id="par_id7155419" role="paragraph">Likewise, you can also change the column and row separators for in-line arrays. Previously, an in-line array used semicolons (;) as the column separators and the pipe symbols (|) as the row separators, so a typical in-line array expression looked like this for a 5 x 2 matrix array:</paragraph>
    <paragraph xml-lang="en-US" id="par_id8155419" role="paragraph"><item type="input">={1;2;3;4;5|6;7;8;9;10}</item></paragraph>
    <paragraph xml-lang="en-US" id="par_id9155419" role="paragraph">By changing the column separators to commas (,) and the row separators to semicolons (;), the same expression will look like this:</paragraph>
    <paragraph xml-lang="en-US" id="par_id0155419" role="paragraph"><item type="input">={1,2,3,4,5;6,7,8,9,10}</item></paragraph>
    <paragraph xml-lang="en-US" id="hd_id5149399" role="heading" level="2">Detailed calculation settings</paragraph>
    <paragraph xml-lang="en-US" id="par_id1015549" role="paragraph">Here you can configure the formula syntax to use when parsing references given in string parameters. This affects built-in functions such as INDIRECT that takes a reference as a string value.</paragraph>
</body>
</helpdocument>