summaryrefslogtreecommitdiffstats
path: root/source/text/shared/optionen/01060900.xhp
blob: c1679bd75d18aa8350c4be73eaac31fcd3db7ccb (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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
<?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>formula options;recalculating spreadsheets</bookmark_value>
        <bookmark_value>formula options;large spreadsheet files</bookmark_value>
        <bookmark_value>formula options;loading spreadsheet files</bookmark_value>
        <bookmark_value>separators;function</bookmark_value>
        <bookmark_value>separators;array column</bookmark_value>
        <bookmark_value>separators;array row</bookmark_value>
        <bookmark_value>recalculating;formula options</bookmark_value>
        <bookmark_value>recalculating;large spreadsheet files</bookmark_value>
        <bookmark_value>loading;large spreadsheet files</bookmark_value>
    </bookmark>
    <bookmark xml-lang="en-US" branch="hid/modules/scalc/ui/optformula/OptFormula" 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 and loading 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>
    <paragraph xml-lang="en-US" id="hd_id5149400" role="heading" level="2">Recalculation on File Load</paragraph>
<paragraph xml-lang="en-US" id="par_id2335549" role="paragraph">Recalculating formulas can take significant time while loading very large files.</paragraph>
<paragraph xml-lang="en-US" id="par_id2115549" role="heading" level="3">Excel 2007 and newer:</paragraph>
<paragraph xml-lang="en-US" id="par_id2015549" role="paragraph">
Loading a large spreadsheet file can take a long time. If you don't need to update your large spreadsheet data immediately, you can postpone the recalculation at a better time.
%PRODUCTNAME allows you to defer recalculation of Excel 2007 (and above) spreadsheets to speedup loading time.
</paragraph>
<paragraph xml-lang="en-US" id="par_id2215549" role="heading" level="3">ODF Spreadsheets (not saved by %PRODUCTNAME):</paragraph>
<paragraph xml-lang="en-US" id="par_id2016549" role="paragraph">
Recent versions of %PRODUCTNAME caches spreadsheet formula results into its ODF file.
This feature helps %PRODUCTNAME to recalculate a large ODF spreadsheet saved by %PRODUCTNAME faster.
</paragraph>
<paragraph xml-lang="en-US" id="par_id2017549" role="paragraph">
For ODF spreadsheets saved by other programs, where such cached formula results may not exist, recalculation can be deferred to speedup file loading as with Excel 2007 files.
</paragraph>
<paragraph xml-lang="en-US" id="par_id2315549" role="paragraph">For the entries above the following choices are possible:</paragraph>
    <list type="unordered">
       <listitem>
        <paragraph xml-lang="en-US" id="par_id3256155" role="listitem"><emph>Never recalculate</emph> - No formulas will be recalculated on loading the file.</paragraph>
       </listitem>
       <listitem>
        <paragraph xml-lang="en-US" id="par_id3247530" role="listitem"><emph>Always recalculate</emph> - All formulas will be recalculated on file load.</paragraph>
       </listitem>
       <listitem>
        <paragraph xml-lang="en-US" id="par_id3253061" role="listitem"><emph>Prompt user</emph> - Prompt user for action.</paragraph>
       </listitem>
    </list>
    <paragraph xml-lang="en-US" id="par_id2010549" role="tip">
      %PRODUCTNAME saved ODF spreadsheets will honor <emph>Never recalculate</emph> and <emph>Always recalculate</emph> options.
    </paragraph>
    </body>
</helpdocument>