summaryrefslogtreecommitdiffstats
path: root/helpcontent2/source/text/shared/optionen/detailedcalculation.xhp
blob: b14c0a9b360214feb0878eba6fd5bd45518d48f3 (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
<?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="detailedcalculation" indexer="include" status="PUBLISH">
    <title id="tit" xml-lang="en-US">Detailed Calculation</title>
    <filename>/text/shared/optionen/detailedcalculation.xhp</filename>
  </topic>
</meta>

<body>
  <bookmark xml-lang="en-US" branch="index" id="bm_id3146799">
    <bookmark_value>string;conversion to number settings</bookmark_value>
    <bookmark_value>string conversion to number options</bookmark_value>
    <bookmark_value>string;conversion to date settings</bookmark_value>
    <bookmark_value>string conversion to date options</bookmark_value>
    <bookmark_value>string;conversion to reference settings</bookmark_value>
    <bookmark_value>string conversion to reference options</bookmark_value>
    <bookmark_value>string;setting in spreadsheet formulas</bookmark_value>
    <bookmark_value>cell reference syntax in strings;Excel R1C1</bookmark_value>
    <bookmark_value>cell reference syntax in strings;Excel A1</bookmark_value>
    <bookmark_value>cell reference syntax in strings;Calc A1</bookmark_value>
    <bookmark_value>Excel R1C1;cell reference syntax in strings</bookmark_value>
    <bookmark_value>Excel A1;cell reference syntax in strings</bookmark_value>
    <bookmark_value>Calc A1;cell reference syntax in strings</bookmark_value>
  </bookmark>
  <section id="detailed_calculation">
    <bookmark xml-lang="en-US" branch="hid/modules/scalc/ui/formulacalculationoptions/FormulaCalculationOptions" id="bm_id2745673" localize="false"/>
    <bookmark xml-lang="en-US" branch="hid/modules/scalc/ui/formulacalculationoptions/@@nowidget@@" id="@@nowidget@@" localize="false"/>
    <h1 id="hd_id371535153017185"><variable id="detailed_heading"><link href="text/shared/optionen/detailedcalculation.xhp" name="detailedcalc">Detailed Calculation Settings</link></variable></h1>
    <paragraph id="par_id461535153017196" role="paragraph"><variable id="variable name"><ahelp hid=".">Sets the rules for conversion from strings values to numeric values, string values to cell references, and strings values to date and time values. This affects built-in functions such as INDIRECT that takes a reference as a string value or date and time functions that takes arguments as string values in local or ISO 8601 formats.</ahelp></variable></paragraph>
    </section>
    <section id="howtoget">
      <paragraph role="paragraph" id="par_id2752992"><variable id="sam01">Menu <switchinline select="sys"><caseinline select="MAC"><emph>%PRODUCTNAME - Preferences</emph></caseinline><defaultinline><emph>Tools - Options</emph></defaultinline></switchinline><emph> - %PRODUCTNAME Calc - Formula</emph>, and in section <emph>Detailed Calculation Settings</emph> press <emph>Details...</emph> button.</variable></paragraph>
    </section>
    <h2 id="par_id4238715">Contents to Numbers</h2>
    <h3 id="par_id8277230">Conversion from text to number</h3>
    <paragraph role="paragraph" id="par_id396740">How to treat text when encountered as operand in an arithmetic operation or as argument to a function that expects a number instead. Unambiguous conversion is possible for integer numbers including exponents and ISO 8601 dates and times in their extended formats with separators. Fractional numeric values with decimal separators or dates other than ISO 8601 are locale dependent. Note that in locale dependent conversions the resulting numeric value may differ between locales!</paragraph>
    <paragraph role="paragraph" id="par_id4086428"><emph>Generate #VALUE! error:</emph> Text found where numeric data is expected will generate #VALUE! error. Example: <item type="input">"123.45"</item> will generate a #VALUE! error, while <item type="input">123.45</item> not.</paragraph>
    <paragraph role="paragraph" id="par_id9024628"><emph>Treat as zero:</emph> Any text found where numeric data is expected will be considered as a number of value zero. Example: <item type="input">"123.45"</item> will map to zero, while <item type="input">123.45</item> not.</paragraph>
    <paragraph role="paragraph" id="par_id3067110"><emph>Convert only if unambiguous:</emph> If the text represents a valid and unambiguous numeric value, convert it. Example: <item type="input">"123.456"</item> will generate a #VALUE! error because the text contains a separator, while <item type="input">"123456"</item> will not.<br/>See <link href="text/scalc/guide/numbers_text.xhp" name="numbers_text_link">Converting Text to Numbers</link> for details.</paragraph>
    <paragraph role="paragraph" id="par_id8841822"><emph>Convert also locale dependent:</emph> convert values valid in the locale representation. Example: <item type="input">"123,45"</item> is a valid number in some locales because the comma is the decimal separator there.</paragraph>
    <h3 id="par_id4077578">Treat empty string as zero</h3>
    <paragraph role="paragraph" id="par_id9094515">This option determines how an empty string is treated when used in arithmetic operations. If you have set "Conversion from text to number" to either "Generate #VALUE! error" or "Treat as zero", you cannot choose (here) if conversion of an empty string to a number will generate an error or if it will treat empty strings as zero. Otherwise this option determines how empty strings are treated.</paragraph>
    <h3 id="par_id3859675">Reference syntax for string reference</h3>
    <paragraph role="paragraph" id="par_id402233">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>
    <list type="unordered">
      <listitem>
        <paragraph role="listitem" id="par_id1623889"><emph>Use formula syntax</emph></paragraph>
      </listitem>
      <listitem>
        <paragraph role="listitem" id="par_id7781914"><emph>Calc A1</emph></paragraph>
      </listitem>
      <listitem>
        <paragraph role="listitem" id="par_id300912"><emph>Excel A1</emph></paragraph>
      </listitem>
      <listitem>
        <paragraph role="listitem" id="par_id9534592"><emph>Excel R1C1</emph></paragraph>
      </listitem>
      <listitem>
        <paragraph id="par_id811567770857290" role="listitem"><emph>Calc A1 | Excel A1</emph></paragraph>
      </listitem>
    </list>
    <h3 id="hd_id71645215179431">Apply those settings to current document only</h3>
    <paragraph role="paragraph" id="par_id111645215251396">Mark this checkbox to apply the settings to the document only.</paragraph>
    <section id="relatedtopics">
      <paragraph role="paragraph" id="par_id191535211862982"><link href="text/scalc/01/04060102.xhp" name="dateandtime">Date and time functions</link></paragraph>
      <paragraph role="paragraph" id="par_id261535211868627"><link href="text/scalc/01/04060109.xhp#Section6" name="indirect">INDIRECT function</link></paragraph>
    </section>
</body>
</helpdocument>