1cdf0e10cSrcweir<?xml version="1.0" encoding="UTF-8"?>
2cdf0e10cSrcweir<helpdocument version="1.0">
3cdf0e10cSrcweir
402dbb15cSAndrew Rist<!--***********************************************************
5cdf0e10cSrcweir *
602dbb15cSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
702dbb15cSAndrew Rist * or more contributor license agreements.  See the NOTICE file
802dbb15cSAndrew Rist * distributed with this work for additional information
902dbb15cSAndrew Rist * regarding copyright ownership.  The ASF licenses this file
1002dbb15cSAndrew Rist * to you under the Apache License, Version 2.0 (the
1102dbb15cSAndrew Rist * "License"); you may not use this file except in compliance
1202dbb15cSAndrew Rist * with the License.  You may obtain a copy of the License at
1302dbb15cSAndrew Rist *
1402dbb15cSAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
1502dbb15cSAndrew Rist *
1602dbb15cSAndrew Rist * Unless required by applicable law or agreed to in writing,
1702dbb15cSAndrew Rist * software distributed under the License is distributed on an
1802dbb15cSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
1902dbb15cSAndrew Rist * KIND, either express or implied.  See the License for the
2002dbb15cSAndrew Rist * specific language governing permissions and limitations
2102dbb15cSAndrew Rist * under the License.
2202dbb15cSAndrew Rist *
2302dbb15cSAndrew Rist ***********************************************************-->
2402dbb15cSAndrew Rist
2502dbb15cSAndrew Rist
26cdf0e10cSrcweir
27cdf0e10cSrcweir<meta>
28cdf0e10cSrcweir<topic id="textscalc0104060106xml" indexer="include">
29cdf0e10cSrcweir<title xml-lang="en-US" id="tit">Mathematical Functions</title>
30cdf0e10cSrcweir<filename>/text/scalc/01/04060106.xhp</filename>
31cdf0e10cSrcweir</topic>
32cdf0e10cSrcweir</meta>
33cdf0e10cSrcweir<body>
34cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3147124"><bookmark_value>mathematical functions</bookmark_value>
35cdf0e10cSrcweir<bookmark_value>Function Wizard; mathematical</bookmark_value>
36cdf0e10cSrcweir<bookmark_value>functions; mathematical functions</bookmark_value>
37cdf0e10cSrcweir<bookmark_value>trigonometric functions</bookmark_value>
38cdf0e10cSrcweir</bookmark>
39cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3147124" role="heading" level="1" l10n="U" oldref="1">Mathematical Functions</paragraph>
40cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3154943" role="paragraph" l10n="CHG" oldref="2"><variable id="mathematiktext">This category contains the <emph>Mathematical</emph> functions for Calc.
41cdf0e10cSrcweir</variable> To open the <emph>Function Wizard</emph>, choose <link href="text/scalc/01/04060000.xhp" name="Insert - Function"><emph>Insert - Function</emph></link>.</paragraph>
42*cf7cf155SKay Schenk<sort order="asc" >
43cdf0e10cSrcweir<section id="Section1">
44cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3146944"><bookmark_value>ABS function</bookmark_value>
45cdf0e10cSrcweir<bookmark_value>absolute values</bookmark_value>
46cdf0e10cSrcweir<bookmark_value>values;absolute</bookmark_value>
47cdf0e10cSrcweir</bookmark><comment>mw added two entries</comment>
48cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_ABS" id="bm_id3150695" localize="false"/>
49cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3146944" role="heading" level="2" l10n="U"
50cdf0e10cSrcweiroldref="33">ABS</paragraph>
51cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3154546" role="paragraph" l10n="U" oldref="34"><ahelp hid="HID_FUNC_ABS">Returns the absolute value of a number.</ahelp></paragraph>
52cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3154843" role="heading" level="3" l10n="U"
53cdf0e10cSrcweiroldref="35">Syntax</paragraph>
54cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3147475" role="code" l10n="U" oldref="36">ABS(Number)</paragraph>
55cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3148438" role="paragraph" l10n="CHG" oldref="37"><emph>Number</emph> is the number whose absolute value is to be calculated. The absolute value of a number is its value without the +/- sign.</paragraph>
56cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3155823" role="heading" level="3" l10n="U"
57cdf0e10cSrcweiroldref="38">Example</paragraph>
58cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3152787" role="paragraph" l10n="CHG" oldref="39">
59cdf0e10cSrcweir<item type="input">=ABS(-56)</item> returns 56.</paragraph>
60cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3148752" role="paragraph" l10n="CHG" oldref="40">
61cdf0e10cSrcweir<item type="input">=ABS(12)</item> returns 12.</paragraph>
62cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id320139" role="paragraph" l10n="NEW">
63cdf0e10cSrcweir<item type="input">=ABS(0)</item> returns 0.<comment>see also SIGN</comment></paragraph>
64cdf0e10cSrcweir</section>
65cdf0e10cSrcweir<section id="Section62">
66cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3150896"><bookmark_value>COUNTBLANK function</bookmark_value>
67cdf0e10cSrcweir<bookmark_value>counting;empty cells</bookmark_value>
68cdf0e10cSrcweir<bookmark_value>empty cells;counting</bookmark_value>
69cdf0e10cSrcweir</bookmark><comment>mw added two entries</comment>
70cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_ANZAHLLEEREZELLEN" id="bm_id3149730" localize="false"/>
71cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3150896" role="heading" level="2" l10n="U"
72cdf0e10cSrcweiroldref="42">COUNTBLANK</paragraph>
73cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3155260" role="paragraph" l10n="CHG" oldref="43"><ahelp hid="HID_FUNC_ANZAHLLEEREZELLEN">Returns the number of empty cells.</ahelp></paragraph>
74cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3145144" role="heading" level="3" l10n="U"
75cdf0e10cSrcweiroldref="44">Syntax</paragraph>
76cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3153931" role="code" l10n="U" oldref="45">COUNTBLANK(Range)</paragraph>
77cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3149512" role="paragraph" l10n="CHG" oldref="46"> Returns the number of empty cells in the cell range <emph>Range</emph>.</paragraph>
78cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3146139" role="heading" level="3" l10n="U"
79cdf0e10cSrcweiroldref="47">Example</paragraph>
80cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3148586" role="paragraph" l10n="CHG" oldref="48">
81cdf0e10cSrcweir<item type="input">=COUNTBLANK(A1:B2)</item> returns 4 if cells A1, A2, B1, and B2 are all empty.</paragraph><comment>see also COUNTIF</comment>
82cdf0e10cSrcweir</section>
83cdf0e10cSrcweir<section id="Section61">
84cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3153114"><bookmark_value>ACOS function</bookmark_value>
85cdf0e10cSrcweir</bookmark>
86cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_ARCCOS" id="bm_id3155952" localize="false"/>
87cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3153114" role="heading" level="2" l10n="U"
88cdf0e10cSrcweiroldref="50">ACOS</paragraph>
89cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3145163" role="paragraph" l10n="CHG" oldref="51"><ahelp hid="HID_FUNC_ARCCOS">Returns the inverse trigonometric cosine of a number.</ahelp></paragraph>
90cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3153565" role="heading" level="3" l10n="U"
91cdf0e10cSrcweiroldref="52">Syntax</paragraph>
92cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3150020" role="code" l10n="U" oldref="53">ACOS(Number)</paragraph>
93cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3159134" role="paragraph" l10n="CHG" oldref="54"> This function returns the inverse trigonometric cosine of <emph>Number</emph>, that is the angle (in radians) whose cosine is Number. The angle returned is between 0 and PI.</paragraph>
94cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id679647" role="paragraph" l10n="NEW">To return the angle in degrees, use the DEGREES function.</paragraph>
95cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3149882" role="heading" level="3" l10n="U"
96cdf0e10cSrcweiroldref="55">Example</paragraph>
97cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3150128" role="paragraph" l10n="CHG" oldref="56">
98cdf0e10cSrcweir<item type="input">=ACOS(-1)</item> returns 3.14159265358979 (PI radians)</paragraph>
99cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id8792382" role="paragraph" l10n="NEW">
100cdf0e10cSrcweir<item type="input">=DEGREES(ACOS(0.5))</item> returns 60. The cosine of 60 degrees is 0.5.</paragraph><comment>see also COS, SIN, TAN, COT, ASIN, ATAN, ATAN2, ACOT  </comment>
101cdf0e10cSrcweir</section>
102cdf0e10cSrcweir<section id="Section60">
103cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3145355"><bookmark_value>ACOSH function</bookmark_value>
104cdf0e10cSrcweir</bookmark>
105cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_ARCOSHYP" id="bm_id3148386" localize="false"/>
106cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3145355" role="heading" level="2" l10n="U"
107cdf0e10cSrcweiroldref="60">ACOSH</paragraph>
108cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3157993" role="paragraph" l10n="U" oldref="61"><ahelp hid="HID_FUNC_ARCOSHYP">Returns the inverse hyperbolic cosine of a number.</ahelp></paragraph>
109cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3145295" role="heading" level="3" l10n="U"
110cdf0e10cSrcweiroldref="62">Syntax</paragraph>
111cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3151017" role="code" l10n="U" oldref="63">ACOSH(Number)</paragraph>
112cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3149000" role="paragraph" l10n="CHG" oldref="64"> This function returns the inverse hyperbolic cosine of <emph>Number</emph>, that is the number whose hyperbolic cosine is Number. </paragraph>
113cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id6393932" role="paragraph" l10n="NEW"> Number must be greater than or equal to 1.</paragraph>
114cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3150566" role="heading" level="3" l10n="U"
115cdf0e10cSrcweiroldref="65">Example</paragraph>
116cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3145629" role="paragraph" l10n="CHG" oldref="66">
117cdf0e10cSrcweir<item type="input">=ACOSH(1)</item> returns 0.</paragraph>
118cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id951567" role="paragraph" l10n="NEW">
119cdf0e10cSrcweir<item type="input">=ACOSH(COSH(4))</item> returns 4.</paragraph><comment>see also ASINH, ATANH, ACOTH, COSH, SINH, TANH, COTH</comment>
120cdf0e10cSrcweir</section>
121cdf0e10cSrcweir<section id="Section59">
122cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3149027"><bookmark_value>ACOT function</bookmark_value>
123cdf0e10cSrcweir</bookmark>
124cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_ARCCOT" id="bm_id3154634" localize="false"/>
125cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3149027" role="heading" level="2" l10n="U"
126cdf0e10cSrcweiroldref="70">ACOT</paragraph>
127cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3155818" role="paragraph" l10n="CHG" oldref="71"><ahelp hid="HID_FUNC_ARCCOT">Returns the inverse cotangent (the arccotangent) of the given number.</ahelp></paragraph>
128cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3153225" role="heading" level="3" l10n="U"
129cdf0e10cSrcweiroldref="72">Syntax</paragraph>
130cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3158419" role="code" l10n="U" oldref="73">ACOT(Number)</paragraph>
131cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3154948" role="paragraph" l10n="CHG" oldref="74"> This function returns the inverse trigonometric cotangent of <emph>Number</emph>, that is the angle (in radians) whose cotangent is Number. The angle returned is between 0 and PI.</paragraph>
132cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id5834528" role="paragraph" l10n="NEW">To return the angle in degrees, use the DEGREES function.</paragraph>
133cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3147538" role="heading" level="3" l10n="U"
134cdf0e10cSrcweiroldref="75">Example</paragraph>
135cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3155375" role="paragraph" l10n="CHG" oldref="76">
136cdf0e10cSrcweir<item type="input">=ACOT(1)</item> returns 0.785398163397448 (PI/4 radians).</paragraph>
137cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id8589434" role="paragraph" l10n="NEW">
138cdf0e10cSrcweir<item type="input">=DEGREES(ACOT(1))</item> returns 45. The tangent of 45 degrees is 1. </paragraph><comment>see also COS, SIN, TAN, COT, ACOS, ASIN, ATAN, ATAN2  </comment>
139cdf0e10cSrcweir</section>
140cdf0e10cSrcweir<section id="Section58">
141cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3148426"><bookmark_value>ACOTH function</bookmark_value>
142cdf0e10cSrcweir</bookmark>
143cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_ARCOTHYP" id="bm_id3149777" localize="false"/>
144cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3148426" role="heading" level="2" l10n="U"
145cdf0e10cSrcweiroldref="80">ACOTH</paragraph>
146cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3147478" role="paragraph" l10n="U" oldref="81"><ahelp hid="HID_FUNC_ARCOTHYP">Returns the inverse hyperbolic cotangent of the given number.</ahelp></paragraph>
147cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3152585" role="heading" level="3" l10n="U"
148cdf0e10cSrcweiroldref="82">Syntax</paragraph>
149cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3147172" role="code" l10n="U" oldref="83">ACOTH(Number)</paragraph>
150cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3146155" role="paragraph" l10n="CHG" oldref="84"> This function returns the inverse hyperbolic cotangent of <emph>Number</emph>, that is the number whose hyperbolic cotangent is Number.</paragraph>
151cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id5818659" role="paragraph" l10n="NEW">An error results if Number is between -1 and 1 inclusive.</paragraph>
152cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3083452" role="heading" level="3" l10n="U"
153cdf0e10cSrcweiroldref="85">Example</paragraph>
154cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3150608" role="paragraph" l10n="CHG" oldref="86">
155cdf0e10cSrcweir<item type="input">=ACOTH(1.1)</item> returns inverse hyperbolic cotangent of 1.1, approximately 1.52226.</paragraph><comment>see also ACOSH, ASINH, ATANH, COSH, SINH, TANH, COTH</comment>
156cdf0e10cSrcweir</section>
157cdf0e10cSrcweir<section id="Section57">
158cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3145084"><bookmark_value>ASIN function</bookmark_value>
159cdf0e10cSrcweir</bookmark>
160cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_ARCSIN" id="bm_id3149280" localize="false"/>
161*cf7cf155SKay Schenk<paragraph xml-lang="en-US" id="hd_id3145084" role="heading" level="2" l10n="U" oldref="90">ASIN</paragraph>
162cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3156296" role="paragraph" l10n="CHG" oldref="91"><ahelp hid="HID_FUNC_ARCSIN">Returns the inverse trigonometric sine of a number.</ahelp></paragraph>
163*cf7cf155SKay Schenk<paragraph xml-lang="en-US" id="hd_id3149716" role="heading" level="3" l10n="U" oldref="92">Syntax</paragraph>
164cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3156305" role="code" l10n="U" oldref="93">ASIN(Number)</paragraph>
165cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3150964" role="paragraph" l10n="CHG" oldref="94"> This function returns the inverse trigonometric sine of <emph>Number</emph>, that is the angle (in radians) whose sine is Number. The angle returned is between -PI/2 and +PI/2.</paragraph>
166cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id203863" role="paragraph" l10n="NEW">To return the angle in degrees, use the DEGREES function.</paragraph>
167*cf7cf155SKay Schenk<paragraph xml-lang="en-US" id="hd_id3149448" role="heading" level="3" l10n="U" oldref="95">Example</paragraph>
168cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3156100" role="paragraph" l10n="CHG" oldref="96">
169cdf0e10cSrcweir<item type="input">=ASIN(0)</item> returns 0.</paragraph>
170cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id6853846" role="paragraph" l10n="NEW">
171cdf0e10cSrcweir<item type="input">=ASIN(1)</item> returns 1.5707963267949 (PI/2 radians). </paragraph>
172cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id8772240" role="paragraph" l10n="NEW">
173cdf0e10cSrcweir<item type="input">=DEGREES(ASIN(0.5))</item> returns 30. The sine of 30 degrees is 0.5.</paragraph><comment>see also COS, SIN, TAN, COT, ACOS, ATAN, ATAN2, ACOT  </comment>
174cdf0e10cSrcweir</section>
175cdf0e10cSrcweir<section id="Section56">
176cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3151266"><bookmark_value>ASINH function</bookmark_value>
177cdf0e10cSrcweir</bookmark>
178cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_ARSINHYP" id="bm_id3145206" localize="false"/>
179*cf7cf155SKay Schenk<paragraph xml-lang="en-US" id="hd_id3151266" role="heading" level="2" l10n="U" oldref="100">ASINH</paragraph>
180cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3147077" role="paragraph" l10n="U" oldref="101"><ahelp hid="HID_FUNC_ARSINHYP">Returns the inverse hyperbolic sine of a number.</ahelp></paragraph>
181cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3150763" role="heading" level="3" l10n="U"
182cdf0e10cSrcweiroldref="102">Syntax</paragraph>
183cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3150882" role="code" l10n="U" oldref="103">ASINH(Number)</paragraph>
184cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3147621" role="paragraph" l10n="CHG" oldref="104"> This function returns the inverse hyperbolic sine of <emph>Number</emph>, that is the number whose hyperbolic sine is Number. </paragraph>
185cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3153212" role="heading" level="3" l10n="U"
186cdf0e10cSrcweiroldref="105">Example</paragraph>
187cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3156120" role="paragraph" l10n="CHG" oldref="106">
188cdf0e10cSrcweir<item type="input">=ASINH(-90)</item> returns approximately -5.1929877.</paragraph>
189cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id4808496" role="paragraph" l10n="NEW">
190cdf0e10cSrcweir<item type="input">=ASINH(SINH(4))</item> returns 4.</paragraph><comment>see also ACOSH, ATANH, ACOTH,
191cdf0e10cSrcweirCOSH, SINH, TANH, COTH</comment>
192cdf0e10cSrcweir</section>
193cdf0e10cSrcweir<section id="Section55">
194cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3155996"><bookmark_value>ATAN function</bookmark_value>
195cdf0e10cSrcweir</bookmark>
196cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_ARCTAN" id="bm_id3154743" localize="false"/>
197cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3155996" role="heading" level="2" l10n="U"
198cdf0e10cSrcweiroldref="110">ATAN</paragraph>
199cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3149985" role="paragraph" l10n="CHG" oldref="111"><ahelp hid="HID_FUNC_ARCTAN">Returns the inverse trigonometric tangent of a number.</ahelp></paragraph>
200cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3151294" role="heading" level="3" l10n="U"
201cdf0e10cSrcweiroldref="112">Syntax</paragraph>
202cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3150261" role="code" l10n="U" oldref="113">ATAN(Number)</paragraph>
203cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3147267" role="paragraph" l10n="CHG" oldref="114"> This function returns the inverse trigonometric tangent of <emph>Number</emph>, that is the angle (in radians) whose tangent is Number. The angle returned is between -PI/2 and PI/2.</paragraph>
204cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id6293527" role="paragraph" l10n="NEW">To return the angle in degrees, use the DEGREES function.</paragraph>
205cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3154054" role="heading" level="3" l10n="U"
206cdf0e10cSrcweiroldref="115">Example</paragraph>
207cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3143229" role="paragraph" l10n="CHG" oldref="116">
208cdf0e10cSrcweir<item type="input">=ATAN(1)</item> returns 0.785398163397448 (PI/4 radians).</paragraph>
209cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id8746299" role="paragraph" l10n="NEW">
210cdf0e10cSrcweir<item type="input">=DEGREES(ATAN(1))</item> returns 45. The tangent of 45 degrees is 1.</paragraph><comment>see also COS, SIN, TAN, COT,
211cdf0e10cSrcweirACOS, ASIN, ATAN2, ACOT  </comment>
212cdf0e10cSrcweir</section>
213cdf0e10cSrcweir<section id="Section54">
214cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3153983"><bookmark_value>ATAN2 function</bookmark_value>
215cdf0e10cSrcweir</bookmark>
216cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_ARCTAN2" id="bm_id3159180" localize="false"/>
217*cf7cf155SKay Schenk<paragraph xml-lang="en-US" id="hd_id3153983" role="heading" level="2" l10n="U" oldref="120">ATAN2</paragraph>
218cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3154297" role="paragraph" l10n="CHG" oldref="121"><ahelp hid="HID_FUNC_ARCTAN2">Returns the inverse trigonometric tangent of the specified x and y coordinates.</ahelp></paragraph>
219*cf7cf155SKay Schenk<paragraph xml-lang="en-US" id="hd_id3149758" role="heading" level="3" l10n="U" oldref="122">Syntax</paragraph>
220cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3156013" role="code" l10n="CHG" oldref="123">ATAN2(NumberX; NumberY)</paragraph>
221cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3151168" role="paragraph" l10n="CHG" oldref="124"><emph>NumberX</emph> is the value of the x coordinate.</paragraph>
222cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3152798" role="paragraph" l10n="CHG" oldref="125"><emph>NumberY</emph> is the value of the y coordinate.</paragraph>
223cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id5036164" role="paragraph" l10n="NEW">ATAN2 returns the inverse trigonometric tangent, that is, the angle (in radians) between the x-axis and a line from point NumberX, NumberY to the origin. The angle returned is between -PI and PI.</paragraph>
224cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3001800" role="paragraph" l10n="NEW">To return the angle in degrees, use the DEGREES function.</paragraph>
225cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3145663" role="heading" level="3" l10n="U"
226cdf0e10cSrcweiroldref="126">Example</paragraph>
227cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3154692" role="paragraph" l10n="CHG" oldref="127">
228cdf0e10cSrcweir<item type="input">=ATAN2(20;20)</item> returns 0.785398163397448 (PI/4 radians).</paragraph>
229cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id1477095" role="paragraph" l10n="NEW">
230cdf0e10cSrcweir<item type="input">=DEGREES(ATAN2(12.3;12.3))</item> returns 45. The tangent of 45 degrees is 1.</paragraph><comment>see also COS, SIN, TAN, COT,
231cdf0e10cSrcweirACOS, ASIN, ATAN, ACOT  </comment>
232cdf0e10cSrcweir</section>
233cdf0e10cSrcweir<section id="Section53">
234cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3155398"><bookmark_value>ATANH function</bookmark_value>
235cdf0e10cSrcweir</bookmark>
236cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_ARTANHYP" id="bm_id3154939" localize="false"/>
237cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3155398" role="heading" level="2" l10n="U"
238cdf0e10cSrcweiroldref="130">ATANH</paragraph>
239cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3148829" role="paragraph" l10n="U" oldref="131"><ahelp hid="HID_FUNC_ARTANHYP">Returns the inverse hyperbolic tangent of a number.</ahelp></paragraph>
240cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3146997" role="heading" level="3" l10n="U"
241cdf0e10cSrcweiroldref="132">Syntax</paragraph>
242cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3149912" role="code" l10n="U" oldref="133">ATANH(Number)</paragraph>
243cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3150521" role="paragraph" l10n="CHG" oldref="134"> This function returns the inverse hyperbolic tangent of <emph>Number</emph>, that is the number whose hyperbolic tangent is Number. </paragraph>
244cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id9357280" role="paragraph" l10n="NEW"> Number must obey the condition -1 &lt; number &lt; 1.</paragraph>
245cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3148450" role="heading" level="3" l10n="U"
246cdf0e10cSrcweiroldref="135">Example</paragraph>
247cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3145419" role="paragraph" l10n="CHG" oldref="136">
248cdf0e10cSrcweir<item type="input">=ATANH(0)</item> returns 0.</paragraph><comment>see also ACOSH, ASINH, ACOTH,
249cdf0e10cSrcweirCOSH, SINH, TANH, COTH</comment>
250cdf0e10cSrcweir</section>
251cdf0e10cSrcweir<section id="Section52">
252cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3153062"><bookmark_value>COS function</bookmark_value>
253cdf0e10cSrcweir</bookmark>
254cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_COS" id="bm_id3158408" localize="false"/>
255cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3153062" role="heading" level="2" l10n="U"
256cdf0e10cSrcweiroldref="149">COS</paragraph>
257cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3148803" role="paragraph" l10n="CHG" oldref="150"><ahelp hid="HID_FUNC_COS">Returns the cosine of the given angle (in radians).</ahelp></paragraph>
258*cf7cf155SKay Schenk<paragraph xml-lang="en-US" id="hd_id3150779" role="heading" level="3" l10n="U" oldref="151">Syntax</paragraph>
259cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3154213" role="code" l10n="U" oldref="152">COS(Number)</paragraph>
260cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3154285" role="paragraph" l10n="CHG" oldref="153"> Returns the (trigonometric) cosine of <emph>Number</emph>, the angle in radians.</paragraph>
261cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id831019" role="paragraph" l10n="NEW">To return the cosine of an angle in degrees, use the RADIANS function.</paragraph>
262*cf7cf155SKay Schenk<paragraph xml-lang="en-US" id="hd_id3153579" role="heading" level="3" l10n="U" oldref="154">Examples</paragraph>
263cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3147240" role="paragraph" l10n="U" oldref="155">
264cdf0e10cSrcweir<item type="input">=COS(PI()/2)</item> returns 0, the cosine of PI/2 radians.</paragraph>
265cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3147516" role="paragraph" l10n="U" oldref="156">
266cdf0e10cSrcweir<item type="input">=COS(RADIANS(60))</item> returns 0.5, the cosine of 60 degrees.</paragraph><comment>see also SIN, TAN, COT,
267cdf0e10cSrcweirACOS, ASIN, ATAN, ATAN2, ACOT  </comment>
268cdf0e10cSrcweir</section>
269cdf0e10cSrcweir<section id="Section51">
270cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3154277"><bookmark_value>COSH function</bookmark_value>
271cdf0e10cSrcweir</bookmark>
272cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_COSHYP" id="bm_id3149158" localize="false"/>
273*cf7cf155SKay Schenk<paragraph xml-lang="en-US" id="hd_id3154277" role="heading" level="2" l10n="U" oldref="159">COSH</paragraph>
274cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3146946" role="paragraph" l10n="U" oldref="160"><ahelp hid="HID_FUNC_COSHYP">Returns the hyperbolic cosine of a number.</ahelp></paragraph>
275*cf7cf155SKay Schenk<paragraph xml-lang="en-US" id="hd_id3149792" role="heading" level="3" l10n="U" oldref="161">Syntax</paragraph>
276cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3166440" role="code" l10n="U" oldref="162">COSH(Number)</paragraph>
277cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3150710" role="paragraph" l10n="CHG" oldref="163">Returns the hyperbolic cosine of <emph>Number</emph>.</paragraph>
278*cf7cf155SKay Schenk<paragraph xml-lang="en-US" id="hd_id3153234" role="heading" level="3" l10n="U" oldref="164">Example</paragraph>
279cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3154099" role="paragraph" l10n="CHG" oldref="165">
280cdf0e10cSrcweir<item type="input">=COSH(0)</item> returns 1, the hyperbolic cosine of 0.</paragraph><comment>see also SINH, TANH, COTH,
281cdf0e10cSrcweirACOSH, ASINH, ATANH, ACOTH,   </comment>
282cdf0e10cSrcweir</section>
283cdf0e10cSrcweir<section id="Section50">
284cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3152888"><bookmark_value>COT function</bookmark_value>
285cdf0e10cSrcweir</bookmark>
286cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_COT" id="bm_id3153392" localize="false"/>
287*cf7cf155SKay Schenk<paragraph xml-lang="en-US" id="hd_id3152888" role="heading" level="2" l10n="U" oldref="169">COT</paragraph>
288cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3153679" role="paragraph" l10n="CHG" oldref="170"><ahelp hid="HID_FUNC_COT">Returns the cotangent of the given angle (in radians).</ahelp></paragraph>
289*cf7cf155SKay Schenk<paragraph xml-lang="en-US" id="hd_id3152943" role="heading" level="3" l10n="U" oldref="171">Syntax</paragraph>
290cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3154856" role="code" l10n="U" oldref="172">COT(Number)</paragraph>
291cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3149969" role="paragraph" l10n="CHG" oldref="173"> Returns the (trigonometric) cotangent of <emph>Number</emph>, the angle in radians.</paragraph>
292cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3444624" role="paragraph" l10n="NEW">To return the cotangent of an angle in degrees, use the RADIANS function.</paragraph>
293cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id6814477" role="paragraph" l10n="NEW">The cotangent of an angle is equivalent to 1 divided by the tangent of that angle.</paragraph>
294cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3149800" role="heading" level="3" l10n="U"
295cdf0e10cSrcweiroldref="174">Examples:</paragraph>
296cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3148616" role="paragraph" l10n="CHG" oldref="175">
297cdf0e10cSrcweir<item type="input">=COT(PI()/4)</item> returns 1, the cotangent of PI/4 radians.</paragraph>
298cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3148986" role="paragraph" l10n="CHG" oldref="176">
299cdf0e10cSrcweir<item type="input">=COT(RADIANS(45))</item> returns 1, the cotangent of 45 degrees.</paragraph><comment>see also COS, SIN, TAN,
300cdf0e10cSrcweirACOS, ASIN, ATAN, ATAN2, ACOT  </comment>
301cdf0e10cSrcweir</section>
302cdf0e10cSrcweir<section id="Section49">
303cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3154337"><bookmark_value>COTH function</bookmark_value>
304cdf0e10cSrcweir</bookmark>
305cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_COTHYP" id="bm_id3148650" localize="false"/>
306*cf7cf155SKay Schenk<paragraph xml-lang="en-US" id="hd_id3154337" role="heading" level="2" l10n="U" oldref="178">COTH</paragraph>
307cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3149419" role="paragraph" l10n="U" oldref="179"><ahelp hid="HID_FUNC_COTHYP">Returns the hyperbolic cotangent of a given number (angle).</ahelp></paragraph>
308cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3149242" role="heading" level="3" l10n="U"
309cdf0e10cSrcweiroldref="180">Syntax</paragraph>
310cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3143280" role="code" l10n="U" oldref="181">COTH(Number)</paragraph>
311cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3154799" role="paragraph" l10n="CHG" oldref="182"> Returns the hyperbolic cotangent of <emph>Number</emph>.</paragraph>
312cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3155422" role="heading" level="3" l10n="U"
313cdf0e10cSrcweiroldref="183">Example</paragraph>
314cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3144754" role="paragraph" l10n="CHG" oldref="184">
315cdf0e10cSrcweir<item type="input">=COTH(1)</item> returns the hyperbolic cotangent of 1, approximately 1.3130.</paragraph><comment>see also COSH, SINH, TANH,
316cdf0e10cSrcweirACOSH, ASINH, ATANH, ACOTH,   </comment>
317cdf0e10cSrcweir</section>
318cdf0e10cSrcweir<section id="Section48">
319cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3145314"><bookmark_value>DEGREES function</bookmark_value>
320cdf0e10cSrcweir<bookmark_value>converting;radians, into degrees</bookmark_value>
321cdf0e10cSrcweir</bookmark><comment>mw added one entry</comment>
322cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_DEG" id="bm_id3153946" localize="false"/>
323*cf7cf155SKay Schenk<paragraph xml-lang="en-US" id="hd_id3145314" role="heading" level="2" l10n="U" oldref="188">DEGREES</paragraph>
324cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3149939" role="paragraph" l10n="U" oldref="189"><ahelp hid="HID_FUNC_DEG">Converts radians into degrees.</ahelp></paragraph>
325*cf7cf155SKay Schenk<paragraph xml-lang="en-US" id="hd_id3150623" role="heading" level="3" l10n="U" oldref="190">Syntax</paragraph>
326cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3145600" role="code" l10n="CHG" oldref="191">DEGREES(Number)</paragraph>
327cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3149484" role="paragraph" l10n="CHG" oldref="192"><emph>Number</emph> is the angle in radians to be converted to degrees.</paragraph>
328cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3669545" role="heading" level="3" l10n="NEW">Example</paragraph>
329cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3459578" role="paragraph" l10n="NEW">
330cdf0e10cSrcweir<item type="input">=DEGREES(PI())</item> returns 180 degrees.</paragraph><comment>see also RADIANS</comment>
331cdf0e10cSrcweir</section>
332cdf0e10cSrcweir<section id="Section47">
333cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3148698"><bookmark_value>EXP function</bookmark_value>
334cdf0e10cSrcweir</bookmark>
335cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_EXP" id="bm_id3154625" localize="false"/>
336cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3148698" role="heading" level="2" l10n="U"
337cdf0e10cSrcweiroldref="198">EXP</paragraph>
338cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3150592" role="paragraph" l10n="CHG" oldref="199"><ahelp hid="HID_FUNC_EXP">Returns e raised to the power of a number.</ahelp> The constant e has a value of approximately 2.71828182845904.</paragraph>
339*cf7cf155SKay Schenk<paragraph xml-lang="en-US" id="hd_id3150351" role="heading" level="3" l10n="U" oldref="200">Syntax</paragraph>
340cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3146786" role="code" l10n="U" oldref="201">EXP(Number)</paragraph>
341cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3155608" role="paragraph" l10n="U" oldref="202"><emph>Number</emph> is the power to which e is to be raised.</paragraph>
342*cf7cf155SKay Schenk<paragraph xml-lang="en-US" id="hd_id3154418" role="heading" level="3" l10n="U" oldref="203">Example</paragraph>
343cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3156340" role="paragraph" l10n="CHG" oldref="204">
344cdf0e10cSrcweir<item type="input">=EXP(1)</item> returns 2.71828182845904, the mathematical constant e to Calc's accuracy.</paragraph><comment>see also POWER,  LN,   </comment>
345cdf0e10cSrcweir</section>
346cdf0e10cSrcweir<section id="Section46">
347cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3145781"><bookmark_value>FACT function</bookmark_value>
348cdf0e10cSrcweir<bookmark_value>factorials;numbers</bookmark_value>
349cdf0e10cSrcweir</bookmark><comment>mw added one entry</comment>
350cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_FAKULTAET" id="bm_id3153886" localize="false"/>
351*cf7cf155SKay Schenk<paragraph xml-lang="en-US" id="hd_id3145781" role="heading" level="2" l10n="U" oldref="208">FACT</paragraph>
352cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3151109" role="paragraph" l10n="CHG" oldref="209"><ahelp hid="HID_FUNC_FAKULTAET">Returns the factorial of a number.</ahelp></paragraph>
353*cf7cf155SKay Schenk<paragraph xml-lang="en-US" id="hd_id3146902" role="heading" level="3" l10n="U" oldref="210">Syntax</paragraph>
354cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3154661" role="code" l10n="U" oldref="211">FACT(Number)</paragraph>
355cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3152952" role="paragraph" l10n="CHG" oldref="212"> Returns Number!, the factorial of <emph>Number</emph>, calculated as 1*2*3*4* ... * Number.</paragraph>
356cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3834650" role="paragraph" l10n="NEW">=FACT(0) returns 1 by definition. </paragraph>
357cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id8429517" role="paragraph" l10n="NEW">The factorial of a negative number returns the "invalid argument" error.</paragraph>
358*cf7cf155SKay Schenk<paragraph xml-lang="en-US" id="hd_id3154569" role="heading" level="3" l10n="U" oldref="213">Example</paragraph>
359cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3154476" role="paragraph" l10n="CHG" oldref="216">
360cdf0e10cSrcweir<item type="input">=FACT(3)</item> returns 6.</paragraph>
361cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3147525" role="paragraph" l10n="CHG" oldref="214">
362cdf0e10cSrcweir<item type="input">=FACT(0)</item> returns 1.</paragraph><comment>see also FACTDOUBLE, MULTINOMIAL, PRODUCT  </comment>
363cdf0e10cSrcweir</section>
364cdf0e10cSrcweir<section id="Section45">
365cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3159084"><bookmark_value>INT function</bookmark_value>
366cdf0e10cSrcweir<bookmark_value>numbers;rounding down to next integer</bookmark_value>
367cdf0e10cSrcweir<bookmark_value>rounding;down to next integer</bookmark_value>
368cdf0e10cSrcweir</bookmark><comment>mw added two entries</comment>
369cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_GANZZAHL" id="bm_id3151311" localize="false"/>
370*cf7cf155SKay Schenk<paragraph xml-lang="en-US" id="hd_id3159084" role="heading" level="2" l10n="U"  oldref="218">INT</paragraph>
371cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3158441" role="paragraph" l10n="U" oldref="219"><ahelp hid="HID_FUNC_GANZZAHL">Rounds a number down to the nearest integer.</ahelp></paragraph>
372*cf7cf155SKay Schenk<paragraph xml-lang="en-US" id="hd_id3146132" role="heading" level="3" l10n="U" oldref="220">Syntax</paragraph>
373cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3156146" role="code" l10n="U" oldref="221">INT(Number)</paragraph>
374cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3154117" role="paragraph" l10n="CHG" oldref="222">Returns <emph>Number</emph> rounded down to the nearest integer.</paragraph>
375cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id153508" role="paragraph" l10n="NEW">Negative numbers round down to the integer below.</paragraph>
376*cf7cf155SKay Schenk<paragraph xml-lang="en-US" id="hd_id3155118" role="heading" level="3" l10n="U" oldref="223">Example</paragraph>
377cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3156267" role="paragraph" l10n="CHG" oldref="224">
378cdf0e10cSrcweir<item type="input">=INT(5.7)</item> returns 5.</paragraph>
379cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3147323" role="paragraph" l10n="CHG" oldref="225">
380cdf0e10cSrcweir<item type="input">=INT(-1.3)</item> returns -2.</paragraph><comment>see also TRUNC, ROUND, ROUNDDOWN, ROUNDUP,
381cdf0e10cSrcweirCEILING, FLOOR, EVEN, ODD, MROUND,  </comment>
382cdf0e10cSrcweir</section>
383cdf0e10cSrcweir<section id="Section44">
384cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3150938"><bookmark_value>EVEN function</bookmark_value>
385cdf0e10cSrcweir<bookmark_value>numbers;rounding up/down to even integers</bookmark_value>
386cdf0e10cSrcweir<bookmark_value>rounding;up/down to even integers</bookmark_value>
387cdf0e10cSrcweir</bookmark><comment>mw added two entries</comment>
388cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_GERADE" id="bm_id3150949" localize="false"/>
389*cf7cf155SKay Schenk<paragraph xml-lang="en-US" id="hd_id3150938" role="heading" level="2" l10n="U" oldref="227">EVEN</paragraph>
390cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3149988" role="paragraph" l10n="CHG" oldref="228"><ahelp hid="HID_FUNC_GERADE">Rounds a positive number up to the next even integer and a negative number down to the next even integer.</ahelp></paragraph>
391*cf7cf155SKay Schenk<paragraph xml-lang="en-US" id="hd_id3148401" role="heading" level="3" l10n="U" oldref="229">Syntax</paragraph>
392cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3150830" role="code" l10n="U" oldref="230">EVEN(Number)</paragraph>
393cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3153350" role="paragraph" l10n="CHG" oldref="231"> Returns <emph>Number</emph> rounded to the next even integer up, away from zero. </paragraph>
394*cf7cf155SKay Schenk<paragraph xml-lang="en-US" id="hd_id3155508" role="heading" level="3" l10n="U" oldref="232">Examples</paragraph>
395cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3154361" role="paragraph" l10n="CHG" oldref="233">
396cdf0e10cSrcweir<item type="input">=EVEN(2.3)</item> returns 4.</paragraph>
397cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id8477736" role="paragraph" l10n="NEW">
398cdf0e10cSrcweir<item type="input">=EVEN(2)</item> returns 2.</paragraph>
399cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id159611" role="paragraph" l10n="NEW">
400cdf0e10cSrcweir<item type="input">=EVEN(0)</item> returns 0.</paragraph>
401cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id6097598" role="paragraph" l10n="NEW">
402cdf0e10cSrcweir<item type="input">=EVEN(-0.5)</item> returns -2.</paragraph><comment>see also CEILING, FLOOR, ODD, MROUND,
403cdf0e10cSrcweirINT, TRUNC, ROUND, ROUNDDOWN, ROUNDUP</comment>
404cdf0e10cSrcweir</section>
405cdf0e10cSrcweir<section id="Section43">
406cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3147356"><bookmark_value>GCD function</bookmark_value>
407cdf0e10cSrcweir<bookmark_value>greatest common divisor</bookmark_value>
408cdf0e10cSrcweir</bookmark><comment>mw added one entry</comment>
409cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_GGT" id="bm_id3149737" localize="false"/>
410cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3147356" role="heading" level="2" l10n="U"
411cdf0e10cSrcweiroldref="237">GCD</paragraph>
412cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3152465" role="paragraph" l10n="U" oldref="238"><ahelp hid="HID_FUNC_GGT">Returns the greatest common divisor of two or more integers.</ahelp></paragraph>
413cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id2769249" role="paragraph" l10n="NEW">The greatest common divisor is the positive largest integer which will divide, without remainder, each of the given integers.</paragraph>
414*cf7cf155SKay Schenk<paragraph xml-lang="en-US" id="hd_id3150643" role="heading" level="3" l10n="U" oldref="239">Syntax</paragraph>
415cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3154524" role="code" l10n="U" oldref="240">GCD(Integer1; Integer2; ...; Integer30)</paragraph>
416cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3149340" role="paragraph" l10n="U" oldref="241"><emph>Integer1 To 30</emph> are up to 30 integers whose greatest common divisor is to be calculated.</paragraph>
417*cf7cf155SKay Schenk<paragraph xml-lang="en-US" id="hd_id3147317" role="heading" level="3" l10n="U" oldref="242">Example</paragraph>
418cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3151285" role="paragraph" l10n="CHG" oldref="243">
419cdf0e10cSrcweir<item type="input">=GCD(16;32;24) </item>gives the result 8, because 8 is the largest number that can divide 16, 24 and 32 without a remainder.</paragraph>
420cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id1604663" role="paragraph" l10n="NEW">
421cdf0e10cSrcweir<item type="input">=GCD(B1:B3)</item> where cells B1, B2, B3 contain <item type="input">9</item>, <item type="input">12</item>, <item type="input">9</item> gives 3.</paragraph>
422cdf0e10cSrcweir</section>
423cdf0e10cSrcweir<section id="Section42">
424cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3151221"><bookmark_value>GCD_ADD function</bookmark_value>
425cdf0e10cSrcweir</bookmark>
426cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_GCD" id="bm_id3147578" localize="false"/>
427cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3151221" role="heading" level="2" l10n="E"
428cdf0e10cSrcweiroldref="677">GCD_ADD</paragraph>
429cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3153257" role="paragraph" l10n="U" oldref="678"><ahelp hid="HID_AAI_FUNC_GCD"> The result is the greatest common divisor of a list of numbers.</ahelp></paragraph>
430cdf0e10cSrcweir<embed href="text/scalc/01/04060102.xhp#ADD_note"/>
431cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3147548" role="heading" level="3" l10n="U"
432cdf0e10cSrcweiroldref="679">Syntax</paragraph>
433cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3156205" role="code" l10n="U" oldref="680">GCD_ADD(Number(s))</paragraph>
434cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3145150" role="paragraph" l10n="U" oldref="681"><emph>Number(s)</emph> is a list of up to 30 numbers.</paragraph>
435*cf7cf155SKay Schenk<paragraph xml-lang="en-US" id="hd_id3150239" role="heading" level="3" l10n="U" oldref="682">Example</paragraph>
436cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3159192" role="paragraph" l10n="U" oldref="683">
437cdf0e10cSrcweir<item type="input">=GCD_ADD(5;15;25)</item> returns 5.</paragraph>
438cdf0e10cSrcweir</section>
439cdf0e10cSrcweir<section id="Section41">
440cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3156048"><bookmark_value>ISEVEN function</bookmark_value>
441cdf0e10cSrcweir<bookmark_value>even integers</bookmark_value>
442cdf0e10cSrcweir</bookmark><comment>mw added one entry</comment>
443cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_ISTGERADE" id="bm_id3149430" localize="false"/>
444*cf7cf155SKay Schenk<paragraph xml-lang="en-US" id="hd_id3156048" role="heading" level="2" l10n="U" oldref="245">ISEVEN<comment>link from Information cat</comment></paragraph>
445cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3149169" role="paragraph" l10n="U" oldref="246"><ahelp hid="HID_FUNC_ISTGERADE">Returns TRUE if the value is an even integer, or FALSE if the value is odd.</ahelp></paragraph>
446*cf7cf155SKay Schenk<paragraph xml-lang="en-US" id="hd_id3146928" role="heading" level="3" l10n="U" oldref="247">Syntax</paragraph>
447cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3151203" role="code" l10n="U" oldref="248">ISEVEN(Value)</paragraph>
448cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3150491" role="paragraph" l10n="U" oldref="249"><emph>Value</emph> is the value to be checked.</paragraph>
449cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3445844" role="paragraph" l10n="NEW">If Value is not an integer any digits after the decimal point are ignored. The sign of Value is also ignored.</paragraph>
450*cf7cf155SKay Schenk<paragraph xml-lang="en-US" id="hd_id3154136" role="heading" level="3" l10n="U" oldref="250">Example</paragraph>
451cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3163813" role="paragraph" l10n="CHG" oldref="251">
452cdf0e10cSrcweir<item type="input">=ISEVEN(48)</item> returns TRUE</paragraph>
453cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id8378856" role="paragraph" l10n="NEW">
454cdf0e10cSrcweir<item type="input">=ISEVEN(33)</item> returns FALSE</paragraph>
455cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id7154759" role="paragraph" l10n="NEW">
456cdf0e10cSrcweir<item type="input">=ISEVEN(0)</item> returns TRUE</paragraph>
457cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id1912289" role="paragraph" l10n="NEW">
458cdf0e10cSrcweir<item type="input">=ISEVEN(-2.1)</item> returns TRUE</paragraph>
459cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id5627307" role="paragraph" l10n="NEW">
460cdf0e10cSrcweir<item type="input">=ISEVEN(3.999)</item> returns FALSE</paragraph><comment>see also ISODD  </comment>
461cdf0e10cSrcweir</section>
462cdf0e10cSrcweir<section id="Section40">
463cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3156034"><bookmark_value>ISODD function</bookmark_value>
464cdf0e10cSrcweir<bookmark_value>odd integers</bookmark_value>
465cdf0e10cSrcweir</bookmark><comment>mw added one entry</comment>
466cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_ISTUNGERADE" id="bm_id3149298" localize="false"/>
467*cf7cf155SKay Schenk<paragraph xml-lang="en-US" id="hd_id3156034" role="heading" level="2" l10n="U" oldref="255">ISODD<comment>link from Information cat</comment></paragraph>
468cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3155910" role="paragraph" l10n="U" oldref="256"><ahelp hid="HID_FUNC_ISTUNGERADE">Returns TRUE if the value is odd, or FALSE if the number is even.</ahelp></paragraph>
469*cf7cf155SKay Schenk<paragraph xml-lang="en-US" id="hd_id3151006" role="heading" level="3" l10n="U" oldref="257">Syntax</paragraph>
470cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3151375" role="code" l10n="U" oldref="258">ISODD(value)</paragraph>
471cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3155139" role="paragraph" l10n="U" oldref="259"><emph>Value</emph> is the value to be checked.</paragraph>
472cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id9027680" role="paragraph" l10n="NEW">If Value is not an integer any digits after the decimal point are ignored. The sign of Value is also ignored.</paragraph>
473*cf7cf155SKay Schenk<paragraph xml-lang="en-US" id="hd_id3163723" role="heading" level="3" l10n="U" oldref="260">Example</paragraph>
474cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3155345" role="paragraph" l10n="CHG" oldref="261">
475cdf0e10cSrcweir<item type="input">=ISODD(33)</item> returns TRUE</paragraph>
476cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id9392986" role="paragraph" l10n="NEW">
477cdf0e10cSrcweir<item type="input">=ISODD(48)</item> returns FALSE</paragraph>
478cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id5971251" role="paragraph" l10n="NEW">
479cdf0e10cSrcweir<item type="input">=ISODD(3.999)</item> returns TRUE</paragraph>
480cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id4136478" role="paragraph" l10n="NEW">
481cdf0e10cSrcweir<item type="input">=ISODD(-3.1)</item> returns TRUE</paragraph><comment>see also ISEVEN</comment>
482cdf0e10cSrcweir</section>
483cdf0e10cSrcweir<section id="Section39">
484cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3145213"><bookmark_value>LCM function</bookmark_value>
485cdf0e10cSrcweir<bookmark_value>least common multiples</bookmark_value>
486cdf0e10cSrcweir<bookmark_value>lowest common multiples</bookmark_value>
487cdf0e10cSrcweir</bookmark><comment>mw added two entries</comment>
488cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_KGV" id="bm_id3145225" localize="false"/>
489cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3145213" role="heading" level="2" l10n="U"
490cdf0e10cSrcweiroldref="265">LCM</paragraph>
491cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3146814" role="paragraph" l10n="U" oldref="266"><ahelp hid="HID_FUNC_KGV">Returns the least common multiple of one or more integers.</ahelp></paragraph>
492cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3148632" role="heading" level="3" l10n="U"
493cdf0e10cSrcweiroldref="267">Syntax</paragraph>
494cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3147279" role="code" l10n="U" oldref="268">LCM(Integer1; Integer2; ...; Integer30)</paragraph>
495cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3156348" role="paragraph" l10n="U" oldref="269"><emph>Integer1 to 30</emph> are up to 30 integers whose lowest common multiple is to be calculated.</paragraph>
496cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3156431" role="heading" level="3" l10n="U"
497cdf0e10cSrcweiroldref="270">Example</paragraph>
498cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3154914" role="paragraph" l10n="U" oldref="271">If you enter the numbers <item type="input">512</item>;<item type="input">1024</item> and <item type="input">2000</item> in the Integer 1;2 and 3 text boxes, 128000 will be returned as the result.</paragraph>
499cdf0e10cSrcweir</section>
500cdf0e10cSrcweir<section id="Section38">
501cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3154230"><bookmark_value>LCM_ADD function</bookmark_value>
502cdf0e10cSrcweir</bookmark>
503cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_LCM" id="bm_id3147222" localize="false"/>
504cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3154230" role="heading" level="2" l10n="U"
505cdf0e10cSrcweiroldref="684">LCM_ADD</paragraph>
506cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3149036" role="paragraph" l10n="U" oldref="685"><ahelp hid="HID_AAI_FUNC_LCM"> The result is the lowest common multiple of a list of numbers.</ahelp></paragraph>
507cdf0e10cSrcweir<embed href="text/scalc/01/04060102.xhp#ADD_note"/>
508cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3153132" role="heading" level="3" l10n="U"
509cdf0e10cSrcweiroldref="686">Syntax</paragraph>
510cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3154395" role="code" l10n="U" oldref="687">LCM_ADD(Number(s))</paragraph>
511cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3147377" role="paragraph" l10n="U" oldref="688"><emph>Number(s)</emph> is a list of up to 30 numbers.</paragraph>
512cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3145122" role="heading" level="3" l10n="U"
513cdf0e10cSrcweiroldref="689">Example</paragraph>
514cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3145135" role="paragraph" l10n="U" oldref="690">
515cdf0e10cSrcweir<item type="input">=LCM_ADD(5;15;25)</item> returns 75.</paragraph>
516cdf0e10cSrcweir</section>
517cdf0e10cSrcweir<section id="Section37">
518cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3155802"><bookmark_value>COMBIN function</bookmark_value>
519cdf0e10cSrcweir<bookmark_value>number of combinations</bookmark_value>
520cdf0e10cSrcweir</bookmark><comment>mw added one entry</comment>
521cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_KOMBINATIONEN" id="bm_id3155077" localize="false"/>
522cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3155802" role="heading" level="2" l10n="U"
523cdf0e10cSrcweiroldref="273">COMBIN<comment>should be statistical--&gt;add a link there</comment></paragraph>
524cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3156172" role="paragraph" l10n="CHG" oldref="274"><ahelp hid="HID_FUNC_KOMBINATIONEN">Returns the number of combinations for elements without repetition.</ahelp></paragraph>
525cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3156193" role="heading" level="3" l10n="U"
526cdf0e10cSrcweiroldref="275">Syntax</paragraph>
527cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3150223" role="code" l10n="CHG" oldref="276">COMBIN(Count1; Count2)</paragraph>
528cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3150313" role="paragraph" l10n="CHG" oldref="277"><emph>Count1</emph> is the number of items in the set.</paragraph>
529cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3153830" role="paragraph" l10n="CHG" oldref="278"><emph>Count2</emph> is the number of items to choose from the set.</paragraph>
530cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id6807458" role="paragraph" l10n="CHG">COMBIN returns the number of ordered ways to choose these items. For example if there are 3 items A, B and C in a set, you can choose 2 items in 3 different ways, namely AB, AC and BC.</paragraph>
531cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id7414471" role="paragraph" l10n="NEW">COMBIN implements the formula: Count1!/(Count2!*(Count1-Count2)!)</paragraph>
532cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3153171" role="heading" level="3" l10n="U"
533cdf0e10cSrcweiroldref="279">Example</paragraph>
534cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3153517" role="paragraph" l10n="CHG" oldref="280">
535cdf0e10cSrcweir<item type="input">=COMBIN(3;2)</item> returns 3.</paragraph><comment>see also COMBINA  </comment>
536cdf0e10cSrcweir</section>
537cdf0e10cSrcweir<section id="Section36">
538cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3150284"><bookmark_value>COMBINA function</bookmark_value>
539cdf0e10cSrcweir<bookmark_value>number of combinations with repetitions</bookmark_value>
540cdf0e10cSrcweir</bookmark><comment>mw added one entry</comment>
541cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_KOMBINATIONEN2" id="bm_id3150295" localize="false"/>
542cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3150284" role="heading" level="2" l10n="U"
543cdf0e10cSrcweiroldref="282">COMBINA<comment>should be statistical--&gt;add a link there</comment></paragraph>
544cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3157894" role="paragraph" l10n="CHG" oldref="283"><ahelp hid="HID_FUNC_KOMBINATIONEN2">Returns the number of combinations of a subset of items including repetitions.</ahelp></paragraph>
545cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3145752" role="heading" level="3" l10n="U"
546cdf0e10cSrcweiroldref="284">Syntax</paragraph>
547cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3145765" role="code" l10n="CHG" oldref="285">COMBINA(Count1; Count2)</paragraph>
548cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3153372" role="paragraph" l10n="CHG" oldref="286"><emph>Count1</emph> is the number of items in the set.</paragraph>
549cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3155544" role="paragraph" l10n="CHG" oldref="287"><emph>Count2</emph> is the number of items to choose from the set.</paragraph>
550cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id1997131" role="paragraph" l10n="CHG">COMBINA returns the number of unique ways to choose these items, where the order of choosing is irrelevant, and repetition of items is allowed. For example if there are 3 items A, B and C in a set, you can choose 2 items in 6 different ways, namely AA, AB, AC, BB, BC and CC.</paragraph>
551cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id2052064" role="paragraph" l10n="CHG">COMBINA implements the formula: (Count1+Count2-1)! / (Count2!(Count1-1)!)<comment>i88052</comment></paragraph>
552cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3154584" role="heading" level="3" l10n="U"
553cdf0e10cSrcweiroldref="288">Example</paragraph>
554cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3152904" role="paragraph" l10n="CHG" oldref="289">
555cdf0e10cSrcweir<item type="input">=COMBINA(3;2)</item> returns 6.</paragraph><comment>see also COMBIN</comment>
556cdf0e10cSrcweir</section>
557cdf0e10cSrcweir<section id="Section35">
558cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3156086"><bookmark_value>TRUNC function</bookmark_value>
559cdf0e10cSrcweir<bookmark_value>decimal places;cutting off</bookmark_value>
560cdf0e10cSrcweir</bookmark><comment>mw added one entry</comment>
561cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_KUERZEN" id="bm_id3157849" localize="false"/>
562cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3156086" role="heading" level="2" l10n="U"
563cdf0e10cSrcweiroldref="291">TRUNC</paragraph>
564cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3157866" role="paragraph" l10n="CHG" oldref="292"><ahelp hid="HID_FUNC_KUERZEN">Truncates a number by removing decimal places.</ahelp></paragraph>
565cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3148499" role="heading" level="3" l10n="U"
566cdf0e10cSrcweiroldref="293">Syntax</paragraph>
567cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3148511" role="code" l10n="U" oldref="294">TRUNC(Number; Count)</paragraph>
568cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3150796" role="paragraph" l10n="CHG" oldref="295">Returns <emph>Number</emph> with at most <emph>Count</emph> decimal places. Excess decimal places are simply removed, irrespective of sign.</paragraph>
569cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3150816" role="paragraph" l10n="CHG" oldref="296">
570cdf0e10cSrcweir<item type="literal">TRUNC(Number; 0)</item> behaves as <item type="literal">INT(Number)</item> for positive numbers, but effectively rounds towards zero for negative numbers.</paragraph>
571cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3148548" role="warning" l10n="CHG" oldref="557">The <emph>visible</emph> decimal places of the result are specified in <switchinline select="sys"><caseinline select="MAC">%PRODUCTNAME - Preferences</caseinline><defaultinline>Tools - Options</defaultinline></switchinline> - <link href="text/shared/optionen/01060500.xhp">%PRODUCTNAME Calc - Calculate</link>.</paragraph>
572cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3152555" role="heading" level="3" l10n="U"
573cdf0e10cSrcweiroldref="297">Example</paragraph>
574cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3152569" role="paragraph" l10n="CHG" oldref="298">
575cdf0e10cSrcweir<item type="input">=TRUNC(1.239;2)</item> returns 1.23. The 9 is lost.</paragraph>
576cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id7050080" role="paragraph" l10n="NEW">
577cdf0e10cSrcweir<item type="input">=TRUNC(-1.234999;3)</item> returns -1.234. All the 9s are lost.</paragraph><comment>see also INT, ROUND, ROUNDDOWN, ROUNDUP,
578cdf0e10cSrcweirCEILING, FLOOR, EVEN, ODD, MROUND</comment>
579cdf0e10cSrcweir</section>
580cdf0e10cSrcweir<section id="Section34">
581cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3153601"><bookmark_value>LN function</bookmark_value>
582cdf0e10cSrcweir<bookmark_value>natural logarithm</bookmark_value>
583cdf0e10cSrcweir</bookmark><comment>mw added one entry</comment>
584cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_LN" id="bm_id3153613" localize="false"/>
585cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3153601" role="heading" level="2" l10n="U"
586cdf0e10cSrcweiroldref="301">LN</paragraph>
587cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3154974" role="paragraph" l10n="CHG" oldref="302"><ahelp hid="HID_FUNC_LN">Returns the natural logarithm based on the constant e of a number.</ahelp> The constant e has a value of approximately 2.71828182845904.</paragraph>
588cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3154993" role="heading" level="3" l10n="U"
589cdf0e10cSrcweiroldref="303">Syntax</paragraph>
590cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3155284" role="code" l10n="U" oldref="304">LN(Number)</paragraph>
591cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3155297" role="paragraph" l10n="U" oldref="305"><emph>Number</emph> is the value whose natural logarithm is to be calculated.</paragraph>
592cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3153852" role="heading" level="3" l10n="U"
593cdf0e10cSrcweiroldref="306">Example</paragraph>
594cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3153866" role="paragraph" l10n="CHG" oldref="307">
595cdf0e10cSrcweir<item type="input">=LN(3)</item> returns the natural logarithm of 3 (approximately 1.0986).</paragraph>
596cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id5747245" role="paragraph" l10n="NEW">
597cdf0e10cSrcweir<item type="input">=LN(EXP(321))</item> returns 321.</paragraph><comment>see also LOG, LOG10, EXP,  </comment>
598cdf0e10cSrcweir</section>
599cdf0e10cSrcweir<section id="Section33">
600cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3109813"><bookmark_value>LOG function</bookmark_value>
601cdf0e10cSrcweir<bookmark_value>logarithms</bookmark_value>
602cdf0e10cSrcweir</bookmark><comment>mw added one entry</comment>
603cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_LOG" id="bm_id3109824" localize="false"/>
604cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3109813" role="heading" level="2" l10n="U"
605cdf0e10cSrcweiroldref="311">LOG</paragraph>
606cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3109841" role="paragraph" l10n="U" oldref="312"><ahelp hid="HID_FUNC_LOG">Returns the logarithm of a number to the specified base.</ahelp></paragraph>
607cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3144719" role="heading" level="3" l10n="U"
608cdf0e10cSrcweiroldref="313">Syntax</paragraph>
609cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3144732" role="code" l10n="U" oldref="314">LOG(Number; Base)</paragraph>
610cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3144746" role="paragraph" l10n="U" oldref="315"><emph>Number</emph> is the value whose logarithm is to be calculated.</paragraph>
611cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3152840" role="paragraph" l10n="CHG" oldref="316"><emph>Base</emph> (optional) is the base for the logarithm calculation. If omitted, Base 10 is assumed.</paragraph>
612cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3152860" role="heading" level="3" l10n="U"
613cdf0e10cSrcweiroldref="317">Example</paragraph>
614cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3154429" role="paragraph" l10n="CHG" oldref="318">
615cdf0e10cSrcweir<item type="input">=LOG(10;3)</item> returns the logarithm to base 3 of 10 (approximately 2.0959).</paragraph>
616cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id5577562" role="paragraph" l10n="NEW">
617cdf0e10cSrcweir<item type="input">=LOG(7^4;7)</item> returns 4.</paragraph><comment>see also LOG10, LN, POWER,  </comment>
618cdf0e10cSrcweir</section>
619cdf0e10cSrcweir<section id="Section32">
620cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3154187"><bookmark_value>LOG10 function</bookmark_value>
621cdf0e10cSrcweir<bookmark_value>base-10 logarithm</bookmark_value>
622cdf0e10cSrcweir</bookmark><comment>mw added one entry</comment>
623cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_LOG10" id="bm_id3155460" localize="false"/>
624cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3154187" role="heading" level="2" l10n="U"
625cdf0e10cSrcweiroldref="322">LOG10</paragraph>
626cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3155476" role="paragraph" l10n="U" oldref="323"><ahelp hid="HID_FUNC_LOG10">Returns the base-10 logarithm of a number.</ahelp></paragraph>
627cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3155494" role="heading" level="3" l10n="U"
628cdf0e10cSrcweiroldref="324">Syntax</paragraph>
629cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3159294" role="code" l10n="U" oldref="325">LOG10(Number)</paragraph>
630cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3159308" role="paragraph" l10n="CHG" oldref="326">Returns the logarithm to base 10 of <emph>Number</emph>.</paragraph>
631cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3159328" role="heading" level="3" l10n="U"
632cdf0e10cSrcweiroldref="327">Example</paragraph>
633cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3157916" role="paragraph" l10n="CHG" oldref="328">
634cdf0e10cSrcweir<item type="input">=LOG10(5)</item> returns the base-10 logarithm of 5 (approximately 0.69897).</paragraph><comment>see also LOG, LN, POWER  </comment>
635cdf0e10cSrcweir</section>
636cdf0e10cSrcweir<section id="Section31">
637cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3152518"><bookmark_value>CEILING function</bookmark_value>
638cdf0e10cSrcweir<bookmark_value>rounding;up to multiples of significance</bookmark_value>
639cdf0e10cSrcweir</bookmark><comment>mw added one entry</comment>
640cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_OBERGRENZE" id="bm_id3152530" localize="false"/>
641cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3152518" role="heading" level="2" l10n="U"
642cdf0e10cSrcweiroldref="332">CEILING</paragraph>
643cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3153422" role="paragraph" l10n="CHG" oldref="558"><ahelp hid="HID_FUNC_OBERGRENZE">Rounds a number up to the nearest multiple of Significance.</ahelp></paragraph>
644cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3153440" role="heading" level="3" l10n="U"
645cdf0e10cSrcweiroldref="334">Syntax</paragraph>
646cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3153454" role="code" l10n="CHG" oldref="335">CEILING(Number; Significance; Mode)</paragraph>
647cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3153467" role="paragraph" l10n="U" oldref="336"><emph>Number</emph> is the number that is to be rounded up.</paragraph>
648cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3155000" role="paragraph" l10n="CHG" oldref="337"><emph>Significance</emph> is the number to whose multiple the value is to be rounded up.</paragraph>
649cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3155020" role="paragraph" l10n="CHG" oldref="559"><emph>Mode</emph> is an optional value. If the Mode value is given and not equal to zero, and if Number and Significance are negative, then rounding is done based on the absolute value of Number. This parameter is ignored when exporting to MS Excel as Excel does not know any third parameter.</paragraph>
650cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3163792" role="warning" l10n="CHG" oldref="629">If both parameters Number and Significance are negative and the Mode value is equal to zero or is not given, the results in $[officename] and Excel will differ after the import has been completed. If you export the spreadsheet to Excel, use Mode=1 to see the same results in Excel as in Calc.</paragraph>
651cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3145697" role="heading" level="3" l10n="U"
652cdf0e10cSrcweiroldref="338">Example</paragraph>
653cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3145710" role="paragraph" l10n="CHG" oldref="339">
654cdf0e10cSrcweir<item type="input">=CEILING(-11;-2)</item> returns -10</paragraph>
655cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3145725" role="paragraph" l10n="CHG" oldref="340">
656cdf0e10cSrcweir<item type="input">=CEILING(-11;-2;0)</item> returns -10</paragraph>
657cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3145740" role="paragraph" l10n="CHG" oldref="341">
658cdf0e10cSrcweir<item type="input">=CEILING(-11;-2;1)</item> returns -12</paragraph><comment>see also FLOOR, EVEN, ODD, MROUND,
659cdf0e10cSrcweirINT, TRUNC, ROUND, ROUNDDOWN, ROUNDUP</comment>
660cdf0e10cSrcweir</section>
661cdf0e10cSrcweir<section id="Section30">
662cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3157762"><bookmark_value>PI function</bookmark_value>
663cdf0e10cSrcweir</bookmark>
664cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_PI" id="bm_id3157774" localize="false"/>
665cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3157762" role="heading" level="2" l10n="U"
666cdf0e10cSrcweiroldref="343">PI</paragraph>
667cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3157790" role="paragraph" l10n="CHG" oldref="344"><ahelp hid="HID_FUNC_PI">Returns 3.14159265358979, the value of the mathematical constant PI to 14 decimal places.</ahelp></paragraph>
668cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3157809" role="heading" level="3" l10n="U"
669cdf0e10cSrcweiroldref="345">Syntax</paragraph>
670cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3157822" role="code" l10n="U" oldref="346">PI()</paragraph>
671cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3157836" role="heading" level="3" l10n="U"
672cdf0e10cSrcweiroldref="347">Example</paragraph>
673cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3152370" role="paragraph" l10n="CHG" oldref="348">
674cdf0e10cSrcweir<item type="input">=PI()</item> returns 3.14159265358979.</paragraph>
675cdf0e10cSrcweir</section>
676cdf0e10cSrcweir<section id="Section29">
677cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3152418"><bookmark_value>MULTINOMIAL function</bookmark_value>
678cdf0e10cSrcweir</bookmark>
679cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_MULTINOMIAL" id="bm_id3152429" localize="false"/>
680cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3152418" role="heading" level="2" l10n="U"
681cdf0e10cSrcweiroldref="635">MULTINOMIAL</paragraph>
682cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3152454" role="paragraph" l10n="U" oldref="636"><ahelp hid="HID_AAI_FUNC_MULTINOMIAL"> Returns the factorial of the sum of the arguments divided by the product of the factorials of the arguments.</ahelp></paragraph>
683cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3155646" role="heading" level="3" l10n="U"
684cdf0e10cSrcweiroldref="637">Syntax</paragraph>
685cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3155660" role="code" l10n="U" oldref="638">MULTINOMIAL(Number(s))</paragraph>
686cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3155673" role="paragraph" l10n="U" oldref="639"><emph>Number(s)</emph> is a list of up to 30 numbers.</paragraph>
687cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3155687" role="heading" level="3" l10n="U"
688cdf0e10cSrcweiroldref="640">Example</paragraph>
689cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3155701" role="paragraph" l10n="U" oldref="641">
690cdf0e10cSrcweir<item type="input">=MULTINOMIAL(F11:H11)</item> returns 1260, if F11 to H11 contain the values <item type="input">2</item>, <item type="input">3</item> and <item type="input">4</item>. This corresponds to the formula =(2+3+4)! / (2!*3!*4!)</paragraph>
691cdf0e10cSrcweir</section>
692cdf0e10cSrcweir<section id="Section28">
693cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3155717"><bookmark_value>POWER function</bookmark_value>
694cdf0e10cSrcweir</bookmark>
695cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_POTENZ" id="bm_id3155728" localize="false"/>
696cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3155717" role="heading" level="2" l10n="U"
697cdf0e10cSrcweiroldref="350">POWER</paragraph>
698cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3159495" role="paragraph" l10n="CHG" oldref="351"><ahelp hid="HID_FUNC_POTENZ">Returns a number raised to another number.</ahelp></paragraph>
699cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3159513" role="heading" level="3" l10n="U"
700cdf0e10cSrcweiroldref="352">Syntax</paragraph>
701cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3159526" role="code" l10n="U" oldref="353">POWER(Base; Exponent)</paragraph>
702cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3159540" role="paragraph" l10n="CHG" oldref="354">Returns <emph>Base</emph> raised to the power of <emph>Exponent</emph>.</paragraph>
703cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id5081637" role="paragraph" l10n="NEW">The same result may be achieved by using the exponentiation operator ^:</paragraph>
704cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id9759514" role="code" l10n="NEW">
705cdf0e10cSrcweir<item type="literal">Base^Exponent</item>
706cdf0e10cSrcweir</paragraph>
707cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3159580" role="heading" level="3" l10n="U"
708cdf0e10cSrcweiroldref="356">Example</paragraph>
709cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3159594" role="paragraph" l10n="CHG" oldref="357">
710cdf0e10cSrcweir<item type="input">=POWER(4;3)</item> returns 64, which is 4 to the power of 3.</paragraph>
711cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id1614429" role="paragraph" l10n="NEW">=4^3 also returns 4 to the power of 3.</paragraph><comment>see also EXP, LOG, SQRT</comment>
712cdf0e10cSrcweir</section>
713cdf0e10cSrcweir<section id="Section27">
714cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3152651"><bookmark_value>SERIESSUM function</bookmark_value>
715cdf0e10cSrcweir</bookmark>
716cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_SERIESSUM" id="bm_id3152662" localize="false"/>
717cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3152651" role="heading" level="2" l10n="U"
718cdf0e10cSrcweiroldref="642">SERIESSUM</paragraph>
719cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3152688" role="paragraph" l10n="CHG" oldref="643"><ahelp hid=".">Sums the first terms of a power series.</ahelp></paragraph>
720cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3152708" role="paragraph" l10n="U" oldref="644">SERIESSUM(x;n;m;coefficients) = coefficient_1*x^n + coefficient_2*x^(n+m) + coefficient_3*x^(n+2m) +...+ coefficient_i*x^(n+(i-1)m)</paragraph>
721cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3152724" role="heading" level="3" l10n="U"
722cdf0e10cSrcweiroldref="645">Syntax</paragraph>
723cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_idN11BD9" role="code" l10n="NEW">SERIESSUM(X; N; M; Coefficients)</paragraph>
724cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3152737" role="paragraph" l10n="CHG" oldref="646"><emph>X</emph> is the input value for the power series.</paragraph>
725cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3144344" role="paragraph" l10n="CHG" oldref="647"><emph>N</emph> is the initial power</paragraph>
726cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3144357" role="paragraph" l10n="CHG" oldref="648"><emph>M</emph> is the increment to increase N</paragraph>
727cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3144370" role="paragraph" l10n="U" oldref="649"><emph>Coefficients</emph> is a series of coefficients. For each coefficient the series sum is extended by one section.</paragraph>
728cdf0e10cSrcweir</section>
729cdf0e10cSrcweir<section id="Section26">
730cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3144386"><bookmark_value>PRODUCT function</bookmark_value>
731cdf0e10cSrcweir<bookmark_value>numbers;multiplying</bookmark_value>
732cdf0e10cSrcweir<bookmark_value>multiplying;numbers</bookmark_value>
733cdf0e10cSrcweir</bookmark><comment>mw added two entries</comment>
734cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_PRODUKT" id="bm_id3144397" localize="false"/>
735cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3144386" role="heading" level="2" l10n="U"
736cdf0e10cSrcweiroldref="361">PRODUCT</paragraph>
737cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3144414" role="paragraph" l10n="U" oldref="362"><ahelp hid="HID_FUNC_PRODUKT">Multiplies all the numbers given as arguments and returns the product.</ahelp></paragraph>
738cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3144433" role="heading" level="3" l10n="U"
739cdf0e10cSrcweiroldref="363">Syntax</paragraph>
740cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3144446" role="code" l10n="U" oldref="364">PRODUCT(Number1; Number2; ...; Number30)</paragraph>
741cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3144460" role="paragraph" l10n="U" oldref="365"><emph>Number1 to 30</emph> are up to 30 arguments whose product is to be calculated.</paragraph>
742cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id1589098" role="paragraph" l10n="NEW">PRODUCT returns number1 * number2 * number3 * ...</paragraph>
743cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3144480" role="heading" level="3" l10n="U"
744cdf0e10cSrcweiroldref="366">Example</paragraph>
745cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3144494" role="paragraph" l10n="CHG" oldref="367">
746cdf0e10cSrcweir<item type="input">=PRODUCT(2;3;4)</item> returns 24.</paragraph><comment>see also FACT,  SUM</comment>
747cdf0e10cSrcweir</section>
748cdf0e10cSrcweir<section id="Section25">
749cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3160340"><bookmark_value>SUMSQ function</bookmark_value>
750cdf0e10cSrcweir<bookmark_value>square number additions</bookmark_value>
751cdf0e10cSrcweir<bookmark_value>sums;of square numbers</bookmark_value>
752cdf0e10cSrcweir</bookmark><comment>mw added two entries</comment>
753cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_QUADRATESUMME" id="bm_id3160351" localize="false"/>
754cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3160340" role="heading" level="2" l10n="U"
755cdf0e10cSrcweiroldref="369">SUMSQ</paragraph>
756cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3160368" role="paragraph" l10n="U" oldref="370"><ahelp hid="HID_FUNC_QUADRATESUMME">If you want to calculate the sum of the squares of numbers (totaling up of the squares of the arguments), enter these into the text fields.</ahelp></paragraph>
757cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3160388" role="heading" level="3" l10n="U"
758cdf0e10cSrcweiroldref="371">Syntax</paragraph>
759cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3160402" role="code" l10n="U" oldref="372">SUMSQ(Number1; Number2; ...; Number30)</paragraph>
760cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3160415" role="paragraph" l10n="U" oldref="373"><emph>Number1 to 30</emph> are up to 30 arguments the sum of whose squares is to be calculated.</paragraph>
761cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3160436" role="heading" level="3" l10n="U"
762cdf0e10cSrcweiroldref="374">Example</paragraph>
763cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3160449" role="paragraph" l10n="U" oldref="375">If you enter the numbers <item type="input">2</item>; <item type="input">3</item> and <item type="input">4</item> in the Number 1; 2 and 3 text boxes, 29 is returned as the result.</paragraph>
764cdf0e10cSrcweir</section>
765cdf0e10cSrcweir<section id="Section24">
766cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3158247"><bookmark_value>MOD function</bookmark_value>
767cdf0e10cSrcweir<bookmark_value>remainders of divisions</bookmark_value>
768cdf0e10cSrcweir</bookmark><comment>mw added one entry</comment>
769cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_REST" id="bm_id3158259" localize="false"/>
770cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3158247" role="heading" level="2" l10n="U"
771cdf0e10cSrcweiroldref="387">MOD</paragraph>
772cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3158276" role="paragraph" l10n="CHG" oldref="388"><ahelp hid="HID_FUNC_REST">Returns the remainder when one integer is divided by another.</ahelp></paragraph>
773cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3158294" role="heading" level="3" l10n="U"
774cdf0e10cSrcweiroldref="389">Syntax</paragraph>
775cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3158308" role="code" l10n="U" oldref="390">MOD(Dividend; Divisor)</paragraph>
776cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3158321" role="paragraph" l10n="CHG" oldref="391"> For integer arguments this function returns Dividend modulo Divisor, that is the remainder when <emph>Dividend</emph> is divided by <emph>Divisor</emph>.</paragraph>
777cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3158341" role="paragraph" l10n="CHG" oldref="392">This function is implemented as <item type="literal">Dividend - Divisor * INT(Dividend/Divisor)</item> , and this formula gives the result if the arguments are not integer.</paragraph>
778cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3158361" role="heading" level="3" l10n="U"
779cdf0e10cSrcweiroldref="393">Example</paragraph>
780cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3158374" role="paragraph" l10n="CHG" oldref="394">
781cdf0e10cSrcweir<item type="input">=MOD(22;3)</item> returns 1, the remainder when 22 is divided by 3.</paragraph>
782cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id1278420" role="paragraph" l10n="NEW">
783cdf0e10cSrcweir<item type="input">=MOD(11.25;2.5)</item> returns 1.25.</paragraph><comment>see also QUOTIENT, INT,   </comment>
784cdf0e10cSrcweir</section>
785cdf0e10cSrcweir<section id="Section23">
786cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3144592"><bookmark_value>QUOTIENT function</bookmark_value>
787cdf0e10cSrcweir<bookmark_value>divisions</bookmark_value>
788cdf0e10cSrcweir</bookmark><comment>mw added one entry</comment>
789cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_QUOTIENT" id="bm_id3144603" localize="false"/>
790cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3144592" role="heading" level="2" l10n="E"
791cdf0e10cSrcweiroldref="652">QUOTIENT</paragraph>
792cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3144627" role="paragraph" l10n="CHG" oldref="653"><ahelp hid="HID_AAI_FUNC_QUOTIENT">Returns the integer part of a division operation.</ahelp></paragraph>
793cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3144646" role="heading" level="3" l10n="U"
794cdf0e10cSrcweiroldref="654">Syntax</paragraph>
795cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3144659" role="code" l10n="U" oldref="655">QUOTIENT(Numerator; Denominator)</paragraph>
796cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id9038972" role="paragraph" l10n="NEW">Returns the integer part of <emph>Numerator</emph> divided by <emph>Denominator</emph>.</paragraph>
797cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id7985168" role="paragraph" l10n="NEW">QUOTIENT is equivalent to <item type="literal">INT(numerator/denominator)</item>, except that it may report errors with different error codes.</paragraph>
798cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3144674" role="heading" level="3" l10n="U"
799cdf0e10cSrcweiroldref="656">Example</paragraph>
800cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3144687" role="paragraph" l10n="CHG" oldref="657">
801cdf0e10cSrcweir<item type="input">=QUOTIENT(11;3)</item> returns 3. The remainder of 2 is lost.</paragraph><comment>see also MOD, INT </comment>
802cdf0e10cSrcweir</section>
803cdf0e10cSrcweir<section id="Section22">
804cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3144702"><bookmark_value>RADIANS function</bookmark_value>
805cdf0e10cSrcweir<bookmark_value>converting;degrees, into radians</bookmark_value>
806cdf0e10cSrcweir</bookmark><comment>mw added one entry</comment>
807cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_RAD" id="bm_id3158008" localize="false"/>
808cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3144702" role="heading" level="2" l10n="U"
809cdf0e10cSrcweiroldref="377">RADIANS</paragraph>
810cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3158025" role="paragraph" l10n="U" oldref="378"><ahelp hid="HID_FUNC_RAD">Converts degrees to radians.</ahelp></paragraph>
811cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3158042" role="heading" level="3" l10n="U"
812cdf0e10cSrcweiroldref="379">Syntax</paragraph>
813cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3158055" role="code" l10n="U" oldref="380">RADIANS(Number)</paragraph>
814cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3158069" role="paragraph" l10n="CHG" oldref="381"><emph>Number</emph> is the angle in degrees to be converted to radians.</paragraph>
815cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id876186" role="heading" level="3" l10n="NEW">Example</paragraph>
816cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3939634" role="paragraph" l10n="NEW">
817cdf0e10cSrcweir<item type="input">=RADIANS(90)</item> returns 1.5707963267949, which is PI/2 to Calc's accuracy.</paragraph><comment>see also DEGREES </comment>
818cdf0e10cSrcweir</section>
819cdf0e10cSrcweir<section id="Section21">
820cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3158121"><bookmark_value>ROUND function</bookmark_value>
821cdf0e10cSrcweir</bookmark>
822cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_RUNDEN" id="bm_id3158133" localize="false"/>
823cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3158121" role="heading" level="2" l10n="U"
824cdf0e10cSrcweiroldref="398">ROUND</paragraph>
825cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3158150" role="paragraph" l10n="CHG" oldref="399"><ahelp hid="HID_FUNC_RUNDEN">Rounds a number to a certain number of decimal places.</ahelp></paragraph>
826cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3158169" role="heading" level="3" l10n="U"
827cdf0e10cSrcweiroldref="400">Syntax</paragraph>
828cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3158182" role="code" l10n="U" oldref="401">ROUND(Number; Count)</paragraph>
829cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3158196" role="paragraph" l10n="U" oldref="402">Returns <emph>Number</emph> rounded to <emph>Count</emph> decimal places. If Count is omitted or zero, the function rounds to the nearest integer. If Count is negative, the function rounds to the nearest 10, 100, 1000, etc.</paragraph>
830cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id599688" role="paragraph" l10n="NEW">This function rounds to the nearest number. See ROUNDDOWN and ROUNDUP for alternatives.</paragraph>
831cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3145863" role="heading" level="3" l10n="U"
832cdf0e10cSrcweiroldref="404">Example</paragraph>
833cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3145876" role="paragraph" l10n="CHG" oldref="405">
834cdf0e10cSrcweir<item type="input">=ROUND(2.348;2)</item> returns 2.35</paragraph>
835cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3145899" role="paragraph" l10n="CHG" oldref="406">
836cdf0e10cSrcweir<item type="input">=ROUND(-32.4834;3)</item> returns -32.483. Change the cell format to see all decimals.</paragraph>
837cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id1371501" role="paragraph" l10n="NEW">
838cdf0e10cSrcweir<item type="input">=ROUND(2.348;0)</item> returns 2.</paragraph>
839cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id4661702" role="paragraph" l10n="NEW">
840cdf0e10cSrcweir<item type="input">=ROUND(2.5)</item> returns 3. </paragraph>
841cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id7868892" role="paragraph" l10n="NEW">
842cdf0e10cSrcweir<item type="input">=ROUND(987.65;-2)</item> returns 1000.</paragraph><comment>see also INT, TRUNC, ROUNDDOWN, ROUNDUP,
843cdf0e10cSrcweirCEILING, FLOOR, EVEN, ODD, MROUND</comment>
844cdf0e10cSrcweir</section>
845cdf0e10cSrcweir<section id="Section20">
846cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3145991"><bookmark_value>ROUNDDOWN function</bookmark_value>
847cdf0e10cSrcweir</bookmark>
848cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_ABRUNDEN" id="bm_id3146003" localize="false"/>
849cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3145991" role="heading" level="2" l10n="U"
850cdf0e10cSrcweiroldref="24">ROUNDDOWN</paragraph>
851cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3146020" role="paragraph" l10n="CHG" oldref="25"><ahelp hid="HID_FUNC_ABRUNDEN">Rounds a number down, toward zero, to a certain precision.</ahelp></paragraph>
852cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3146037" role="heading" level="3" l10n="U"
853cdf0e10cSrcweiroldref="26">Syntax</paragraph>
854cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3146051" role="code" l10n="U" oldref="27">ROUNDDOWN(Number; Count)</paragraph>
855cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3146064" role="paragraph" l10n="CHG" oldref="28">Returns <emph>Number</emph> rounded down (towards zero) to <emph>Count</emph> decimal places. If Count is omitted or zero, the function rounds down to an integer. If Count is negative, the function rounds down to the next 10, 100, 1000, etc.</paragraph>
856cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id2188787" role="paragraph" l10n="NEW">This function rounds towards zero. See ROUNDUP and ROUND for alternatives.</paragraph>
857cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3163164" role="heading" level="3" l10n="U"
858cdf0e10cSrcweiroldref="30">Example</paragraph>
859cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3163178" role="paragraph" l10n="CHG" oldref="31">
860cdf0e10cSrcweir<item type="input">=ROUNDDOWN(1.234;2)</item> returns 1.23.</paragraph>
861cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id5833307" role="paragraph" l10n="NEW">
862cdf0e10cSrcweir<item type="input">=ROUNDDOWN(45.67;0)</item> returns 45.</paragraph>
863cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id7726676" role="paragraph" l10n="NEW">
864cdf0e10cSrcweir<item type="input">=ROUNDDOWN(-45.67)</item> returns -45.</paragraph>
865cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3729361" role="paragraph" l10n="NEW">
866cdf0e10cSrcweir<item type="input">=ROUNDDOWN(987.65;-2)</item> returns 900.</paragraph><comment>see also INT, TRUNC, ROUND, ROUNDUP,
867cdf0e10cSrcweirCEILING, FLOOR, EVEN, ODD, MROUND</comment>
868cdf0e10cSrcweir</section>
869cdf0e10cSrcweir<section id="Section19">
870cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3163268"><bookmark_value>ROUNDUP function</bookmark_value>
871cdf0e10cSrcweir</bookmark>
872cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_AUFRUNDEN" id="bm_id3163280" localize="false"/>
873cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3163268" role="heading" level="2" l10n="U"
874cdf0e10cSrcweiroldref="140">ROUNDUP</paragraph>
875cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3163297" role="paragraph" l10n="CHG" oldref="141"><ahelp hid="HID_FUNC_AUFRUNDEN">Rounds a number up, away from zero, to a certain precision.</ahelp></paragraph>
876cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3163315" role="heading" level="3" l10n="U"
877cdf0e10cSrcweiroldref="142">Syntax</paragraph>
878cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3163328" role="code" l10n="U" oldref="143">ROUNDUP(Number; Count)</paragraph>
879cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3163342" role="paragraph" l10n="CHG" oldref="144">Returns <emph>Number</emph> rounded up (away from zero) to <emph>Count</emph> decimal places. If Count is omitted or zero, the function rounds up to an integer. If Count is negative, the function rounds up to the next 10, 100, 1000, etc.</paragraph>
880cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id9573961" role="paragraph" l10n="NEW">This function rounds away from zero. See ROUNDDOWN and ROUND for alternatives.</paragraph>
881cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3163381" role="heading" level="3" l10n="U"
882cdf0e10cSrcweiroldref="146">Example</paragraph>
883cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3144786" role="paragraph" l10n="CHG" oldref="147">
884cdf0e10cSrcweir<item type="input">=ROUNDUP(1.1111;2)</item> returns 1.12.</paragraph>
885cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id7700430" role="paragraph" l10n="NEW">
886cdf0e10cSrcweir<item type="input">=ROUNDUP(1.2345;1)</item> returns 1.3.</paragraph>
887cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id1180455" role="paragraph" l10n="NEW">
888cdf0e10cSrcweir<item type="input">=ROUNDUP(45.67;0)</item> returns 46.</paragraph>
889cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3405560" role="paragraph" l10n="NEW">
890cdf0e10cSrcweir<item type="input">=ROUNDUP(-45.67)</item> returns -46.</paragraph>
891cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3409527" role="paragraph" l10n="NEW">
892cdf0e10cSrcweir<item type="input">=ROUNDUP(987.65;-2)</item> returns 1000.</paragraph><comment>see also INT, TRUNC, ROUND, ROUNDDOWN,
893cdf0e10cSrcweirCEILING, FLOOR, EVEN, ODD, MROUND</comment>
894cdf0e10cSrcweir</section>
895cdf0e10cSrcweir<section id="Section18">
896cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3144877"><bookmark_value>SIN function</bookmark_value>
897cdf0e10cSrcweir</bookmark>
898cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_SIN" id="bm_id3144889" localize="false"/>
899cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3144877" role="heading" level="2" l10n="U"
900cdf0e10cSrcweiroldref="408">SIN</paragraph>
901cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3144906" role="paragraph" l10n="CHG" oldref="409"><ahelp hid="HID_FUNC_SIN">Returns the sine of the given angle (in radians).</ahelp></paragraph>
902cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3144923" role="heading" level="3" l10n="U"
903cdf0e10cSrcweiroldref="410">Syntax</paragraph>
904cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3144937" role="code" l10n="U" oldref="411">SIN(Number)</paragraph>
905cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3144950" role="paragraph" l10n="CHG" oldref="412">Returns the (trigonometric) sine of <emph>Number</emph>, the angle in radians.</paragraph>
906cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id8079470" role="paragraph" l10n="NEW">To return the sine of an angle in degrees, use the RADIANS function.</paragraph>
907cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3144969" role="heading" level="3" l10n="U"
908cdf0e10cSrcweiroldref="413">Example</paragraph>
909cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3144983" role="paragraph" l10n="CHG" oldref="414">
910cdf0e10cSrcweir<item type="input">=SIN(PI()/2)</item> returns 1, the sine of PI/2 radians.</paragraph>
911cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3916440" role="paragraph" l10n="NEW">
912cdf0e10cSrcweir<item type="input">=SIN(RADIANS(30))</item> returns 0.5, the sine of 30 degrees.</paragraph><comment>see also COS, TAN, COT,
913cdf0e10cSrcweirACOS, ASIN, ATAN, ATAN2, ACOT  </comment>
914cdf0e10cSrcweir</section>
915cdf0e10cSrcweir<section id="Section17">
916cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3163397"><bookmark_value>SINH function</bookmark_value>
917cdf0e10cSrcweir</bookmark>
918cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_SINHYP" id="bm_id3163409" localize="false"/>
919cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3163397" role="heading" level="2" l10n="U"
920cdf0e10cSrcweiroldref="418">SINH</paragraph>
921cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3163426" role="paragraph" l10n="U" oldref="419"><ahelp hid="HID_FUNC_SINHYP">Returns the hyperbolic sine of a number.</ahelp></paragraph>
922cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3163444" role="heading" level="3" l10n="U"
923cdf0e10cSrcweiroldref="420">Syntax</paragraph>
924cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3163457" role="code" l10n="U" oldref="421">SINH(Number)</paragraph>
925cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3163471" role="paragraph" l10n="CHG" oldref="422">Returns the hyperbolic sine of <emph>Number</emph>.</paragraph>
926cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3163491" role="heading" level="3" l10n="U"
927cdf0e10cSrcweiroldref="423">Example</paragraph>
928cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3163504" role="paragraph" l10n="CHG" oldref="424">
929cdf0e10cSrcweir<item type="input">=SINH(0)</item> returns 0, the hyperbolic sine of 0.</paragraph><comment>see also COSH, TANH, COTH,
930cdf0e10cSrcweirACOSH, ASINH, ATANH, ACOTH</comment>
931cdf0e10cSrcweir</section>
932cdf0e10cSrcweir<section id="Section16">
933cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3163596"><bookmark_value>SUM function</bookmark_value>
934cdf0e10cSrcweir<bookmark_value>adding;numbers in cell ranges</bookmark_value>
935cdf0e10cSrcweir</bookmark><comment>mw added one entry</comment>
936cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_SUMME" id="bm_id3163608" localize="false"/>
937cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3163596" role="heading" level="2" l10n="U"
938cdf0e10cSrcweiroldref="428">SUM</paragraph>
939cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3163625" role="paragraph" l10n="U" oldref="429"><ahelp hid="HID_FUNC_SUMME">Adds all the numbers in a range of cells.</ahelp></paragraph>
940cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3163643" role="heading" level="3" l10n="U"
941cdf0e10cSrcweiroldref="430">Syntax</paragraph>
942cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3163656" role="code" l10n="U" oldref="431">SUM(Number1; Number2; ...; Number30)</paragraph>
943cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3163671" role="paragraph" l10n="U" oldref="432"><emph>Number 1 to Number 30</emph> are up to 30 arguments whose sum is to be calculated.</paragraph>
944cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3163690" role="heading" level="3" l10n="U"
945cdf0e10cSrcweiroldref="433">Example</paragraph>
946cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3163704" role="paragraph" l10n="U" oldref="434">If you enter the numbers <item type="input">2</item>; <item type="input">3 </item>and <item type="input">4</item> in the Number 1; 2 and 3 text boxes, 9 will be returned as the result.</paragraph>
947cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3151740" role="paragraph" l10n="U" oldref="556">
948cdf0e10cSrcweir<item type="input">=SUM(A1;A3;B5)</item> calculates the sum of the three cells. <item type="input">=SUM (A1:E10)</item> calculates the sum of all cells in the A1 to E10 cell range.</paragraph>
949cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3151756" role="paragraph" l10n="U" oldref="619">Conditions linked by AND can be used with the function SUM() in the following manner:</paragraph>
950cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3151774" role="paragraph" l10n="CHG" oldref="620">Example assumption: You have entered invoices into a table. Column A contains the date value of the invoice, column B the amounts. You want to find a formula that you can use to return the total of all amounts only for a specific month, e.g. only the amount for the period &gt;=2008-01-01 to &lt;2008-02-01. The range with the date values covers A1:A40, the range containing the amounts to be totaled is B1:B40. C1 contains the start date, 2008<item type="input">-01-01</item>, of the invoices to be included and C2 the date, 2008<item type="input">-02-01</item>, that is no longer included.</paragraph>
951cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3151799" role="paragraph" l10n="U" oldref="621">Enter the following formula as an array formula:</paragraph>
952cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3151813" role="paragraph" l10n="U" oldref="622">
953cdf0e10cSrcweir<item type="input">=SUM((A1:A40&gt;=C1)*(A1:A40&lt;C2)*B1:B40)</item>
954cdf0e10cSrcweir</paragraph>
955cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3151828" role="paragraph" l10n="U" oldref="623">In order to enter this as an array formula, you must press the Shift<switchinline select="sys"><caseinline select="MAC">+Command
956cdf0e10cSrcweir</caseinline><defaultinline>+ Ctrl</defaultinline></switchinline>+ Enter keys instead of simply pressing the Enter key to close the formula. The formula will then be shown in the <emph>Formula</emph> bar enclosed in braces.</paragraph>
957cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3151869" role="paragraph" l10n="U" oldref="624">{=SUM((A1:A40&gt;=C1)*(A1:A40&lt;C2)*B1:B40)}</paragraph>
958cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3151884" role="paragraph" l10n="CHG" oldref="625">The formula is based on the fact that the result of a comparison is 1 if the criterion is met and 0 if it is not met. The individual comparison results will be treated as an array and used in matrix multiplication, and at the end the individual values will be totaled to give the result matrix.</paragraph>
959cdf0e10cSrcweir</section>
960cdf0e10cSrcweir<section id="Section15">
961cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3151957"><bookmark_value>SUMIF function</bookmark_value>
962cdf0e10cSrcweir<bookmark_value>adding;specified numbers</bookmark_value>
963cdf0e10cSrcweir</bookmark><comment>mw added one entry</comment>
964cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_SUMMEWENN" id="bm_id3151969" localize="false"/>
965cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3151957" role="heading" level="2" l10n="U"
966cdf0e10cSrcweiroldref="436">SUMIF</paragraph>
967cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3151986" role="paragraph" l10n="U" oldref="437"><ahelp hid="HID_FUNC_SUMMEWENN">Adds the cells specified by a given criteria.</ahelp> This function is used to browse a range when you search for a certain value.</paragraph>
968cdf0e10cSrcweir<embed href="text/shared/00/00000001.xhp#regulaer"/>
969cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3152015" role="heading" level="3" l10n="U"
970cdf0e10cSrcweiroldref="438">Syntax</paragraph>
971cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3152028" role="code" l10n="U" oldref="439">SUMIF(Range; Criteria; SumRange)</paragraph>
972cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3152043" role="paragraph" l10n="U" oldref="440"><emph>Range</emph> is the range to which the criteria are to be applied.</paragraph>
973cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3152062" role="paragraph" l10n="CHG" oldref="441"><emph>Criteria</emph> is the cell in which the search criterion is shown, or the search criterion itself. If the criteria is written into the formula, it has to be surrounded by double quotes.</paragraph>
974cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3152083" role="paragraph" l10n="U" oldref="442"><emph>SumRange</emph> is the range from which values are summed. If this parameter has not been indicated, the values found in the Range are summed.</paragraph>
975cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id8347422" role="note" l10n="NEW">SUMIF supports the reference concatenation operator (~) only in the Criteria parameter, and only if the optional SumRange parameter is not given.</paragraph>
976cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3152110" role="heading" level="3" l10n="U"
977cdf0e10cSrcweiroldref="443">Example</paragraph>
978cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3152148" role="paragraph" l10n="CHG" oldref="626">To sum up only negative numbers: <item type="input">=SUMIF(A1:A10;"&lt;0")</item>
979cdf0e10cSrcweir</paragraph>
980cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id6670125" role="paragraph" l10n="NEW">
981cdf0e10cSrcweir<item type="input">=SUMIF(A1:A10;"&gt;0";B1:10)</item> - sums values from the range B1:B10 only if the corresponding values in the range A1:A10 are &gt;0.</paragraph>
982cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id6062196" role="paragraph" l10n="NEW">See COUNTIF() for some more syntax examples that can be used with SUMIF().</paragraph>
983cdf0e10cSrcweir</section>
984*cf7cf155SKay Schenk<section id="Section15">
985*cf7cf155SKay Schenk<bookmark xml-lang="en-US" branch="index" id="bm_id3151957K"><bookmark_value>SUMIFS function</bookmark_value>
986*cf7cf155SKay Schenk<bookmark_value>adding;specified numbers</bookmark_value>
987*cf7cf155SKay Schenk</bookmark><comment>kschenk added one entry</comment>
988*cf7cf155SKay Schenk<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_SUMMEWNRNG" id="bm_id3151969K" localize="false"/>
989*cf7cf155SKay Schenk<paragraph xml-lang="en-US" id="hd_id3151957K" role="heading" level="2" l10n="U"
990*cf7cf155SKay Schenkoldref="436">SUMIFS</paragraph>
991*cf7cf155SKay Schenk<paragraph xml-lang="en-US" id="par_id3151986K" role="paragraph" l10n="U" ><ahelp hid="HID_FUNC_SUMMEWNRNG">Sum the values of cells in a range that meet multiple criteria in multiple ranges.</ahelp>
992*cf7cf155SKay Schenk</paragraph>
993*cf7cf155SKay Schenk<embed href="text/shared/00/00000001.xhp#regulaer"/>
994*cf7cf155SKay Schenk<paragraph xml-lang="en-US" id="hd_id3152015K" role="heading" level="3" l10n="U">Syntax</paragraph>
995*cf7cf155SKay Schenk<paragraph xml-lang="en-US" id="par_id3152028K" role="code" l10n="U">SUMIFS( Reference R ; Reference R1 ; Criterion C1 [ ; Reference R2 ; Criterion C2 ]... )</paragraph>
996*cf7cf155SKay Schenk<paragraph xml-lang="en-US" id="par_id3152043K" role="paragraph" l10n="U">Sums the value of cells in range R that meet the Criterion C1 in the reference range R1, and the Criterion C2 in the reference range R2, and so on. </paragraph>
997*cf7cf155SKay Schenk<paragraph xml-lang="en-US" id="par_id3152062K" role="paragraph" l10n="CHG" >A <emph>Criterion</emph> is a single cell Reference, Number or Text. If the criterion is written into the formula, it has to be surrounded by double quotes.</paragraph>
998*cf7cf155SKay Schenk<paragraph xml-lang="en-US" id="par_id3152083K" role="paragraph" l10n="U">All <emph>Reference</emph> ranges shall have the same dimension and size, else an Error is returned.</paragraph>
999*cf7cf155SKay Schenk<!--<paragraph xml-lang="en-US" id="par_id8347422K" role="note" l10n="NEW">SUMIFS supports the reference concatenation operator (~) only in the Criteria parameter, and only if the optional SumRange parameter is not given.</paragraph>-->
1000*cf7cf155SKay Schenk<paragraph xml-lang="en-US" id="hd_id3152110K" role="heading" level="3" l10n="U"
1001*cf7cf155SKay Schenkoldref="443">Example</paragraph>
1002*cf7cf155SKay Schenk<paragraph xml-lang="en-US" id="par_id3152148K" role="paragraph" l10n="CHG">Sum up cells in range A1:10 if the entires in B1:B10 are positive, and the entries in D1:D10 are the letter "A": <item type="input">=SUMIFS(A1:A10;B1:B10;"&gt;0";D1:D10;"A")</item>
1003*cf7cf155SKay Schenk</paragraph>
1004*cf7cf155SKay Schenk<paragraph xml-lang="en-US" id="par_id6062196K" role="paragraph" l10n="NEW">See COUNTIFS() for some more syntax examples that can be used with SUMIFS().</paragraph>
1005*cf7cf155SKay Schenk</section>
1006*cf7cf155SKay Schenk
1007cdf0e10cSrcweir<section id="Section14">
1008cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3152195"><bookmark_value>TAN function</bookmark_value>
1009cdf0e10cSrcweir</bookmark>
1010cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_TAN" id="bm_id3152207" localize="false"/>
1011cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3152195" role="heading" level="2" l10n="U"
1012cdf0e10cSrcweiroldref="446">TAN</paragraph>
1013cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3152224" role="paragraph" l10n="CHG" oldref="447"><ahelp hid="HID_FUNC_TAN">Returns the tangent of the given angle (in radians).</ahelp></paragraph>
1014cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3152242" role="heading" level="3" l10n="U"
1015cdf0e10cSrcweiroldref="448">Syntax</paragraph>
1016cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3152255" role="code" l10n="U" oldref="449">TAN(Number)</paragraph>
1017cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3152269" role="paragraph" l10n="CHG" oldref="450">Returns the (trigonometric) tangent of <emph>Number</emph>, the angle in radians.</paragraph>
1018cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id5752128" role="paragraph" l10n="NEW">To return the tangent of an angle in degrees, use the RADIANS function.</paragraph>
1019cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3152287" role="heading" level="3" l10n="U"
1020cdf0e10cSrcweiroldref="451">Example</paragraph>
1021cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3152301" role="paragraph" l10n="CHG" oldref="452">
1022cdf0e10cSrcweir<item type="input">=TAN(PI()/4) </item>returns 1, the tangent of PI/4 radians.</paragraph>
1023cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id1804864" role="paragraph" l10n="NEW">
1024cdf0e10cSrcweir<item type="input">=TAN(RADIANS(45))</item> returns 1, the tangent of 45 degrees.</paragraph><comment>see also COS, SIN, COT,
1025cdf0e10cSrcweirACOS, ASIN, ATAN, ATAN2, ACOT</comment>
1026cdf0e10cSrcweir</section>
1027cdf0e10cSrcweir<section id="Section13">
1028cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3165434"><bookmark_value>TANH function</bookmark_value>
1029cdf0e10cSrcweir</bookmark>
1030cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_TANHYP" id="bm_id3165446" localize="false"/>
1031cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3165434" role="heading" level="2" l10n="U"
1032cdf0e10cSrcweiroldref="456">TANH</paragraph>
1033cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3165462" role="paragraph" l10n="U" oldref="457"><ahelp hid="HID_FUNC_TANHYP">Returns the hyperbolic tangent of a number.</ahelp></paragraph>
1034cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3165480" role="heading" level="3" l10n="U"
1035cdf0e10cSrcweiroldref="458">Syntax</paragraph>
1036cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3165494" role="code" l10n="U" oldref="459">TANH(Number)</paragraph>
1037cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3165508" role="paragraph" l10n="CHG" oldref="460">Returns the hyperbolic tangent of <emph>Number</emph>.</paragraph>
1038cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3165527" role="heading" level="3" l10n="U"
1039cdf0e10cSrcweiroldref="461">Example</paragraph>
1040cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3165541" role="paragraph" l10n="CHG" oldref="462">
1041cdf0e10cSrcweir<item type="input">=TANH(0)</item> returns 0, the hyperbolic tangent of 0.</paragraph><comment>see also COSH, SINH, COTH,
1042cdf0e10cSrcweirACOSH, ASINH, ATANH, ACOTH</comment>
1043cdf0e10cSrcweir</section>
1044cdf0e10cSrcweir<section id="Section12">
1045cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3165633"><bookmark_value>AutoFilter function; subtotals</bookmark_value>
1046cdf0e10cSrcweir<bookmark_value>sums;of filtered data</bookmark_value>
1047cdf0e10cSrcweir<bookmark_value>filtered data; sums</bookmark_value>
1048cdf0e10cSrcweir<bookmark_value>SUBTOTAL function</bookmark_value>
1049cdf0e10cSrcweir</bookmark><comment>mw made "sums..." a two level entry</comment>
1050cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_TEILERGEBNIS" id="bm_id3165644" localize="false"/>
1051cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3165633" role="heading" level="2" l10n="U"
1052cdf0e10cSrcweiroldref="466">SUBTOTAL</paragraph>
1053cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3165682" role="paragraph" l10n="U" oldref="467"><ahelp hid="HID_FUNC_TEILERGEBNIS">Calculates subtotals.</ahelp> If a range already contains subtotals, these are not used for further calculations. Use this function with the AutoFilters to take only the filtered records into account.</paragraph>
1054cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3165704" role="heading" level="3" l10n="U"
1055cdf0e10cSrcweiroldref="495">Syntax</paragraph>
1056cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3165717" role="code" l10n="U" oldref="496">SUBTOTAL(Function; Range)</paragraph>
1057cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3165731" role="paragraph" l10n="U" oldref="497"><emph>Function</emph> is a number that stands for one of the following functions:</paragraph>
1058cdf0e10cSrcweir<table id="tbl_id3165752">
1059cdf0e10cSrcweir<tablerow>
1060cdf0e10cSrcweir<tablecell>
1061cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3165782" role="paragraph" l10n="U" oldref="469">Function index</paragraph>
1062cdf0e10cSrcweir</tablecell>
1063cdf0e10cSrcweir<tablecell>
1064cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3165806" role="paragraph" l10n="U" oldref="470">Function</paragraph>
1065cdf0e10cSrcweir</tablecell>
1066cdf0e10cSrcweir</tablerow>
1067cdf0e10cSrcweir<tablerow>
1068cdf0e10cSrcweir<tablecell>
1069cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3165833" role="paragraph" l10n="U" oldref="471">1</paragraph>
1070cdf0e10cSrcweir</tablecell>
1071cdf0e10cSrcweir<tablecell>
1072cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3165856" role="paragraph" l10n="U" oldref="472">AVERAGE</paragraph>
1073cdf0e10cSrcweir</tablecell>
1074cdf0e10cSrcweir</tablerow>
1075cdf0e10cSrcweir<tablerow>
1076cdf0e10cSrcweir<tablecell>
1077cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3165883" role="paragraph" l10n="U" oldref="473">2</paragraph>
1078cdf0e10cSrcweir</tablecell>
1079cdf0e10cSrcweir<tablecell>
1080cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3165906" role="paragraph" l10n="U" oldref="474">COUNT</paragraph>
1081cdf0e10cSrcweir</tablecell>
1082cdf0e10cSrcweir</tablerow>
1083cdf0e10cSrcweir<tablerow>
1084cdf0e10cSrcweir<tablecell>
1085cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3165933" role="paragraph" l10n="U" oldref="475">3</paragraph>
1086cdf0e10cSrcweir</tablecell>
1087cdf0e10cSrcweir<tablecell>
1088cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3165956" role="paragraph" l10n="U" oldref="476">COUNTA</paragraph>
1089cdf0e10cSrcweir</tablecell>
1090cdf0e10cSrcweir</tablerow>
1091cdf0e10cSrcweir<tablerow>
1092cdf0e10cSrcweir<tablecell>
1093cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3165983" role="paragraph" l10n="U" oldref="477">4</paragraph>
1094cdf0e10cSrcweir</tablecell>
1095cdf0e10cSrcweir<tablecell>
1096cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3166006" role="paragraph" l10n="U" oldref="478">MAX</paragraph>
1097cdf0e10cSrcweir</tablecell>
1098cdf0e10cSrcweir</tablerow>
1099cdf0e10cSrcweir<tablerow>
1100cdf0e10cSrcweir<tablecell>
1101cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3166033" role="paragraph" l10n="U" oldref="479">5</paragraph>
1102cdf0e10cSrcweir</tablecell>
1103cdf0e10cSrcweir<tablecell>
1104cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3166056" role="paragraph" l10n="U" oldref="480">MIN</paragraph>
1105cdf0e10cSrcweir</tablecell>
1106cdf0e10cSrcweir</tablerow>
1107cdf0e10cSrcweir<tablerow>
1108cdf0e10cSrcweir<tablecell>
1109cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3143316" role="paragraph" l10n="U" oldref="481">6</paragraph>
1110cdf0e10cSrcweir</tablecell>
1111cdf0e10cSrcweir<tablecell>
1112cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3143339" role="paragraph" l10n="U" oldref="482">PRODUCT</paragraph>
1113cdf0e10cSrcweir</tablecell>
1114cdf0e10cSrcweir</tablerow>
1115cdf0e10cSrcweir<tablerow>
1116cdf0e10cSrcweir<tablecell>
1117cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3143366" role="paragraph" l10n="U" oldref="483">7</paragraph>
1118cdf0e10cSrcweir</tablecell>
1119cdf0e10cSrcweir<tablecell>
1120cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3143389" role="paragraph" l10n="U" oldref="484">STDEV</paragraph>
1121cdf0e10cSrcweir</tablecell>
1122cdf0e10cSrcweir</tablerow>
1123cdf0e10cSrcweir<tablerow>
1124cdf0e10cSrcweir<tablecell>
1125cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3143416" role="paragraph" l10n="U" oldref="485">8</paragraph>
1126cdf0e10cSrcweir</tablecell>
1127cdf0e10cSrcweir<tablecell>
1128cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3143439" role="paragraph" l10n="U" oldref="486">STDEVP</paragraph>
1129cdf0e10cSrcweir</tablecell>
1130cdf0e10cSrcweir</tablerow>
1131cdf0e10cSrcweir<tablerow>
1132cdf0e10cSrcweir<tablecell>
1133cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3143466" role="paragraph" l10n="U" oldref="487">9</paragraph>
1134cdf0e10cSrcweir</tablecell>
1135cdf0e10cSrcweir<tablecell>
1136cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3143489" role="paragraph" l10n="U" oldref="488">SUM</paragraph>
1137cdf0e10cSrcweir</tablecell>
1138cdf0e10cSrcweir</tablerow>
1139cdf0e10cSrcweir<tablerow>
1140cdf0e10cSrcweir<tablecell>
1141cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3143516" role="paragraph" l10n="U" oldref="489">10</paragraph>
1142cdf0e10cSrcweir</tablecell>
1143cdf0e10cSrcweir<tablecell>
1144cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3143539" role="paragraph" l10n="U" oldref="490">VAR</paragraph>
1145cdf0e10cSrcweir</tablecell>
1146cdf0e10cSrcweir</tablerow>
1147cdf0e10cSrcweir<tablerow>
1148cdf0e10cSrcweir<tablecell>
1149cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3143566" role="paragraph" l10n="U" oldref="491">11</paragraph>
1150cdf0e10cSrcweir</tablecell>
1151cdf0e10cSrcweir<tablecell>
1152cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3143589" role="paragraph" l10n="U" oldref="492">VARP</paragraph>
1153cdf0e10cSrcweir</tablecell>
1154cdf0e10cSrcweir</tablerow>
1155cdf0e10cSrcweir</table>
1156cdf0e10cSrcweir
1157cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3143606" role="paragraph" l10n="U" oldref="498"><emph>Range</emph> is the range whose cells are included.</paragraph>
1158cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3143625" role="heading" level="3" l10n="U"
1159cdf0e10cSrcweiroldref="499">Example</paragraph>
1160cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3143638" role="paragraph" l10n="U" oldref="562">You have a table in the cell range A1:B5 containing cities in column A and accompanying figures in column B. You have used an AutoFilter so that you only see rows containing the city Hamburg. You want to see the sum of the figures that are displayed; that is, just the subtotal for the filtered rows. In this case the correct formula would be:</paragraph>
1161cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3143658" role="paragraph" l10n="U" oldref="563">
1162cdf0e10cSrcweir<item type="input">=SUBTOTAL(9;B2:B5)</item>
1163cdf0e10cSrcweir</paragraph>
1164cdf0e10cSrcweir</section>
1165cdf0e10cSrcweir<section id="Section11">
1166cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3143672"><bookmark_value>Euro; converting</bookmark_value>
1167cdf0e10cSrcweir<bookmark_value>EUROCONVERT function</bookmark_value>
1168cdf0e10cSrcweir</bookmark>
1169cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_UMRECHNEN" id="bm_id3143684" localize="false"/>
1170cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_EUROCONVERT" id="bm_id0119200904282677" localize="false"/>
1171cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3143672" role="heading" level="2" l10n="CHG"
1172cdf0e10cSrcweiroldref="564">EUROCONVERT<comment>insert link in financial</comment></paragraph>
1173cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3143708" role="paragraph" l10n="CHG" oldref="565"><ahelp hid="HID_FUNC_UMRECHNEN">Converts between old European national currency and to and from Euros.</ahelp></paragraph>
1174cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3143731" role="heading" level="3" l10n="U"
1175cdf0e10cSrcweiroldref="566"><emph>Syntax</emph>
1176cdf0e10cSrcweir</paragraph>
1177cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3143748" role="code" l10n="CHG" oldref="567">EUROCONVERT(Value; "From_currency"; "To_currency", full_precision, triangulation_precision)</paragraph>
1178cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3143763" role="paragraph" l10n="U" oldref="568"><emph>Value</emph> is the amount of the currency to be converted.</paragraph>
1179cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3143782" role="paragraph" l10n="CHG" oldref="569"><emph>From_currency</emph> and <emph>To_currency</emph> are the currency units to convert from and to respectively. These must be text, the official abbreviation for the currency (for example, "EUR"). The rates (shown per Euro) were set by the European Commission.</paragraph>
1180cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id0119200904301810" role="paragraph" l10n="NEW"><emph>Full_precision</emph> is optional. If omitted or False, the result is rounded according to the decimals of the To currency. If Full_precision is True, the result is not rounded.</paragraph>
1181cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id0119200904301815" role="paragraph" l10n="NEW"><emph>Triangulation_precision</emph> is optional. If Triangulation_precision is given and &gt;=3, the intermediate result of a triangular conversion (currency1,EUR,currency2) is rounded to that precision. If Triangulation_precision is omitted, the intermediate result is not rounded. Also if To currency is "EUR", Triangulation_precision is used as if triangulation was needed and conversion from EUR to EUR was applied.</paragraph>
1182cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3143819" role="heading" level="3" l10n="U"
1183cdf0e10cSrcweiroldref="570"><emph>Examples</emph>
1184cdf0e10cSrcweir</paragraph>
1185cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3143837" role="paragraph" l10n="U" oldref="571">
1186cdf0e10cSrcweir<item type="input">=EUROCONVERT(100;"ATS";"EUR")</item> converts 100 Austrian Schillings into Euros.</paragraph>
1187cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3143853" role="paragraph" l10n="U" oldref="572">
1188cdf0e10cSrcweir<item type="input">=EUROCONVERT(100;"EUR";"DEM")</item> converts 100 Euros into German Marks.</paragraph>
1189cdf0e10cSrcweir</section>
1190cdf0e10cSrcweir<section id="convert">
1191cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id0908200902090676"><bookmark_value>CONVERT function</bookmark_value>
1192cdf0e10cSrcweir</bookmark>
1193cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_UMRECHNEN" id="bm_id0908200902093111" localize="false"/>
1194cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id0908200902074836" role="heading" level="2" l10n="NEW">CONVERT</paragraph>
1195cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id0908200902131122" role="paragraph" l10n="NEW"><ahelp hid=".">Converts a value from one unit of measurement to another unit of measurement. The conversion factors are given in a list in the configuration.</ahelp></paragraph>
1196cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id0908200902475420" role="paragraph" l10n="NEW">At one time the list of conversion factors included the legacy European currencies and the Euro (see examples below). We suggest using the new function EUROCONVERT for converting these currencies.</paragraph>
1197cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id0908200902131071" role="heading" level="3" l10n="NEW">Syntax</paragraph>
1198cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id0908200902131191" role="code" l10n="NEW">CONVERT(value;"text";"text")</paragraph>
1199cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id0908200902131152" role="heading" level="3" l10n="NEW">Example</paragraph>
1200cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id090820090213112" role="paragraph" l10n="NEW">
1201cdf0e10cSrcweir<item type="input">=CONVERT(100;"ATS";"EUR")</item> returns the Euro value of 100 Austrian Schillings.</paragraph>
1202cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id0908200902475431" role="paragraph" l10n="NEW">=CONVERT(100;"EUR";"DEM") converts 100 Euros into German Marks. </paragraph>
1203cdf0e10cSrcweir</section>
1204cdf0e10cSrcweir<section id="Section10">
1205cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3157177"><bookmark_value>ODD function</bookmark_value>
1206cdf0e10cSrcweir<bookmark_value>rounding;up/down to nearest odd integer</bookmark_value>
1207cdf0e10cSrcweir</bookmark><comment>mw added one entry</comment>
1208cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_UNGERADE" id="bm_id3157188" localize="false"/>
1209cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3157177" role="heading" level="2" l10n="U"
1210cdf0e10cSrcweiroldref="502">ODD</paragraph>
1211cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3157205" role="paragraph" l10n="CHG" oldref="503"><ahelp hid="HID_FUNC_UNGERADE">Rounds a positive number up to the nearest odd integer and a negative number down to the nearest odd integer.</ahelp></paragraph>
1212cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3157223" role="heading" level="3" l10n="U"
1213cdf0e10cSrcweiroldref="504">Syntax</paragraph>
1214cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3157237" role="code" l10n="U" oldref="505">ODD(Number)</paragraph>
1215cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3157250" role="paragraph" l10n="CHG" oldref="506"> Returns <emph>Number</emph> rounded to the next odd integer up, away from zero.</paragraph>
1216cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3157270" role="heading" level="3" l10n="U"
1217cdf0e10cSrcweiroldref="507">Example</paragraph>
1218cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3157283" role="paragraph" l10n="CHG" oldref="508">
1219cdf0e10cSrcweir<item type="input">=ODD(1.2)</item> returns 3.</paragraph>
1220cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id8746910" role="paragraph" l10n="NEW">
1221cdf0e10cSrcweir<item type="input">=ODD(1)</item> returns 1.</paragraph>
1222cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id9636524" role="paragraph" l10n="NEW">
1223cdf0e10cSrcweir<item type="input">=ODD(0)</item> returns 1.</paragraph>
1224cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id5675527" role="paragraph" l10n="NEW">
1225cdf0e10cSrcweir<item type="input">=ODD(-3.1)</item> returns -5.</paragraph><comment>see also CEILING, FLOOR, EVEN, MROUND,
1226cdf0e10cSrcweirINT, TRUNC, ROUND, ROUNDDOWN, ROUNDUP</comment>
1227cdf0e10cSrcweir</section>
1228cdf0e10cSrcweir<section id="Section9">
1229cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3157404"><bookmark_value>FLOOR function</bookmark_value>
1230cdf0e10cSrcweir<bookmark_value>rounding;down to nearest multiple of significance</bookmark_value>
1231cdf0e10cSrcweir</bookmark><comment>mw added one entry</comment>
1232cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_UNTERGRENZE" id="bm_id3157415" localize="false"/>
1233cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3157404" role="heading" level="2" l10n="U"
1234cdf0e10cSrcweiroldref="512">FLOOR</paragraph>
1235cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3157432" role="paragraph" l10n="U" oldref="513"><ahelp hid="HID_FUNC_UNTERGRENZE">Rounds a number down to the nearest multiple of Significance.</ahelp></paragraph>
1236cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3157451" role="heading" level="3" l10n="U"
1237cdf0e10cSrcweiroldref="514">Syntax</paragraph>
1238cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3157464" role="code" l10n="U" oldref="515">FLOOR(Number; Significance; Mode)</paragraph>
1239cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3157478" role="paragraph" l10n="U" oldref="516"><emph>Number</emph> is the number that is to be rounded down.</paragraph>
1240cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3157497" role="paragraph" l10n="U" oldref="517"><emph>Significance</emph> is the value to whose multiple the number is to be rounded down.</paragraph>
1241cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3157517" role="paragraph" l10n="CHG" oldref="561"><emph>Mode</emph> is an optional value. If the Mode value is given and not equal to zero, and if Number and Significance are negative, then rounding is done based on the absolute value of the number. This parameter is ignored when exporting to MS Excel as Excel does not know any third parameter.</paragraph>
1242cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3163894" role="warning" l10n="CHG" oldref="630">If both parameters Number and Significance are negative, and if the Mode value is equal to zero or is not specified, then the results in $[officename] Calc and Excel will differ after exporting. If you export the spreadsheet to Excel, use Mode=1 to see the same results in Excel as in Calc.</paragraph>
1243cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3163932" role="heading" level="3" l10n="U"
1244cdf0e10cSrcweiroldref="518">Example</paragraph>
1245cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3163945" role="paragraph" l10n="CHG" oldref="519">
1246cdf0e10cSrcweir<item type="input">=FLOOR( -11;-2)</item> returns -12</paragraph>
1247cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3163966" role="paragraph" l10n="CHG" oldref="520">
1248cdf0e10cSrcweir<item type="input">=FLOOR( -11;-2;0)</item> returns -12</paragraph>
1249cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3163988" role="paragraph" l10n="CHG" oldref="521">
1250cdf0e10cSrcweir<item type="input">=FLOOR( -11;-2;1)</item> returns -10</paragraph><comment>see also CEILING, EVEN, ODD, MROUND,
1251cdf0e10cSrcweirINT, TRUNC, ROUND, ROUNDDOWN, ROUNDUP,  </comment>
1252cdf0e10cSrcweir</section>
1253cdf0e10cSrcweir<section id="Section8">
1254cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3164086"><bookmark_value>SIGN function</bookmark_value>
1255cdf0e10cSrcweir<bookmark_value>algebraic signs</bookmark_value>
1256cdf0e10cSrcweir</bookmark><comment>mw added one entry</comment>
1257cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_VORZEICHEN" id="bm_id3164098" localize="false"/>
1258cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3164086" role="heading" level="2" l10n="U"
1259cdf0e10cSrcweiroldref="523">SIGN</paragraph>
1260cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3164115" role="paragraph" l10n="CHG" oldref="524"><ahelp hid="HID_FUNC_VORZEICHEN">Returns the sign of a number. Returns 1 if the number is positive, -1 if negative and 0 if zero.</ahelp></paragraph>
1261cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3164136" role="heading" level="3" l10n="U"
1262cdf0e10cSrcweiroldref="525">Syntax</paragraph>
1263cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3164150" role="code" l10n="U" oldref="526">SIGN(Number)</paragraph>
1264cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3164164" role="paragraph" l10n="U" oldref="527"><emph>Number</emph> is the number whose sign is to be determined.</paragraph>
1265cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3164183" role="heading" level="3" l10n="U"
1266cdf0e10cSrcweiroldref="528">Example</paragraph>
1267cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3164197" role="paragraph" l10n="CHG" oldref="529">
1268cdf0e10cSrcweir<item type="input">=SIGN(3.4)</item> returns 1.</paragraph>
1269cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3164212" role="paragraph" l10n="CHG" oldref="530">
1270cdf0e10cSrcweir<item type="input">=SIGN(-4.5)</item> returns -1.</paragraph><comment>see also ABS</comment>
1271cdf0e10cSrcweir</section>
1272cdf0e10cSrcweir<section id="Section7">
1273cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3164252"><bookmark_value>MROUND function</bookmark_value>
1274cdf0e10cSrcweir<bookmark_value>nearest multiple</bookmark_value>
1275cdf0e10cSrcweir</bookmark><comment>mw added one entry</comment>
1276cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_MROUND" id="bm_id3164264" localize="false"/>
1277cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3164252" role="heading" level="2" l10n="E"
1278cdf0e10cSrcweiroldref="658">MROUND</paragraph>
1279cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3164288" role="paragraph" l10n="CHG" oldref="659"><ahelp hid="HID_AAI_FUNC_MROUND">Returns a number rounded to the nearest multiple of another number.</ahelp></paragraph>
1280cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3164306" role="heading" level="3" l10n="U"
1281cdf0e10cSrcweiroldref="660">Syntax</paragraph>
1282cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3164320" role="code" l10n="U" oldref="661">MROUND(Number; Multiple)</paragraph>
1283cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3486434" role="paragraph" l10n="NEW">Returns <emph>Number</emph> rounded to the nearest multiple of <emph>Multiple</emph>. </paragraph>
1284cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3068636" role="paragraph" l10n="NEW">An alternative implementation would be <item type="literal">Multiple * ROUND(Number/Multiple)</item>.</paragraph>
1285cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3164333" role="heading" level="3" l10n="U"
1286cdf0e10cSrcweiroldref="662">Example</paragraph>
1287cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3164347" role="paragraph" l10n="CHG" oldref="663">
1288cdf0e10cSrcweir<item type="input">=MROUND(15.5;3)</item> returns 15, as 15.5 is closer to 15 (= 3*5) than to 18 (= 3*6).</paragraph>
1289cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_idN14DD6" role="paragraph" l10n="CHG">
1290cdf0e10cSrcweir<item type="input">=MROUND(1.4;0.5)</item> returns 1.5 (= 0.5*3).</paragraph><comment>see also CEILING, FLOOR, EVEN, ODD,
1291cdf0e10cSrcweirINT, TRUNC, ROUND, ROUNDDOWN, ROUNDUP</comment>
1292cdf0e10cSrcweir</section>
1293cdf0e10cSrcweir<section id="Section6">
1294cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3164375"><bookmark_value>SQRT function</bookmark_value>
1295cdf0e10cSrcweir<bookmark_value>square roots;positive numbers</bookmark_value>
1296cdf0e10cSrcweir</bookmark><comment>mw added one entry</comment>
1297cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_WURZEL" id="bm_id3164387" localize="false"/>
1298cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3164375" role="heading" level="2" l10n="U"
1299cdf0e10cSrcweiroldref="532">SQRT</paragraph>
1300cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3164404" role="paragraph" l10n="CHG" oldref="533"><ahelp hid="HID_FUNC_WURZEL">Returns the positive square root of a number.</ahelp></paragraph>
1301cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3164424" role="heading" level="3" l10n="U"
1302cdf0e10cSrcweiroldref="534">Syntax</paragraph>
1303cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3164437" role="code" l10n="U" oldref="535">SQRT(Number)</paragraph>
1304cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3164451" role="paragraph" l10n="CHG" oldref="536">Returns the positive square root of <emph>Number</emph>.</paragraph>
1305cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id6870021" role="paragraph" l10n="NEW"> Number must be positive.</paragraph>
1306cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3164471" role="heading" level="3" l10n="U"
1307cdf0e10cSrcweiroldref="537">Example</paragraph>
1308cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3164484" role="paragraph" l10n="CHG" oldref="538">
1309cdf0e10cSrcweir<item type="input">=SQRT(16)</item> returns 4.</paragraph>
1310cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3591723" role="paragraph" l10n="NEW">
1311cdf0e10cSrcweir<item type="input">=SQRT(-16)</item> returns an <item type="literal">invalid argument</item> error.</paragraph><comment>see also SQRTPI, POWER  </comment>
1312cdf0e10cSrcweir</section>
1313cdf0e10cSrcweir<section id="Section5">
1314cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3164560"><bookmark_value>SQRTPI function</bookmark_value>
1315cdf0e10cSrcweir<bookmark_value>square roots;products of Pi</bookmark_value>
1316cdf0e10cSrcweir</bookmark><comment>mw added one entry</comment>
1317cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_SQRTPI" id="bm_id3164572" localize="false"/>
1318cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3164560" role="heading" level="2" l10n="E"
1319cdf0e10cSrcweiroldref="665">SQRTPI</paragraph>
1320cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3164596" role="paragraph" l10n="CHG" oldref="666"><ahelp hid="HID_AAI_FUNC_SQRTPI">Returns the square root of (PI times a number).</ahelp></paragraph>
1321cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3164614" role="heading" level="3" l10n="U"
1322cdf0e10cSrcweiroldref="667">Syntax</paragraph>
1323cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3164627" role="code" l10n="U" oldref="668">SQRTPI(Number)</paragraph>
1324cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id1501510" role="paragraph" l10n="NEW">Returns the positive square root of (PI multiplied by <emph>Number</emph>).</paragraph>
1325cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id9929197" role="paragraph" l10n="NEW">This is equivalent to <item type="literal">SQRT(PI()*Number)</item>.</paragraph>
1326cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3164641" role="heading" level="3" l10n="U"
1327cdf0e10cSrcweiroldref="669">Example</paragraph>
1328cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3164654" role="paragraph" l10n="CHG" oldref="670">
1329cdf0e10cSrcweir<item type="input">=SQRTPI(2)</item> returns the squareroot of (2PI), approximately 2.506628.</paragraph><comment>see also SQRT</comment>
1330cdf0e10cSrcweir</section>
1331cdf0e10cSrcweir<section id="Section4">
1332cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3164669"><bookmark_value>random numbers; between limits</bookmark_value>
1333cdf0e10cSrcweir<bookmark_value>RANDBETWEEN function</bookmark_value>
1334cdf0e10cSrcweir</bookmark><comment>mw changed "random numbers;"</comment>
1335cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_RANDBETWEEN" id="bm_id3164680" localize="false"/>
1336cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3164669" role="heading" level="2" l10n="E"
1337cdf0e10cSrcweiroldref="671">RANDBETWEEN</paragraph>
1338cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3164711" role="paragraph" l10n="CHG" oldref="672"><ahelp hid="HID_AAI_FUNC_RANDBETWEEN">Returns an integer random number in a specified range.</ahelp></paragraph>
1339cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3164745" role="heading" level="3" l10n="U"
1340cdf0e10cSrcweiroldref="673">Syntax</paragraph>
1341cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3164758" role="code" l10n="U" oldref="674">RANDBETWEEN(Bottom; Top)</paragraph>
1342cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id7112338" role="paragraph" l10n="NEW">Returns an integer random number between integers <emph>Bottom</emph> and <emph>Top</emph> (both inclusive).</paragraph>
1343cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id2855616" role="paragraph" l10n="NEW">This function produces a new random number each time Calc recalculates. To force Calc to recalculate manually press Shift+<switchinline select="sys"><caseinline select="MAC">Command
1344cdf0e10cSrcweir</caseinline><defaultinline>Ctrl</defaultinline></switchinline>+F9.</paragraph>
1345cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id2091433" role="paragraph" l10n="NEW">To generate random numbers which never recalculate, copy cells containing this function, and use <item type="menuitem">Edit - Paste Special</item> (with <item type="menuitem">Paste All</item> and <item type="menuitem">Formulas</item> not marked and <item type="menuitem">Numbers</item> marked).</paragraph>
1346cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3164772" role="heading" level="3" l10n="U"
1347cdf0e10cSrcweiroldref="675">Example</paragraph>
1348cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3164785" role="paragraph" l10n="U" oldref="676">
1349cdf0e10cSrcweir<item type="input">=RANDBETWEEN(20;30)</item> returns an integer of between 20 and 30.</paragraph><comment>see also RAND</comment>
1350cdf0e10cSrcweir</section>
1351cdf0e10cSrcweir<section id="Section3">
1352cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3164800"><bookmark_value>RAND function</bookmark_value>
1353cdf0e10cSrcweir<bookmark_value>random numbers;between 0 and 1</bookmark_value>
1354cdf0e10cSrcweir</bookmark><comment>mw added one entry</comment>
1355cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_ZUFALLSZAHL" id="bm_id3164812" localize="false"/>
1356cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3164800" role="heading" level="2" l10n="U"
1357cdf0e10cSrcweiroldref="542">RAND</paragraph>
1358cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3164829" role="paragraph" l10n="CHG" oldref="543"><ahelp hid="HID_FUNC_ZUFALLSZAHL">Returns a random number between 0 and 1.</ahelp><comment>The value of 0 can be returned, the value of 1 not.</comment><comment>this is really true after issue 53642 will be fixed</comment></paragraph>
1359cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3164870" role="heading" level="3" l10n="U"
1360cdf0e10cSrcweiroldref="545">Syntax</paragraph>
1361cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3164884" role="code" l10n="U" oldref="546">RAND()</paragraph>
1362cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id5092318" role="paragraph" l10n="NEW">This function produces a new random number each time Calc recalculates. To force Calc to recalculate manually press Shift+<switchinline select="sys"><caseinline select="MAC">Command
1363cdf0e10cSrcweir</caseinline><defaultinline>Ctrl</defaultinline></switchinline>+F9.</paragraph>
1364cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id9312417" role="paragraph" l10n="NEW">To generate random numbers which never recalculate, copy cells each containing =RAND(), and use <item type="menuitem">Edit - Paste Special</item> (with <item type="menuitem">Paste All</item> and <item type="menuitem">Formulas</item> not marked and <item type="menuitem">Numbers</item> marked).</paragraph>
1365cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id9089022" role="heading" level="3" l10n="NEW">Example</paragraph>
1366cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id9569078" role="paragraph" l10n="NEW">
1367cdf0e10cSrcweir<item type="input">=RAND()</item> returns a random number between 0 and 1.</paragraph><comment>see also RANDBETWEEN
1368cdf0e10cSrcweir</comment>
1369cdf0e10cSrcweir</section>
1370cdf0e10cSrcweir<section id="Section2">
1371cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3164897"><bookmark_value>COUNTIF function</bookmark_value>
1372cdf0e10cSrcweir<bookmark_value>counting;specified cells</bookmark_value>
1373cdf0e10cSrcweir</bookmark><comment>mw added one entry</comment>
1374cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_ZAEHLENWENN" id="bm_id3164909" localize="false"/>
1375cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3164897" role="heading" level="2" l10n="U"
1376cdf0e10cSrcweiroldref="547">COUNTIF</paragraph>
1377cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3164926" role="paragraph" l10n="CHG" oldref="548"><ahelp hid="HID_FUNC_ZAEHLENWENN">Returns the number of cells that meet with certain criteria within a cell range.</ahelp></paragraph>
1378cdf0e10cSrcweir<embed href="text/shared/00/00000001.xhp#regulaer"/>
1379cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3164953" role="heading" level="3" l10n="U"
1380cdf0e10cSrcweiroldref="549">Syntax</paragraph>
1381cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3164967" role="code" l10n="U" oldref="550">COUNTIF(Range; Criteria)</paragraph>
1382cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3164980" role="paragraph" l10n="U" oldref="551"><emph>Range</emph> is the range to which the criteria are to be applied.</paragraph>
1383cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3165000" role="paragraph" l10n="CHG" oldref="552"><emph>Criteria</emph> indicates the criteria in the form of a number, an expression or a character string. These criteria determine which cells are counted. You may also enter a search text in the form of a regular expression, e.g. b.* for all words that begin with b. You may also indicate a cell range that contains the search criterion. If you search for literal text, enclose the text in double quotes.</paragraph>
1384cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3165037" role="heading" level="3" l10n="U"
1385cdf0e10cSrcweiroldref="553">Example</paragraph>
1386cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3166505" role="paragraph" l10n="CHG" oldref="627">A1:A10 is a cell range containing the numbers <item type="input">2000</item> to <item type="input">2009</item>. Cell B1 contains the number <item type="input">2006</item>. In cell B2, you enter a formula:</paragraph>
1387cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id3581652" role="paragraph" l10n="NEW">
1388cdf0e10cSrcweir<item type="input">=COUNTIF(A1:A10;2006)</item> - this returns 1</paragraph>
1389cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id708639" role="paragraph" l10n="NEW">
1390cdf0e10cSrcweir<item type="input">=COUNTIF(A1:A10;B1)</item> - this returns 1</paragraph>
1391cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id5169225" role="paragraph" l10n="NEW">
1392cdf0e10cSrcweir<item type="input">=COUNTIF(A1:A10;"&gt;=2006") </item>- this returns 4</paragraph>
1393cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id2118594" role="paragraph" l10n="NEW">
1394cdf0e10cSrcweir<item type="input">=COUNTIF(A1:A10;"&lt;"&amp;B1)</item> - when B1 contains <item type="input">2006</item>, this returns 6</paragraph>
1395cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id166020" role="paragraph" l10n="NEW">
1396cdf0e10cSrcweir<item type="input">=COUNTIF(A1:A10;C2)</item> where cell C2 contains the text <item type="input">&gt;2006</item> counts the number of cells in the range A1:A10 which are &gt;2006 </paragraph>
1397cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id6386913" role="paragraph" l10n="NEW">To count only negative numbers: <item type="input">=COUNTIF(A1:A10;"&lt;0")</item>
1398cdf0e10cSrcweir</paragraph>
1399cdf0e10cSrcweir</section>
1400*cf7cf155SKay Schenk<section id="Section63">
1401*cf7cf155SKay Schenk<bookmark xml-lang="en-US" branch="index" id="bm_id3164897K"><bookmark_value>COUNTIFS function</bookmark_value>
1402*cf7cf155SKay Schenk<bookmark_value>counting;specified cells</bookmark_value>
1403*cf7cf155SKay Schenk</bookmark>
1404*cf7cf155SKay Schenk<comment>kschenk added one entry</comment>
1405*cf7cf155SKay Schenk<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_ZAEHLENWENN" id="bm_id3164909K" localize="false"/>
1406*cf7cf155SKay Schenk<paragraph xml-lang="en-US" id="hd_id3164897K" role="heading" level="2" l10n="U">COUNTIFS</paragraph>
1407*cf7cf155SKay Schenk<paragraph xml-lang="en-US" id="par_id3164926K" role="paragraph" l10n="CHG"><ahelp hid="HID_FUNC_ZAEHLENWNRNG">Count the number of cells that meet multiple criteria in multiple ranges.</ahelp></paragraph>
1408*cf7cf155SKay Schenk<embed href="text/shared/00/00000001.xhp#regulaer"/>
1409*cf7cf155SKay Schenk<paragraph xml-lang="en-US" id="hd_id3164953K" role="heading" level="3" l10n="U">Syntax</paragraph>
1410*cf7cf155SKay Schenk<paragraph xml-lang="en-US" id="par_id3164967K" role="code" l10n="U" >COUNTIFS( Reference R1 ; Criterion C1 [ ; Reference R2 ; Criterion C2 ]... )</paragraph>
1411*cf7cf155SKay Schenk<paragraph xml-lang="en-US" id="par_id3164980K" role="paragraph" l10n="U" ><emph>Reference R1</emph> is the  range to which the <emph>Criterion C1</emph>applies. <emph>Reference R2</emph> is the  range to which the <emph>Criterion C2</emph>applies, and so on.</paragraph>
1412*cf7cf155SKay Schenk<paragraph xml-lang="en-US" id="par_id3165000K" role="paragraph" l10n="CHG">All <emph>Reference </emph> ranges shall have the same dimension and size, else an Error is returned. <emph>Criteria</emph> indicates the criteria in the form of a number, an expression or a character string. These criteria determine which cells are counted. You may also enter a search text in the form of a regular expression, e.g. b.* for all words that begin with b. You may also indicate a cell range that contains the search criterion. If you search for literal text, enclose the text in double quotes.</paragraph>
1413*cf7cf155SKay Schenk<paragraph xml-lang="en-US" id="hd_id3165037K" role="heading" level="3" l10n="U"
1414*cf7cf155SKay Schenkoldref="553">Examples:</paragraph>
1415*cf7cf155SKay Schenk<paragraph xml-lang="en-US" id="par_id3166505K" role="paragraph" l10n="CHG">A1:A10 is a cell range containing the numbers <item type="input">2000</item> to <item type="input">2009</item>. B1:B10 is a cell range containing the numbers
1416*cf7cf155SKay Schenk<item type="input">2007</item> to <item type="input">2016</item>:</paragraph>
1417*cf7cf155SKay Schenk<paragraph xml-lang="en-US" id="par_id3581652K" role="paragraph" l10n="NEW">
1418*cf7cf155SKay Schenk<item type="input">=COUNTIFS(A1:A10;2006;B1:B10;2014)</item> - this returns 2</paragraph>
1419*cf7cf155SKay Schenk<paragraph xml-lang="en-US" id="par_id5169225K" role="paragraph" l10n="NEW">
1420*cf7cf155SKay Schenk<item type="input">=COUNTIFS(A1:A10;"&gt;=2006";B1:B10;"&gt;=2006") </item>- this returns 14</paragraph>
1421*cf7cf155SKay Schenk</section>
1422cdf0e10cSrcweir</sort>
1423cdf0e10cSrcweir<section id="relatedtopics">
1424cdf0e10cSrcweir<embed href="text/scalc/01/04060100.xhp#drking"/>
1425cdf0e10cSrcweir</section>
1426cdf0e10cSrcweir</body>
1427cdf0e10cSrcweir</helpdocument>