1 <?xml version=
"1.0" encoding=
"UTF-8"?>
5 ***********************************************************************
7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
9 * Copyright 2008 by Sun Microsystems, Inc.
11 * OpenOffice.org - a multi-platform office productivity suite
13 * $RCSfile: 01060500.xhp,v $
16 * This file is part of OpenOffice.org.
18 * OpenOffice.org is free software: you can redistribute it and/or modify
19 * it under the terms of the GNU Lesser General Public License version 3
20 * only, as published by the Free Software Foundation.
22 * OpenOffice.org is distributed in the hope that it will be useful,
23 * but WITHOUT ANY WARRANTY; without even the implied warranty of
24 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25 * GNU Lesser General Public License version 3 for more details
26 * (a copy is included in the LICENSE file that accompanied this code).
28 * You should have received a copy of the GNU Lesser General Public License
29 * version 3 along with OpenOffice.org. If not, see
30 * <http://www.openoffice.org/license.html>
31 * for a copy of the LGPLv3 License.
33 ************************************************************************
36 <helpdocument version=
"1.0">
38 <topic id=
"textsharedoptionen01060500xml" indexer=
"include" status=
"PUBLISH">
39 <title id=
"tit" xml-lang=
"en-US">Calculate
</title>
40 <filename>/text/shared/optionen/
01060500.xhp
</filename>
43 <created date=
"2003-10-31T00:00:00">Sun Microsystems, Inc.
</created>
44 <lastedited date=
"2007-02-22T13:17:25">converted from old format - fpe
</lastedited>
48 <section id=
"berechnen">
49 <bookmark xml-lang=
"en-US" branch=
"index" id=
"bm_id3149399"><bookmark_value>references; iterative (Calc)
</bookmark_value>
50 <bookmark_value>calculating;iterative references (Calc)
</bookmark_value>
51 <bookmark_value>iterative references in spreadsheets
</bookmark_value>
52 <bookmark_value>recursions in spreadsheets
</bookmark_value>
53 <bookmark_value>dates; default (Calc)
</bookmark_value>
54 <bookmark_value>dates; start
1900/
01/
01 (Calc)
</bookmark_value>
55 <bookmark_value>dates; start
1904/
01/
01 (Calc)
</bookmark_value>
56 <bookmark_value>case sensitivity;comparing cell contents (Calc)
</bookmark_value>
57 <bookmark_value>numbers; decimal places (Calc)
</bookmark_value>
58 <bookmark_value>decimal places displayed (Calc)
</bookmark_value>
59 <bookmark_value>precision as shown (Calc)
</bookmark_value>
60 <bookmark_value>values; rounded as shown (Calc)
</bookmark_value>
61 <bookmark_value>rounding precision (Calc)
</bookmark_value>
62 <bookmark_value>search criteria for database functions in cells
</bookmark_value>
63 <bookmark_value>Excel; search criteria
</bookmark_value>
64 </bookmark><comment>UFI: removed a double entry
</comment><comment>mw changed
"cell contents;" to
"case sensitivity;.."</comment>
65 <bookmark xml-lang=
"en-US" branch=
"hid/HID_SCPAGE_CALC" id=
"bm_id3149095" localize=
"false"/>
66 <paragraph role=
"heading" id=
"hd_id3145071" xml-lang=
"en-US" level=
"1" l10n=
"U" oldref=
"1"><link href=
"text/shared/optionen/01060500.xhp" name=
"Calculate">Calculate
</link></paragraph>
67 <paragraph role=
"paragraph" id=
"par_id3147576" xml-lang=
"en-US" l10n=
"U" oldref=
"2"><ahelp hid=
"HID_SCPAGE_CALC">Defines the calculation settings for spreadsheets. Defines the behavior of spreadsheets with iterative references, the date settings, the number of decimal places, and if capitalization or lower cases are to be considered when searching within sheets.
</ahelp></paragraph>
69 <section id=
"howtoget">
70 <embed href=
"text/shared/00/00000406.xhp#exopbe"/>
72 <paragraph role=
"heading" id=
"hd_id3149399" xml-lang=
"en-US" level=
"2" l10n=
"U" oldref=
"3">Iterative references
</paragraph>
73 <paragraph role=
"paragraph" id=
"par_id3155419" xml-lang=
"en-US" l10n=
"U" oldref=
"4">In this section you can delimit the number of approximation steps carried out during iterative calculations. In addition, you can specify the degree of precision of the answer.
</paragraph>
74 <bookmark xml-lang=
"en-US" branch=
"hid/SC:CHECKBOX:RID_SCPAGE_CALC:BTN_ITERATE" id=
"bm_id3156153" localize=
"false"/>
75 <paragraph role=
"heading" id=
"hd_id3154142" xml-lang=
"en-US" level=
"3" l10n=
"U" oldref=
"5">Iterations
</paragraph>
76 <paragraph role=
"paragraph" id=
"par_id3149795" xml-lang=
"en-US" l10n=
"U" oldref=
"6"><ahelp hid=
"SC:CHECKBOX:RID_SCPAGE_CALC:BTN_ITERATE">Specifies whether formulas with iterative references (formulas that are continuously repeated until the problem is solved) are calculated after a specific number of repetitions.
</ahelp> If the
<emph> Iterations
</emph>box is not marked, an iterative reference in the table will cause an error message.
</paragraph>
77 <paragraph role=
"paragraph" id=
"par_id3148686" xml-lang=
"en-US" l10n=
"CHG" oldref=
"7">
78 <emph>Example:
</emph> calculating the cost of an item without the value-added tax.
</paragraph>
81 <paragraph role=
"listitem" id=
"par_id3156155" xml-lang=
"en-US" l10n=
"U" oldref=
"8">Type the text 'Selling price' in cell A5, the text 'Net' in cell A6, and the text 'Value-added tax' in cell A7.
</paragraph>
84 <paragraph role=
"listitem" id=
"par_id3147530" xml-lang=
"en-US" l10n=
"U" oldref=
"61">Now type a selling price (for example,
100) in cell B5. The net price should be shown in cell B6 and the value-added tax should be shown in cell B7.
</paragraph>
87 <paragraph role=
"listitem" id=
"par_id3153061" xml-lang=
"en-US" l10n=
"CHG" oldref=
"62">You know that the value-added tax is calculated as 'net price times
15%' and that you arrive at the net price by deducting the value-added tax from the selling price. Type the formula
<item type=
"literal">=B5-B7
</item> in B6 to calculate the net price, and type the formula
<item type=
"literal">=B6*
0.15</item> in cell B7 to calculate the value-added tax.
</paragraph>
90 <paragraph role=
"listitem" id=
"par_id3154760" xml-lang=
"en-US" l10n=
"U" oldref=
"63">Switch on the iterations to correctly calculate the formulas, otherwise a 'Circular reference' error message appears in the
<emph>Status
</emph> Bar.
</paragraph>
93 <table id=
"tbl_id3149669">
95 <tablecell colspan=
"" rowspan=
"">
97 <tablecell colspan=
"" rowspan=
"">
98 <paragraph role=
"paragraph" id=
"par_id3154365" xml-lang=
"en-US" l10n=
"U" oldref=
"9">A
</paragraph>
100 <tablecell colspan=
"" rowspan=
"">
101 <paragraph role=
"paragraph" id=
"par_id3145606" xml-lang=
"en-US" l10n=
"U" oldref=
"10">B
</paragraph>
105 <tablecell colspan=
"" rowspan=
"">
106 <paragraph role=
"paragraph" id=
"par_id3149202" xml-lang=
"en-US" l10n=
"U" oldref=
"11">5</paragraph>
108 <tablecell colspan=
"" rowspan=
"">
109 <paragraph role=
"paragraph" id=
"par_id3151041" xml-lang=
"en-US" l10n=
"U" oldref=
"12">Selling Price
</paragraph>
111 <tablecell colspan=
"" rowspan=
"">
112 <paragraph role=
"paragraph" id=
"par_id3159149" xml-lang=
"en-US" l10n=
"U" oldref=
"13">100</paragraph>
116 <tablecell colspan=
"" rowspan=
"">
117 <paragraph role=
"paragraph" id=
"par_id3159254" xml-lang=
"en-US" l10n=
"U" oldref=
"14">6</paragraph>
119 <tablecell colspan=
"" rowspan=
"">
120 <paragraph role=
"paragraph" id=
"par_id3147317" xml-lang=
"en-US" l10n=
"U" oldref=
"15">Net
</paragraph>
122 <tablecell colspan=
"" rowspan=
"">
123 <paragraph role=
"paragraph" id=
"par_id3147348" xml-lang=
"en-US" l10n=
"U" oldref=
"16">=B5-B7
</paragraph>
127 <tablecell colspan=
"" rowspan=
"">
128 <paragraph role=
"paragraph" id=
"par_id3154918" xml-lang=
"en-US" l10n=
"U" oldref=
"17">7</paragraph>
130 <tablecell colspan=
"" rowspan=
"">
131 <paragraph role=
"paragraph" id=
"par_id3153573" xml-lang=
"en-US" l10n=
"U" oldref=
"18">Tax
</paragraph>
133 <tablecell colspan=
"" rowspan=
"">
134 <paragraph role=
"paragraph" id=
"par_id3154319" xml-lang=
"en-US" l10n=
"U" oldref=
"19">=B6*
0,
15</paragraph>
139 <bookmark xml-lang=
"en-US" branch=
"hid/SC:NUMERICFIELD:RID_SCPAGE_CALC:ED_STEPS" id=
"bm_id3146119" localize=
"false"/>
140 <paragraph role=
"heading" id=
"hd_id3145750" xml-lang=
"en-US" level=
"3" l10n=
"U" oldref=
"22">Steps
</paragraph>
141 <paragraph role=
"paragraph" id=
"par_id3152576" xml-lang=
"en-US" l10n=
"U" oldref=
"23"><ahelp hid=
"SC:NUMERICFIELD:RID_SCPAGE_CALC:ED_STEPS">Sets the maximum number of iteration steps.
</ahelp></paragraph>
142 <bookmark xml-lang=
"en-US" branch=
"hid/SC:EDIT:RID_SCPAGE_CALC:ED_EPS" id=
"bm_id3145273" localize=
"false"/>
143 <paragraph role=
"heading" id=
"hd_id3153728" xml-lang=
"en-US" level=
"3" l10n=
"U" oldref=
"24">Minimum Change
</paragraph>
144 <paragraph role=
"paragraph" id=
"par_id3153139" xml-lang=
"en-US" l10n=
"CHG" oldref=
"25"><ahelp hid=
"SC:EDIT:RID_SCPAGE_CALC:ED_EPS">Specifies the difference between two consecutive iteration step results. If the result of the iteration is lower than the minimum change value, then the iteration will stop.
</ahelp></paragraph>
145 <paragraph role=
"heading" id=
"hd_id3147125" xml-lang=
"en-US" level=
"2" l10n=
"U" oldref=
"45">Date
</paragraph>
146 <paragraph role=
"paragraph" id=
"par_id3155416" xml-lang=
"en-US" l10n=
"U" oldref=
"46">Select the start date for the internal conversion from days to numbers.
</paragraph>
147 <bookmark xml-lang=
"en-US" branch=
"hid/SC:RADIOBUTTON:RID_SCPAGE_CALC:BTN_DATESTD" id=
"bm_id3153159" localize=
"false"/>
148 <paragraph role=
"heading" id=
"hd_id3147396" xml-lang=
"en-US" level=
"3" l10n=
"U" oldref=
"47">12/
30/
1899 (default)
</paragraph>
149 <paragraph role=
"paragraph" id=
"par_id3145646" xml-lang=
"en-US" l10n=
"U" oldref=
"48"><ahelp hid=
"SC:RADIOBUTTON:RID_SCPAGE_CALC:BTN_DATESTD">Sets
12/
30/
1899 as day zero.
</ahelp></paragraph>
150 <bookmark xml-lang=
"en-US" branch=
"hid/SC:RADIOBUTTON:RID_SCPAGE_CALC:BTN_DATESC10" id=
"bm_id3150715" localize=
"false"/>
151 <paragraph role=
"heading" id=
"hd_id3156283" xml-lang=
"en-US" level=
"3" l10n=
"U" oldref=
"49">01/
01/
1900 (StarCalc
1.0)
</paragraph>
152 <paragraph role=
"paragraph" id=
"par_id3154018" xml-lang=
"en-US" l10n=
"U" oldref=
"50"><ahelp hid=
"SC:RADIOBUTTON:RID_SCPAGE_CALC:BTN_DATESC10">Sets
1/
1/
1900 as day zero. Use this setting for StarCalc
1.0 spreadsheets containing date entries.
</ahelp></paragraph>
153 <bookmark xml-lang=
"en-US" branch=
"hid/SC:RADIOBUTTON:RID_SCPAGE_CALC:BTN_DATE1904" id=
"bm_id3147173" localize=
"false"/>
154 <paragraph role=
"heading" id=
"hd_id3156181" xml-lang=
"en-US" level=
"3" l10n=
"U" oldref=
"51">01/
01/
1904</paragraph>
155 <paragraph role=
"paragraph" id=
"par_id3153948" xml-lang=
"en-US" l10n=
"U" oldref=
"52"><ahelp hid=
"SC:RADIOBUTTON:RID_SCPAGE_CALC:BTN_DATE1904">Sets
1/
1/
1904 as day zero. Use this setting for spreadsheets that are imported in a foreign format.
</ahelp></paragraph>
156 <bookmark xml-lang=
"en-US" branch=
"hid/SC:CHECKBOX:RID_SCPAGE_CALC:BTN_CASE" id=
"bm_id3151205" localize=
"false"/>
157 <paragraph role=
"heading" id=
"hd_id3153838" xml-lang=
"en-US" level=
"2" l10n=
"U" oldref=
"26">Case sensitive
</paragraph>
158 <paragraph role=
"paragraph" id=
"par_id3146793" xml-lang=
"en-US" l10n=
"U" oldref=
"27"><ahelp hid=
"SC:CHECKBOX:RID_SCPAGE_CALC:BTN_CASE">Specifies whether to distinguish between upper and lower case in texts when comparing cell contents.
</ahelp></paragraph>
159 <paragraph role=
"paragraph" id=
"par_id3153707" xml-lang=
"en-US" l10n=
"U" oldref=
"28">
160 <emph>Example:
</emph> Type the text 'Test' in cell A1; and the text 'test' in B1. Then type the formula
"=A1=B1" in cell C1. If the
<emph>Case sensitive
</emph> box is marked, FALSE will appear in the cell; otherwise, TRUE will appear in the cell.
</paragraph>
161 <paragraph role=
"note" id=
"par_id3153965" xml-lang=
"en-US" l10n=
"U" oldref=
"29">The EXACT text function is always case-sensitive, independent of the settings in this dialog.
</paragraph>
162 <bookmark xml-lang=
"en-US" branch=
"hid/SC:NUMERICFIELD:RID_SCPAGE_CALC:ED_PREC" id=
"bm_id3147362" localize=
"false"/>
163 <paragraph role=
"heading" id=
"hd_id3145231" xml-lang=
"en-US" level=
"2" l10n=
"U" oldref=
"53">Decimal places
</paragraph>
164 <paragraph role=
"paragraph" id=
"par_id3149568" xml-lang=
"en-US" l10n=
"CHG" oldref=
"54"><ahelp hid=
"SC:NUMERICFIELD:RID_SCPAGE_CALC:ED_PREC">Defines the number of decimals to be displayed for numbers with the
<emph>Standard
</emph> number format. The numbers are displayed as rounded numbers, but are not saved as rounded numbers.
</ahelp></paragraph>
165 <bookmark xml-lang=
"en-US" branch=
"hid/SC:CHECKBOX:RID_SCPAGE_CALC:BTN_CALC" id=
"bm_id3145766" localize=
"false"/>
166 <paragraph role=
"heading" id=
"hd_id3145150" xml-lang=
"en-US" level=
"2" l10n=
"U" oldref=
"30">Precision as shown
</paragraph>
167 <paragraph role=
"paragraph" id=
"par_id3150644" xml-lang=
"en-US" l10n=
"CHG" oldref=
"31"><ahelp hid=
"SC:CHECKBOX:RID_SCPAGE_CALC:BTN_CALC">Specifies whether to make calculations using the rounded values displayed in the sheet. Charts will be shown with the displayed values. If the
<emph>Precision as shown
</emph> option is not marked, the displayed numbers are rounded, but they are calculated internally using the non-rounded number.
</ahelp></paragraph>
168 <bookmark xml-lang=
"en-US" branch=
"hid/SC:CHECKBOX:RID_SCPAGE_CALC:BTN_MATCH" id=
"bm_id3150364" localize=
"false"/>
169 <paragraph role=
"heading" id=
"hd_id3152581" xml-lang=
"en-US" level=
"2" l10n=
"U" oldref=
"32">Search criteria = and
<> must apply to whole cells
</paragraph>
170 <paragraph role=
"paragraph" id=
"par_id3149211" xml-lang=
"en-US" l10n=
"CHG" oldref=
"33"><ahelp hid=
"SC:CHECKBOX:RID_SCPAGE_CALC:BTN_MATCH">Specifies that the search criteria you set for the Calc database functions must match the whole cell exactly. When the
<emph>Search criteria = and
<> must apply to whole cells
</emph> box is marked, $[officename] Calc behaves exactly as MS Excel when searching cells in the database functions.
</ahelp></paragraph>
171 <table id=
"tbl_id3149814">
173 <tablecell colspan=
"" rowspan=
"">
174 <paragraph role=
"tablehead" id=
"par_id3148422" xml-lang=
"en-US" l10n=
"U" oldref=
"34">.* in following position:
</paragraph>
176 <tablecell colspan=
"" rowspan=
"">
177 <paragraph role=
"tablehead" id=
"par_id3156139" xml-lang=
"en-US" l10n=
"U" oldref=
"35">Search result:
</paragraph>
181 <tablecell colspan=
"" rowspan=
"">
182 <paragraph role=
"tablecontent" id=
"par_id3150979" xml-lang=
"en-US" l10n=
"U" oldref=
"36">win
</paragraph>
184 <tablecell colspan=
"" rowspan=
"">
185 <paragraph role=
"tablecontent" id=
"par_id3159239" xml-lang=
"en-US" l10n=
"U" oldref=
"37">Finds win, but not win95, os2win, or upwind
</paragraph>
189 <tablecell colspan=
"" rowspan=
"">
190 <paragraph role=
"tablecontent" id=
"par_id3153782" xml-lang=
"en-US" l10n=
"U" oldref=
"38">win.*
</paragraph>
192 <tablecell colspan=
"" rowspan=
"">
193 <paragraph role=
"tablecontent" id=
"par_id3151278" xml-lang=
"en-US" l10n=
"U" oldref=
"39">Finds win and win95, but not os2win or upwind
</paragraph>
197 <tablecell colspan=
"" rowspan=
"">
198 <paragraph role=
"tablecontent" id=
"par_id3155506" xml-lang=
"en-US" l10n=
"U" oldref=
"40">.*win
</paragraph>
200 <tablecell colspan=
"" rowspan=
"">
201 <paragraph role=
"tablecontent" id=
"par_id3150886" xml-lang=
"en-US" l10n=
"U" oldref=
"41">Finds win and os2win, but not win95 or upwind
</paragraph>
205 <tablecell colspan=
"" rowspan=
"">
206 <paragraph role=
"tablecontent" id=
"par_id3147167" xml-lang=
"en-US" l10n=
"U" oldref=
"42">.*win.*
</paragraph>
208 <tablecell colspan=
"" rowspan=
"">
209 <paragraph role=
"tablecontent" id=
"par_id3152985" xml-lang=
"en-US" l10n=
"U" oldref=
"43">Finds win, win95, os2win, and upwind
</paragraph>
214 <paragraph role=
"paragraph" id=
"par_id3148814" xml-lang=
"en-US" l10n=
"U" oldref=
"44">If
<emph>Search criteria = and
<> must apply to whole cells
</emph>is not enabled, the
"win" search pattern acts like
".*win.*". The search pattern can be at any position within the cell when searching with the Calc database functions.
</paragraph>
215 <bookmark xml-lang=
"en-US" branch=
"hid/SC_CHECKBOX_RID_SCPAGE_CALC_BTN_REGEX" id=
"bm_id3154419" localize=
"false"/>
216 <paragraph role=
"heading" id=
"hd_id3156448" xml-lang=
"en-US" level=
"2" l10n=
"U" oldref=
"58">Enable regular expressions in formulas
</paragraph>
217 <paragraph role=
"paragraph" id=
"par_id3155092" xml-lang=
"en-US" l10n=
"U" oldref=
"59"><ahelp hid=
"SC_CHECKBOX_RID_SCPAGE_CALC_BTN_REGEX">Specifies that regular expressions are enabled when searching and also for character string comparisons.
</ahelp><switchinline select=
"appl"><caseinline select=
"CALC"> This relates to the
<link href=
"text/scalc/01/04060101.xhp" name=
"database functions">database functions
</link>, and to VLOOKUP, HLOOKUP and SEARCH.
218 </caseinline></switchinline><comment>Sorry, no more switches allowed inside AVIS tags
</comment></paragraph>
219 <bookmark xml-lang=
"en-US" branch=
"hid/SC:CHECKBOX:RID_SCPAGE_CALC:BTN_LOOKUP" id=
"bm_id3152901" localize=
"false"/>
220 <paragraph role=
"heading" id=
"hd_id3156199" xml-lang=
"en-US" level=
"2" l10n=
"U" oldref=
"55">Automatically find column and row labels
</paragraph>
221 <paragraph role=
"paragraph" id=
"par_id3153818" xml-lang=
"en-US" l10n=
"CHG" oldref=
"56"><ahelp hid=
"SC:CHECKBOX:RID_SCPAGE_CALC:BTN_LOOKUP">Specifies that you can use the text in any cell as a label for the column below the text or the row to the right of the text. The text must consist of at least one word and must not contain any operators.
</ahelp></paragraph>
222 <paragraph role=
"paragraph" id=
"par_id3151242" xml-lang=
"en-US" l10n=
"U" oldref=
"57">
223 <emph>Example
</emph>: Cell E5 contains the text
"Europe". Below, in cell E6, is the value
100 and in cell E7 the value
200. If the
<emph>Automatically find column and row labels
</emph> box is marked, you can write the following formula in cell A1: =SUM(Europe).
</paragraph>