[Libreoffice-commits] help.git: source/text

Steve Fanning (via logerrit) logerrit at kemper.freedesktop.org
Mon Apr 6 13:56:38 UTC 2020


 source/text/scalc/01/04060103.xhp     |   10 +---
 source/text/scalc/01/04060107.xhp     |   82 +++++++++++++++++-----------------
 source/text/scalc/01/04060182.xhp     |   58 ++++++++++++------------
 source/text/scalc/01/func_days360.xhp |    2 
 4 files changed, 76 insertions(+), 76 deletions(-)

New commits:
commit 7c4871338464168d2016702e4f229d6a8ff2c2c5
Author:     Steve Fanning <stevemfanning.wh at gmail.com>
AuthorDate: Sun Apr 5 17:31:52 2020 -0300
Commit:     Olivier Hallot <olivier.hallot at libreoffice.org>
CommitDate: Mon Apr 6 15:56:18 2020 +0200

    tdf#131362 Adjust number of function param
    
    Fix DISC, DURATION, MMULT, RECEIVED, DAYS360
    
    Change-Id: Ie2c226a24716e79806618af889ecc5b4c6c10c7f
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/91731
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot at libreoffice.org>

diff --git a/source/text/scalc/01/04060103.xhp b/source/text/scalc/01/04060103.xhp
index 94ad211cb..de745bfdb 100644
--- a/source/text/scalc/01/04060103.xhp
+++ b/source/text/scalc/01/04060103.xhp
@@ -141,7 +141,7 @@
 <h2 id="hd_id3145753">RECEIVED</h2>
          <paragraph xml-lang="en-US" id="par_id3150051" role="paragraph"><ahelp hid="HID_AAI_FUNC_RECEIVED">Calculates the amount received that is paid for a fixed-interest security at a given point in time.</ahelp></paragraph>
          <embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
-         <paragraph xml-lang="en-US" id="par_id3145362" role="code">RECEIVED("Settlement"; "Maturity"; Investment; Discount; Basis)</paragraph>
+         <paragraph xml-lang="en-US" id="par_id3145362" role="code">RECEIVED(Settlement; Maturity; Investment; Discount[; Basis])</paragraph>
          <paragraph xml-lang="en-US" id="par_id3154654" role="paragraph">
             <emph>Settlement</emph> is the date of purchase of the security.</paragraph>
          <paragraph xml-lang="en-US" id="par_id3153011" role="paragraph">
@@ -541,7 +541,7 @@
 <h2 id="hd_id3155104">DISC</h2>
          <paragraph xml-lang="en-US" id="par_id3153891" role="paragraph"><ahelp hid="HID_AAI_FUNC_DISC">Calculates the allowance (discount) of a security as a percentage.</ahelp></paragraph>
          <embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
-         <paragraph xml-lang="en-US" id="par_id3149756" role="code">DISC("Settlement"; "Maturity"; Price; Redemption; Basis)</paragraph>
+         <paragraph xml-lang="en-US" id="par_id3149756" role="code">DISC(Settlement; Maturity; Price; Redemption[; Basis])</paragraph>
          <paragraph xml-lang="en-US" id="par_id3156014" role="paragraph">
             <emph>Settlement</emph> is the date of purchase of the security.</paragraph>
          <paragraph xml-lang="en-US" id="par_id3154304" role="paragraph">
@@ -565,7 +565,7 @@
          <paragraph xml-lang="en-US" id="par_id3145768" role="paragraph"><ahelp hid="HID_AAI_FUNC_DURATION">Calculates the duration of a fixed interest security in years.</ahelp></paragraph>
          <embed href="text/scalc/01/04060102.xhp#ADD_note"/>
          <embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
-         <paragraph xml-lang="en-US" id="par_id3153373" role="code">DURATION("Settlement"; "Maturity"; Coupon; Yield; Frequency; Basis)</paragraph>
+         <paragraph xml-lang="en-US" id="par_id3153373" role="code">DURATION(Settlement; Maturity; Coupon; Yield; Frequency[; Basis])</paragraph>
          <paragraph xml-lang="en-US" id="par_id3155397" role="paragraph">
             <emph>Settlement</emph> is the date of purchase of the security.</paragraph>
          <paragraph xml-lang="en-US" id="par_id3148558" role="paragraph">
@@ -579,9 +579,7 @@
          <embed href="text/scalc/01/func_yearfrac.xhp#basis"/>
          <embed href="text/scalc/01/common_func.xhp#sectionexample"/>
          <paragraph xml-lang="en-US" id="par_id3148834" role="paragraph">A security is purchased on 2001-01-01; the maturity date is 2006-01-01. The Coupon rate of interest is 8%. The yield is 9.0%. Interest is paid half-yearly (frequency is 2). Using daily balance interest calculation (basis 3) how long is the duration?</paragraph>
-         <paragraph xml-lang="en-US" id="par_id3154902" role="paragraph">
-            <item type="input">=DURATION("2001-01-01";"2006-01-01";0.08;0.09;2;3)</item>
-         </paragraph>
+         <paragraph xml-lang="en-US" id="par_id3154902" role="paragraph"><input>=DURATION("2001-01-01";"2006-01-01";0.08;0.09;2;3)</input> returns 4.2 years.</paragraph>
       </section>
       <section id="effective">
 <bookmark xml-lang="en-US" branch="index" id="bm_id3159147"><bookmark_value>annual net interest rates</bookmark_value>
diff --git a/source/text/scalc/01/04060107.xhp b/source/text/scalc/01/04060107.xhp
index 958e6ced7..ec0f868e2 100644
--- a/source/text/scalc/01/04060107.xhp
+++ b/source/text/scalc/01/04060107.xhp
@@ -42,9 +42,9 @@
 <bookmark_value>forced array handling</bookmark_value>
 </bookmark>
 <comment>mw deleted "creating;"</comment>
-<paragraph id="hd_id3147273" role="heading" level="1" xml-lang="en-US"><variable id="arrayfunctit"><link href="text/scalc/01/04060107.xhp" name="array functions">Array Functions</link></variable></paragraph>
+<h1 id="hd_id3147273"><variable id="arrayfunctit"><link href="text/scalc/01/04060107.xhp" name="array functions">Array Functions</link></variable></h1>
   <paragraph id="par_id3154744" role="paragraph" xml-lang="en-US"><variable id="matrixtext">This category contains the array functions.</variable></paragraph>
-<paragraph id="hd_id3146084" role="heading" level="2" xml-lang="en-US">What is an Array?</paragraph>
+<h2 id="hd_id3146084">What is an Array?</h2>
   <paragraph id="par_id3154298" role="paragraph" xml-lang="en-US"><variable id="wasmatrix">An array is a linked range of cells on a spreadsheet containing values.</variable> A square range of 3 rows and 3 columns is a 3 x 3 array:</paragraph>
 <table id="tbl_id3151168">
   <tablerow>
@@ -104,28 +104,28 @@
   </tablerow>
 </table>
   <paragraph id="par_id3153583" role="paragraph" xml-lang="en-US">The smallest possible array is a 1 x 2 or 2 x 1 array with two adjacent cells.</paragraph>
-<paragraph id="hd_id3148474" role="heading" level="2" xml-lang="en-US">What is an array formula?</paragraph>
+<h2 id="hd_id3148474">What is an array formula?</h2>
   <paragraph id="par_id3155355" role="paragraph" xml-lang="en-US">A formula in which the individual values in a cell range are evaluated is referred to as an array formula. The difference between an array formula and other formulas is that the array formula deals with several values simultaneously instead of just one.</paragraph>
   <paragraph id="par_id3151052" role="paragraph" xml-lang="en-US">Not only can an array formula process several values, but it can also return several values. The results of an array formula is also an array.</paragraph>
   <paragraph id="par_id3158432" role="paragraph" xml-lang="en-US">To multiply the values in the individual cells by 10 in the above array, you do not need to apply a formula to each individual cell or value. Instead you just need to use a single array formula. Select a range of 3 x 3 cells on another part of the spreadsheet, enter the formula <item type="input">=10*A1:C3</item> and confirm this entry using the key combination <switchinline select="sys"><caseinline select="MAC"><emph>Command</emph></caseinline><defaultinline><emph>Ctrl</emph></defaultinline></switchinline><emph> + Shift + Enter</emph>. The result is a 3 x 3 array in which the individual values in the cell range (A1:C3) are multiplied by a factor of 10.</paragraph>
   <paragraph id="par_id3149156" role="paragraph" xml-lang="en-US">In addition to multiplication, you can also use other operators on the reference range (an array). With $[officename] Calc, you can add (+), subtract (-), multiply (*), divide (/), use exponents (^), concatenation (&) and comparisons (=, <>, <, >, <=, >=). The operators can be used on each individual value in the cell range and return the result as an array if the array formula was entered.</paragraph>
   <paragraph id="par_id3166456" role="paragraph" xml-lang="en-US">Comparison operators in an array formula treat empty cells in the same way as in a normal formula, that is, either as zero or as an empty string. For example, if cells A1 and A2 are empty the array formulas <item type="input">{=A1:A2=""}</item> and <item type="input">{=A1:A2=0}</item> will both return a 1 column 2 row array of cells containing TRUE.</paragraph>
-<paragraph id="hd_id3150713" role="heading" level="3" xml-lang="en-US">When do you use array formulas?</paragraph>
+<h3 id="hd_id3150713">When do you use array formulas?</h3>
   <paragraph id="par_id3149787" role="paragraph" xml-lang="en-US">Use array formulas if you have to repeat calculations using different values. If you decide to change the calculation method later, you only have to update the array formula. To add an array formula, select the entire array range and then <link href="text/scalc/01/04060107.xhp" name="make the required change to the array formula">make the required change to the array formula</link>.</paragraph>
   <paragraph id="par_id3149798" role="paragraph" xml-lang="en-US">Array formulas are also a space saving option when several values must be calculated, since they are not very memory-intensive. In addition, arrays are an essential tool for carrying out complex calculations, because you can have several cell ranges included in your calculations. $[officename] has different math functions for arrays, such as the MMULT function for multiplying two arrays or the SUMPRODUCT function for calculating the scalar products of two arrays.</paragraph>
-<paragraph id="hd_id3155588" role="heading" level="2" xml-lang="en-US">Using Array Formulas in $[officename] Calc</paragraph>
+<h2 id="hd_id3155588">Using Array Formulas in $[officename] Calc</h2>
   <paragraph id="par_id3152876" role="paragraph" xml-lang="en-US">You can also create a "normal" formula in which the reference range, such as parameters, indicate an array formula. The result is obtained from the intersection of the reference range and the rows or columns in which the formula is found. If there is no intersection or if the range at the intersection covers several rows or columns, a #VALUE! error message appears. The following example illustrates this concept:</paragraph>
-<paragraph id="hd_id3151271" role="heading" level="3" xml-lang="en-US">Creating Array Formulas</paragraph>
+<h3 id="hd_id3151271">Creating Array Formulas</h3>
 <section id="somatrixformel">
   <paragraph id="par_id3149102" role="paragraph" xml-lang="en-US">If you create an array formula using the <emph>Function Wizard</emph>, you must mark the <emph>Array</emph> check box each time so that the results are returned in an array. Otherwise, only the value in the upper-left cell of the array being calculated is returned.</paragraph>
   <paragraph id="par_id3153392" role="paragraph" xml-lang="en-US">If you enter the array formula directly into the cell, you must use the key combination <emph>Shift + </emph><switchinline select="sys"><caseinline select="MAC"><emph>Command</emph></caseinline><defaultinline><emph>Ctrl</emph></defaultinline></switchinline><emph> + Enter</emph> instead of the <emph>Enter</emph> key. Only then does the formula become an array formula.</paragraph>
-  <paragraph id="par_id3151120" role="note" xml-lang="en-US">Array formulas appear in braces in $[officename] Calc. You cannot create array formulas by manually entering the braces.</paragraph>
+  <note id="par_id3151120">Array formulas appear in braces in $[officename] Calc. You cannot create array formulas by manually entering the braces.</note>
 </section>
-  <paragraph id="par_id3154342" role="warning" xml-lang="en-US">The cells in a results array are automatically protected against changes. However, you can edit or copy the array formula by selecting the entire array cell range.</paragraph>
-<paragraph id="hd_id8834803" role="heading" level="3" xml-lang="en-US">Using Inline Array Constants in Formulas</paragraph>
+  <warning id="par_id3154342">The cells in a results array are automatically protected against changes. However, you can edit or copy the array formula by selecting the entire array cell range.</warning>
+<h3 id="hd_id8834803">Using Inline Array Constants in Formulas</h3>
   <paragraph id="par_id985747" role="paragraph" xml-lang="en-US">Calc supports inline matrix/array constants in formulas. An inline array is surrounded by curly braces '{' and '}'. Elements can be each a number (including negatives), a logical constant (TRUE, FALSE), or a literal string. Non-constant expressions are not allowed. Arrays can be entered with one or more rows, and one or more columns. All rows must consist of the same number of elements, all columns must consist of the same number of elements.</paragraph>
   <paragraph id="par_id936613" role="paragraph" xml-lang="en-US">The column separator (separating elements in one row) and the row separator are language and locale dependent. But in this help content, the ';' semicolon and '|' pipe symbol are used to indicate the column and row separators, respectively. For example, in the English locale, the ',' comma is used as the column separator, while the ';' semicolon is used as the row separator.</paragraph>
-  <paragraph id="par_id936615" role="tip" xml-lang="en-US">You can view and change the row and column separator in <switchinline select="sys"><caseinline select="MAC"><emph>%PRODUCTNAME - Preferences</emph></caseinline><defaultinline><emph>Tools - Options</emph></defaultinline></switchinline><emph> - Calc - Formula - Separators</emph>.</paragraph>
+  <tip id="par_id936615">You can view and change the row and column separator in <switchinline select="sys"><caseinline select="MAC"><emph>%PRODUCTNAME - Preferences</emph></caseinline><defaultinline><emph>Tools - Options</emph></defaultinline></switchinline><emph> - Calc - Formula - Separators</emph>.</tip>
   <paragraph id="par_id1877498" role="paragraph" xml-lang="en-US">Arrays can not be nested.</paragraph>
   <paragraph id="par_id4262520" role="paragraph" xml-lang="en-US"><emph>Examples:</emph></paragraph>
   <paragraph id="par_id9387493" role="code" xml-lang="en-US">={1;2;3}</paragraph>
@@ -137,7 +137,7 @@
   <paragraph id="par_id1623889" role="paragraph" xml-lang="en-US">A mixed data array.</paragraph>
   <paragraph id="par_id7781914" role="code" xml-lang="en-US">=SIN({1;2;3})</paragraph>
   <paragraph id="par_id300912" role="paragraph" xml-lang="en-US">Entered as a matrix formula, delivers the result of three SIN calculations with the arguments 1, 2, and 3.</paragraph>
-<paragraph id="hd_id3148660" role="heading" level="3" xml-lang="en-US">Editing Array Formulas</paragraph>
+<h3 id="hd_id3148660">Editing Array Formulas</h3>
 <list type="ordered">
   <listitem>
     <paragraph id="par_id3149241" role="listitem" xml-lang="en-US">Select the cell range or array containing the array formula. To select the whole array, position the cell cursor inside the array range, then press <switchinline select="sys"><caseinline select="MAC"><emph>Command</emph></caseinline><defaultinline><emph>Ctrl</emph></defaultinline></switchinline><emph> + /</emph>, where <emph>/</emph> is the <emph>Division</emph> key on the numeric keypad.</paragraph>
@@ -149,8 +149,8 @@
     <paragraph id="par_id3154798" role="listitem" xml-lang="en-US">After you have made changes, press <switchinline select="sys"><caseinline select="MAC"><emph>Command</emph></caseinline><defaultinline><emph>Ctrl</emph></defaultinline></switchinline><emph> + Shift + Enter</emph>.</paragraph>
   </listitem>
 </list>
-  <paragraph id="par_id3150628" role="tip" xml-lang="en-US">You can format the separate parts of an array. For example, you can change the font color. Select a cell range and then change the attribute you want.</paragraph>
-<paragraph id="hd_id3145608" role="heading" level="3" xml-lang="en-US">Copying Array Formulas</paragraph>
+  <tip id="par_id3150628">You can format the separate parts of an array. For example, you can change the font color. Select a cell range and then change the attribute you want.</tip>
+<h3 id="hd_id3145608">Copying Array Formulas</h3>
 <list type="ordered">
   <listitem>
     <paragraph id="par_id3149585" role="listitem" xml-lang="en-US">Select the cell range or array containing the array formula.</paragraph>
@@ -168,7 +168,7 @@
     <paragraph id="par_id3154419" role="listitem" xml-lang="en-US">Paste the formula by pressing <switchinline select="sys"><caseinline select="MAC"><emph>Command</emph></caseinline><defaultinline><emph>Ctrl</emph></defaultinline></switchinline><emph> + V</emph> in the selected space and confirm it by pressing <switchinline select="sys"><caseinline select="MAC"><emph>Command</emph></caseinline><defaultinline><emph>Ctrl</emph></defaultinline></switchinline><emph> + Shift + Enter</emph>. The selected range now contains the array formula.</paragraph>
   </listitem>
 </list>
-<paragraph id="hd_id3154834" role="heading" level="3" xml-lang="en-US">Adjusting an Array Range</paragraph>
+<h3 id="hd_id3154834">Adjusting an Array Range</h3>
   <paragraph id="par_id3148679" role="paragraph" xml-lang="en-US">If you want to edit the output array, do the following:</paragraph>
 <list type="ordered">
   <listitem>
@@ -178,9 +178,9 @@
     <paragraph id="par_id3147096" role="listitem" xml-lang="en-US">Below the selection, to the right, you will see a small icon with which you can zoom in or out on the range using your mouse.</paragraph>
   </listitem>
 </list>
-  <paragraph id="par_id3150974" role="note" xml-lang="en-US">When you adjust the array range, the array formula will not automatically be adjusted. You are only changing the range in which the result will appear.</paragraph>
+  <note id="par_id3150974">When you adjust the array range, the array formula will not automatically be adjusted. You are only changing the range in which the result will appear.</note>
   <paragraph id="par_id3146080" role="paragraph" xml-lang="en-US">By holding down the <switchinline select="sys"><caseinline select="MAC"><emph>Command</emph></caseinline><defaultinline><emph>Ctrl</emph></defaultinline></switchinline> key, you can create a copy of the array formula in the given range.</paragraph>
-<paragraph id="par_idN10D47" role="heading" level="3" xml-lang="en-US">Conditional Array Calculations</paragraph>
+<h3 id="par_idN10D47">Conditional Array Calculations</h3>
   <paragraph id="par_idN10D4B" role="paragraph" xml-lang="en-US">A conditional array calculation is an array or matrix formula that includes an IF() or CHOOSE() function. The condition argument in the formula is an area reference or a matrix result.</paragraph>
   <paragraph id="par_idN10D4E" role="paragraph" xml-lang="en-US">In the following example, the >0 test of the {=IF(A1:A3>0;"yes";"no")} formula is applied to each cell in the range A1:A3 and the result is copied to the corresponding cell.</paragraph>
 <table id="tbl_id2511673">
@@ -327,12 +327,12 @@
 <bookmark_value>MUNIT function</bookmark_value>
 </bookmark>
 <bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_EINHEITSMATRIX" id="bm_id3151317" localize="false"/>
-<paragraph id="hd_id3158446" role="heading" level="2" xml-lang="en-US">MUNIT</paragraph>
+<h2 id="hd_id3158446">MUNIT</h2>
   <paragraph id="par_id3154121" role="paragraph" xml-lang="en-US"><ahelp hid="HID_FUNC_EINHEITSMATRIX">Returns the unitary square array of a certain size.</ahelp> The unitary array is a square array where the main diagonal elements equal 1 and all other array elements are equal to 0.</paragraph>
   <embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
   <paragraph id="par_id3156271" role="code" xml-lang="en-US">MUNIT(Dimensions)</paragraph>
   <paragraph id="par_id3159390" role="paragraph" xml-lang="en-US"><emph>Dimensions</emph> refers to the size of the array unit.</paragraph>
-  <paragraph id="par_idN10C9B" role="note" xml-lang="en-US">You can find a general introduction to Array functions at the top of this page.</paragraph>
+  <note id="par_idN10C9B">You can find a general introduction to Array functions at the top of this page.</note>
   <embed href="text/scalc/01/common_func.xhp#sectionexample"/>
   <paragraph id="par_id3150949" role="paragraph" xml-lang="en-US">Select a square range within the spreadsheet, for example, from A1 to E5.</paragraph>
   <paragraph id="par_id3151260" role="paragraph" xml-lang="en-US">Without deselecting the range, select the MUNIT function. Mark the <emph>Array</emph> check box. Enter the desired dimensions for the array unit, in this case <item type="input">5</item>, and click <emph>OK</emph>.</paragraph>
@@ -345,13 +345,13 @@
 <bookmark_value>FREQUENCY function</bookmark_value>
 </bookmark>
 <bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_HAEUFIGKEIT" id="bm_id3153883" localize="false"/>
-<paragraph id="hd_id3159084" role="heading" level="2" xml-lang="en-US">FREQUENCY</paragraph>
+<h2 id="hd_id3159084">FREQUENCY</h2>
   <paragraph id="par_id3145777" role="paragraph" xml-lang="en-US"><ahelp hid="HID_FUNC_HAEUFIGKEIT">Indicates the frequency distribution in a one-column-array.</ahelp> The function counts the number of values in the <emph>Data</emph> array that are within the values given by the <emph>Classes</emph> array.</paragraph>
   <embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
   <paragraph id="par_id3155498" role="code" xml-lang="en-US">FREQUENCY(Data; Classes)</paragraph>
   <paragraph id="par_id3154352" role="paragraph" xml-lang="en-US"><emph>Data</emph> represents the reference to the values to be counted.</paragraph>
   <paragraph id="par_id3148402" role="paragraph" xml-lang="en-US"><emph>Classes</emph> represents the array of the limit values.</paragraph>
-  <paragraph id="par_idN10D71" role="note" xml-lang="en-US">You can find a general introduction to Array functions at the top of this page.</paragraph>
+  <note id="par_idN10D71">You can find a general introduction to Array functions at the top of this page.</note>
   <embed href="text/scalc/01/common_func.xhp#sectionexample"/>
   <paragraph id="par_id3155904" role="paragraph" xml-lang="en-US">In the following table, column A lists unsorted measurement values. Column B contains the upper limit you entered for the classes into which you want to divide the data in column A. According to the limit entered in B1, the FREQUENCY function returns the number of measured values less than or equal to 5. As the limit in B2 is 10, the FREQUENCY function returns the second result as the number of measured values that are greater than 5 and less than or equal to 10. The text you entered in B6, ">25", is only for reference purposes.<comment>i77461: replace old text: As the limit in B2 is 10, the FREQUENCY function returns the second result as the number of measured values that are greater than 5 or greater than or equal to 10.</comment></paragraph><comment>UFI: replace table by picture</comment>
 <table id="tbl_id3150680">
@@ -522,12 +522,12 @@
 <bookmark_value>determinants</bookmark_value>
 </bookmark>
 <bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_MDET" id="bm_id3154057" localize="false"/>
-<paragraph id="hd_id3151030" role="heading" level="2" xml-lang="en-US">MDETERM</paragraph>
+<h2 id="hd_id3151030">MDETERM</h2>
   <paragraph id="par_id3154073" role="paragraph" xml-lang="en-US"><ahelp hid="HID_FUNC_MDET">Returns the array determinant of an array.</ahelp> This function returns a value in the current cell; it is not necessary to define a range for the results.</paragraph>
   <embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
   <paragraph id="par_id3156380" role="code" xml-lang="en-US">MDETERM(Array)</paragraph>
   <paragraph id="par_id3150290" role="paragraph" xml-lang="en-US"><emph>Array</emph> represents a square array in which the determinants are defined.</paragraph>
-  <paragraph id="par_idN11635" role="note" xml-lang="en-US">You can find a general introduction to using Array functions on top of this page.</paragraph>
+  <note id="par_idN11635">You can find a general introduction to using Array functions on top of this page.</note>
   <paragraph id="par_idN11333" role="paragraph" localize="false" xml-lang="en-US"><embedvar href="text/scalc/00/00000004.xhp#moreontop"/></paragraph>
 </section>
 <section id="Section11">
@@ -536,7 +536,7 @@
 <bookmark_value>inverse arrays</bookmark_value>
 </bookmark>
 <bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_MINV" id="bm_id3151360" localize="false"/>
-<paragraph id="hd_id3151348" role="heading" level="2" xml-lang="en-US">MINVERSE</paragraph>
+<h2 id="hd_id3151348">MINVERSE</h2>
   <paragraph id="par_id3145569" role="paragraph" xml-lang="en-US"><ahelp hid="HID_FUNC_MINV">Returns the inverse array.</ahelp></paragraph>
   <embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
   <paragraph id="par_id3156085" role="code" xml-lang="en-US">MINVERSE(Array)</paragraph>
@@ -550,27 +550,27 @@
 <bookmark_value>MMULT function</bookmark_value>
 </bookmark>
 <bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_MMULT" id="bm_id3148501" localize="false"/>
-<paragraph id="hd_id3148546" role="heading" level="2" xml-lang="en-US">MMULT</paragraph>
+<h2 id="hd_id3148546">MMULT</h2>
   <paragraph id="par_id3148518" role="paragraph" xml-lang="en-US"><ahelp hid="HID_FUNC_MMULT">Calculates the array product of two arrays.</ahelp> The number of columns for array 1 must match the number of rows for array 2. The square array has an equal number of rows and columns.</paragraph>
   <embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
-  <paragraph id="par_id3150798" role="code" xml-lang="en-US">MMULT(Array; Array)</paragraph>
-  <paragraph id="par_id3150812" role="paragraph" xml-lang="en-US"><emph>Array</emph> at first place represents the first array used in the array product.</paragraph>
-  <paragraph id="par_id3152553" role="paragraph" xml-lang="en-US"><emph>Array</emph> at second place represents the second array with the same number of rows.</paragraph>
-  <paragraph id="par_idN114C3" role="note" localize="false" xml-lang="en-US"><embedvar href="text/scalc/00/00000004.xhp#moreontop"/></paragraph>
+  <paragraph id="par_id3150798" role="code" xml-lang="en-US">MMULT(Array 1; Array 2)</paragraph>
+  <paragraph id="par_id3150812" role="paragraph" xml-lang="en-US"><emph>Array 1</emph> represents the first array used in the array product.</paragraph>
+  <paragraph id="par_id3152553" role="paragraph" xml-lang="en-US"><emph>Array 2</emph> represents the second array with the same number of rows.</paragraph>
+  <note id="par_idN114C3" localize="false"><embedvar href="text/scalc/00/00000004.xhp#moreontop"/></note>
   <embed href="text/scalc/01/common_func.xhp#sectionexample"/>
-  <paragraph id="par_id3146826" role="paragraph" xml-lang="en-US">Select a square range. Choose the MMULT function. Select the first <emph>Array</emph>, then select the second <emph>Array</emph>. Using <emph>Function Wizard</emph>, mark the <emph>Array</emph> check box. Click <emph>OK</emph>. The output array will appear in the first selected range.</paragraph>
+  <paragraph id="par_id3146826" role="paragraph" xml-lang="en-US">Select a square range. Choose the MMULT function. Select <emph>Array 1</emph>, then select <emph>Array 2</emph>. Using the <emph>Function Wizard</emph>, mark the <emph>Array</emph> check box. Click <emph>OK</emph>. The output array will appear in the first selected range.</paragraph>
 </section>
 <section id="Section9">
 <bookmark xml-lang="en-US" branch="index" id="bm_id3154970">
 <bookmark_value>TRANSPOSE function</bookmark_value>
 </bookmark>
 <bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_MTRANS" id="bm_id3154982" localize="false"/>
-<paragraph id="hd_id3154970" role="heading" level="2" xml-lang="en-US">TRANSPOSE</paragraph>
+<h2 id="hd_id3154970">TRANSPOSE</h2>
   <paragraph id="par_id3155276" role="paragraph" xml-lang="en-US"><ahelp hid="HID_FUNC_MTRANS">Transposes the rows and columns of an array.</ahelp></paragraph>
   <embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
   <paragraph id="par_id3153843" role="code" xml-lang="en-US">TRANSPOSE(Array)</paragraph>
   <paragraph id="par_id3153857" role="paragraph" xml-lang="en-US"><emph>Array</emph> represents the array in the spreadsheet that is to be transposed.</paragraph>
-  <paragraph id="par_idN11035" role="note" xml-lang="en-US">You can find a general introduction to using Array functions on top of this page.</paragraph>
+  <note id="par_idN11035">You can find a general introduction to using Array functions on top of this page.</note>
   <embed href="text/scalc/01/common_func.xhp#sectionexample"/>
   <paragraph id="par_id3159366" role="paragraph" xml-lang="en-US">In the spreadsheet, select the range in which the transposed array can appear. If the original array has n rows and m columns, your selected range must have at least m rows and n columns. Then enter the formula directly, select the original array and press <switchinline select="sys"><caseinline select="MAC"><emph>Shift + Command + Enter</emph></caseinline><defaultinline><emph>Shift + Ctrl + Enter</emph></defaultinline></switchinline>. Or, if you are using the <emph>Function Wizard</emph>, mark the <emph>Array</emph> check box. The transposed array appears in the selected target range and is protected automatically against changes.</paragraph>
 <table id="tbl_id6215816">
@@ -690,7 +690,7 @@
 <bookmark_value>LINEST function</bookmark_value>
 </bookmark>
 <bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_RGP" id="bm_id3144716" localize="false"/>
-<paragraph id="hd_id3109846" role="heading" level="2" xml-lang="en-US">LINEST</paragraph>
+<h2 id="hd_id3109846">LINEST</h2>
   <paragraph id="par_id3144733" role="paragraph" xml-lang="en-US"><ahelp hid="HID_FUNC_RGP">Returns a table of statistics for a straight line that best fits a data set.</ahelp><comment>changed based on https://wiki.documentfoundation.org/Documentation/How_Tos/Calc:_LINEST_function (issue 76142)</comment></paragraph>
   <embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
   <paragraph id="par_id3152839" role="code" xml-lang="en-US">LINEST(data_Y; data_X; linearType; stats)</paragraph>
@@ -705,7 +705,7 @@
   <embed href="text/scalc/01/common_func.xhp#sectionexample"/>
   <paragraph id="par_id3154176" role="paragraph" xml-lang="en-US">This function returns an array and is handled in the same way as the other array functions. Select a range for the answers and then the function. Select <emph>data_Y</emph>. If you want, you can enter other parameters. Select <emph>Array</emph> and click <emph>OK</emph>.</paragraph>
   <paragraph id="par_id3155468" role="paragraph" xml-lang="en-US">The results returned by the system (if <emph>stats</emph> = 0), will at least show the slope of the regression line and its intersection with the Y axis. If <emph>stats</emph> does not equal 0, other results are to be displayed.</paragraph>
-<paragraph id="hd_id3155491" role="heading" level="3" xml-lang="en-US">Other LINEST Results:</paragraph>
+<h3 id="hd_id3155491">Other LINEST Results:</h3>
   <paragraph id="par_id3159291" role="paragraph" xml-lang="en-US">Examine the following examples:</paragraph>
 <table id="tbl_id3159305">
   <tablerow>
@@ -962,7 +962,7 @@
 <bookmark_value>LOGEST function</bookmark_value>
 </bookmark>
 <bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_RKP" id="bm_id3146020" localize="false"/>
-<paragraph id="hd_id3146009" role="heading" level="2" xml-lang="en-US">LOGEST</paragraph>
+<h2 id="hd_id3146009">LOGEST</h2>
   <paragraph id="par_id3146037" role="paragraph" xml-lang="en-US"><ahelp hid="HID_FUNC_RKP">This function calculates the adjustment of the entered data as an exponential regression curve (y=b*m^x).</ahelp><comment>UFI: see http://support.microsoft.com/default.aspx?kbid=828528&product=xl2003 for bug #i31051#</comment></paragraph>
   <embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
   <paragraph id="par_id3163123" role="code" xml-lang="en-US">LOGEST(DataY; DataX; FunctionType; Stats)</paragraph>
@@ -983,7 +983,7 @@
 <bookmark_value>inner products</bookmark_value>
 </bookmark>
 <bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_SUMMENPRODUKT" id="bm_id3163297" localize="false"/>
-<paragraph id="hd_id3163286" role="heading" level="2" xml-lang="en-US">SUMPRODUCT</paragraph>
+<h2 id="hd_id3163286">SUMPRODUCT</h2>
   <paragraph id="par_id3163314" role="paragraph" xml-lang="en-US"><ahelp hid="HID_FUNC_SUMMENPRODUKT">Multiplies corresponding elements in the given arrays, and returns the sum of those products.</ahelp></paragraph>
   <embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
   <paragraph id="par_id3163347" role="code" xml-lang="en-US">SUMPRODUCT(Array 1[; Array 2;][...;[Array 255]])</paragraph>
@@ -1062,7 +1062,7 @@
   <paragraph id="par_idN11BA1" role="paragraph" xml-lang="en-US"><item type="input">=SUMPRODUCT(A1:B3;C1:D3)</item> returns 397.</paragraph>
   <paragraph id="par_idN11BA4" role="paragraph" xml-lang="en-US">Calculation: A1*C1 + B1*D1 + A2*C2 + B2*D2 + A3*C3 + B3*D3</paragraph>
   <paragraph id="par_idN11BA7" role="paragraph" xml-lang="en-US">You can use SUMPRODUCT to calculate the scalar product of two vectors.</paragraph>
-  <paragraph id="par_idN11BBC" role="note" xml-lang="en-US">SUMPRODUCT returns a single number, it is not necessary to enter the function as an array function.</paragraph>
+  <note id="par_idN11BBC">SUMPRODUCT returns a single number, it is not necessary to enter the function as an array function.</note>
   <paragraph id="par_idN11C91" role="paragraph" localize="false" xml-lang="en-US"><embedvar href="text/scalc/00/00000004.xhp#moreontop"/></paragraph>
 </section>
 <section id="Section5">
@@ -1070,7 +1070,7 @@
 <bookmark_value>SUMX2MY2 function</bookmark_value>
 </bookmark>
 <bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_SUMMEX2MY2" id="bm_id3144854" localize="false"/>
-<paragraph id="hd_id3144842" role="heading" level="2" xml-lang="en-US">SUMX2MY2</paragraph>
+<h2 id="hd_id3144842">SUMX2MY2</h2>
   <paragraph id="par_id3144871" role="paragraph" xml-lang="en-US"><ahelp hid="HID_FUNC_SUMMEX2MY2">Returns the sum of the difference of squares of corresponding values in two arrays.</ahelp></paragraph>
   <embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
   <paragraph id="par_id3144903" role="code" xml-lang="en-US">SUMX2MY2(ArrayX; ArrayY)</paragraph>
@@ -1083,7 +1083,7 @@
 <bookmark_value>SUMX2PY2 function</bookmark_value>
 </bookmark>
 <bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_SUMMEX2PY2" id="bm_id3145038" localize="false"/>
-<paragraph id="hd_id3145026" role="heading" level="2" xml-lang="en-US">SUMX2PY2</paragraph>
+<h2 id="hd_id3145026">SUMX2PY2</h2>
   <paragraph id="par_id3145055" role="paragraph" xml-lang="en-US"><ahelp hid="HID_FUNC_SUMMEX2PY2">Returns the sum of the sum of squares of corresponding values in two arrays.</ahelp></paragraph>
   <embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
   <paragraph id="par_id3163404" role="code" xml-lang="en-US">SUMX2PY2(ArrayX; ArrayY)</paragraph>
@@ -1096,7 +1096,7 @@
 <bookmark_value>SUMXMY2 function</bookmark_value>
 </bookmark>
 <bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_SUMMEXMY2" id="bm_id3163539" localize="false"/>
-<paragraph id="hd_id3163527" role="heading" level="2" xml-lang="en-US">SUMXMY2</paragraph>
+<h2 id="hd_id3163527">SUMXMY2</h2>
   <paragraph id="par_id3163556" role="paragraph" xml-lang="en-US"><ahelp hid="HID_FUNC_SUMMEXMY2">Adds the squares of the variance between corresponding values in two arrays.</ahelp></paragraph>
   <embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
   <paragraph id="par_id3163588" role="code" xml-lang="en-US">SUMXMY2(ArrayX; ArrayY)</paragraph>
@@ -1109,7 +1109,7 @@
 <bookmark_value>TREND function</bookmark_value>
 </bookmark>
 <bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_TREND" id="bm_id3166074" localize="false"/>
-<paragraph id="hd_id3166062" role="heading" level="2" xml-lang="en-US">TREND</paragraph>
+<h2 id="hd_id3166062">TREND</h2>
   <paragraph id="par_id3166091" role="paragraph" xml-lang="en-US"><ahelp hid="HID_FUNC_TREND">Returns values along a linear trend.</ahelp></paragraph>
   <embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
   <paragraph id="par_id3166122" role="code" xml-lang="en-US">TREND(DataY; DataX; NewDataX; LinearType)</paragraph>
@@ -1128,7 +1128,7 @@
 <bookmark_value>exponential trends in arrays</bookmark_value>
 </bookmark>
 <bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_VARIATION" id="bm_id3166329" localize="false"/>
-<paragraph id="hd_id3166317" role="heading" level="2" xml-lang="en-US">GROWTH</paragraph>
+<h2 id="hd_id3166317">GROWTH</h2>
   <paragraph id="par_id3166346" role="paragraph" xml-lang="en-US"><ahelp hid="HID_FUNC_VARIATION">Calculates the points of an exponential trend in an array.</ahelp></paragraph>
   <embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
   <paragraph id="par_id3166377" role="code" xml-lang="en-US">GROWTH(DataY; DataX; NewDataX; FunctionType)</paragraph>
diff --git a/source/text/scalc/01/04060182.xhp b/source/text/scalc/01/04060182.xhp
index 8411b7766..f5254aa80 100644
--- a/source/text/scalc/01/04060182.xhp
+++ b/source/text/scalc/01/04060182.xhp
@@ -27,15 +27,15 @@
       </topic>
    </meta>
    <body>
-      <paragraph xml-lang="en-US" id="hd_id3154372" role="heading" level="1"><variable id="fh"><link href="text/scalc/01/04060182.xhp" name="Statistical Functions Part Two">Statistical Functions Part Two</link>
-</variable></paragraph>
+      <h1 id="hd_id3154372"><variable id="fh"><link href="text/scalc/01/04060182.xhp" name="Statistical Functions Part Two">Statistical Functions Part Two</link>
+</variable></h1>
 <sort order="asc">
 <section id="finv">
 <bookmark xml-lang="en-US" branch="index" id="bm_id3145388"><bookmark_value>FINV function</bookmark_value>
          <bookmark_value>inverse F probability distribution</bookmark_value>
 </bookmark><comment>mw added one entry</comment>
 <bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_FINV" id="bm_id3146113" localize="false"/>
-<paragraph xml-lang="en-US" id="hd_id3145388" role="heading" level="2">FINV</paragraph>
+<h2 id="hd_id3145388">FINV</h2>
          <paragraph xml-lang="en-US" id="par_id3155089" role="paragraph"><ahelp hid="HID_FUNC_FINV">Returns the inverse of the F probability distribution.</ahelp> The F distribution is used for F tests in order to set the relation between two differing data sets.</paragraph>
          <embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
          <paragraph xml-lang="en-US" id="par_id3153068" role="code">FINV(Number; DegreesFreedom1; DegreesFreedom2)</paragraph>
@@ -56,7 +56,7 @@
     </bookmark>
     <comment>mw added one entry</comment>
     <bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_F_INV_LT" id="bm_id2946113" localize="false"/>
-    <paragraph xml-lang="en-US" id="hd_id2945388" role="heading" level="2">F.INV</paragraph>
+    <h2 id="hd_id2945388">F.INV</h2>
     <paragraph xml-lang="en-US" id="par_id2955089" role="paragraph"><ahelp hid="HID_FUNC_F_INV_LT">Returns the inverse of the cumulative F distribution.</ahelp> The F distribution is used for F tests in order to set the relation between two differing data sets.</paragraph>
     <embed href="text/scalc/00/avail_release.xhp#4.2"/>
     <embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
@@ -74,7 +74,7 @@
     </bookmark>
     <comment>mw added one entry</comment>
     <bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_F_INV_RT" id="bm_id2846113" localize="false"/>
-    <paragraph xml-lang="en-US" id="hd_id2845388" role="heading" level="2">F.INV.RT</paragraph>
+    <h2 id="hd_id2845388">F.INV.RT</h2>
     <paragraph xml-lang="en-US" id="par_id2855089" role="paragraph"><ahelp hid="HID_FUNC_F_INV_RT">Returns the inverse right tail of the F distribution.</ahelp></paragraph>
     <embed href="text/scalc/00/avail_release.xhp#4.2"/>
     <embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
@@ -89,7 +89,7 @@
 <bookmark xml-lang="en-US" branch="index" id="bm_id3150888"><bookmark_value>FISHER function</bookmark_value>
 </bookmark>
 <bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_FISHER" id="bm_id3146782" localize="false"/>
-<paragraph xml-lang="en-US" id="hd_id3150888" role="heading" level="2">FISHER</paragraph>
+<h2 id="hd_id3150888">FISHER</h2>
          <paragraph xml-lang="en-US" id="par_id3155384" role="paragraph"><ahelp hid="HID_FUNC_FISHER">Returns the Fisher transformation for x and creates a function close to a normal distribution.</ahelp></paragraph>
          <embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
          <paragraph xml-lang="en-US" id="par_id3143220" role="code">FISHER(Number)</paragraph>
@@ -104,7 +104,7 @@
          <bookmark_value>inverse of Fisher transformation</bookmark_value>
 </bookmark><comment>mw added one entry</comment>
 <bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_FISHERINV" id="bm_id3149317" localize="false"/>
-<paragraph xml-lang="en-US" id="hd_id3155758" role="heading" level="2">FISHERINV</paragraph>
+<h2 id="hd_id3155758">FISHERINV</h2>
          <paragraph xml-lang="en-US" id="par_id3154734" role="paragraph"><ahelp hid="HID_FUNC_FISHERINV">Returns the inverse of the Fisher transformation for x and creates a function close to a normal distribution.</ahelp></paragraph>
          <embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
          <paragraph xml-lang="en-US" id="par_id3146108" role="code">FISHERINV(Number)</paragraph>
@@ -118,7 +118,7 @@
 <bookmark xml-lang="en-US" branch="index" id="bm_id3151390"><bookmark_value>FTEST function</bookmark_value>
 </bookmark>
 <bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_FTEST" id="bm_id3159263" localize="false"/>
-<paragraph xml-lang="en-US" id="hd_id3151390" role="heading" level="2">FTEST</paragraph>
+<h2 id="hd_id3151390">FTEST</h2>
          <paragraph xml-lang="en-US" id="par_id3150534" role="paragraph"><ahelp hid="HID_FUNC_FTEST">Returns the result of an F test.</ahelp></paragraph>
          <embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
          <paragraph xml-lang="en-US" id="par_id3153024" role="code">FTEST(Data1; Data2)</paragraph>
@@ -135,7 +135,7 @@
         <bookmark_value>F.TEST function</bookmark_value>
     </bookmark>
     <bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_F_TEST_MS" id="bm_id2959263" localize="false"/>
-    <paragraph xml-lang="en-US" id="hd_id2951390" role="heading" level="2">F.TEST</paragraph>
+    <h2 id="hd_id2951390">F.TEST</h2>
     <paragraph xml-lang="en-US" id="par_id2950534" role="paragraph"><ahelp hid="HID_FUNC_F_TEST_MS">Returns the result of an F test.</ahelp></paragraph>
     <embed href="text/scalc/00/avail_release.xhp#4.2"/>
     <embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
@@ -149,7 +149,7 @@
 <bookmark xml-lang="en-US" branch="index" id="bm_id3150372"><bookmark_value>FDIST function</bookmark_value>
 </bookmark>
 <bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_FVERT" id="bm_id3149722" localize="false"/>
-<paragraph xml-lang="en-US" id="hd_id3150372" role="heading" level="2">FDIST</paragraph>
+<h2 id="hd_id3150372">FDIST</h2>
          <paragraph xml-lang="en-US" id="par_id3152981" role="paragraph"><ahelp hid="HID_FUNC_FVERT">Calculates the values of an F distribution.</ahelp></paragraph>
          <embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
          <paragraph xml-lang="en-US" id="par_id3145826" role="code">FDIST(Number; DegreesFreedom1; DegreesFreedom2)</paragraph>
@@ -168,7 +168,7 @@
         <bookmark_value>F.DIST function</bookmark_value>
     </bookmark>
     <bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_F_DIST_LT" id="bm_id2949722" localize="false"/>
-    <paragraph xml-lang="en-US" id="hd_id2950372" role="heading" level="2">F.DIST</paragraph>
+    <h2 id="hd_id2950372">F.DIST</h2>
     <paragraph xml-lang="en-US" id="par_id2952981" role="paragraph"><ahelp hid="HID_FUNC_F_DIST_LT">Calculates the values of the left tail of the F distribution.</ahelp></paragraph>
     <embed href="text/scalc/00/avail_release.xhp#4.2"/>
     <embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
@@ -186,7 +186,7 @@
         <bookmark_value>F.DIST.RT function</bookmark_value>
     </bookmark>
     <bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_F_DIST_RT" id="bm_id289722" localize="false"/>
-    <paragraph xml-lang="en-US" id="hd_id280372" role="heading" level="2">F.DIST.RT</paragraph>
+    <h2 id="hd_id280372">F.DIST.RT</h2>
     <paragraph xml-lang="en-US" id="par_id2852981" role="paragraph"><ahelp hid="HID_FUNC_F_DIST_RT">Calculates the values of the right tail of the F distribution.</ahelp></paragraph>
     <embed href="text/scalc/00/avail_release.xhp#4.2"/>
     <embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
@@ -201,7 +201,7 @@
 <bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_GAMMA" id="bm_id0119200903221254" localize="false"/>
 <bookmark xml-lang="en-US" branch="index" id="bm_id0119200903223192"><bookmark_value>GAMMA function</bookmark_value>
 </bookmark>
-<paragraph xml-lang="en-US" id="hd_id0119200903205393" role="heading" level="2">GAMMA</paragraph>
+<h2 id="hd_id0119200903205393">GAMMA</h2>
          <paragraph xml-lang="en-US" id="par_id0119200903205379" role="paragraph"><ahelp hid=".">Returns the Gamma function value.</ahelp> Note that GAMMAINV is not the inverse of GAMMA, but of GAMMADIST.</paragraph>
          <embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
          <paragraph xml-lang="en-US" id="par_id0119200903271614" role="paragraph">
@@ -211,7 +211,7 @@
 <bookmark xml-lang="en-US" branch="index" id="bm_id3154841"><bookmark_value>GAMMAINV function</bookmark_value>
 </bookmark>
 <bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_GAMMAINV" id="bm_id3149249" localize="false"/>
-<paragraph xml-lang="en-US" id="hd_id3154841" role="heading" level="2">GAMMAINV</paragraph>
+<h2 id="hd_id3154841">GAMMAINV</h2>
          <paragraph xml-lang="en-US" id="par_id3153932" role="paragraph"><ahelp hid="HID_FUNC_GAMMAINV">Returns the inverse of the Gamma cumulative distribution GAMMADIST.</ahelp> This function allows you to search for variables with different distribution.</paragraph>
          <embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
          <paragraph xml-lang="en-US" id="par_id3155828" role="code">GAMMAINV(Number; Alpha; Beta)</paragraph>
@@ -229,7 +229,7 @@
 <bookmark xml-lang="en-US" branch="index" id="bm_id2914841"><bookmark_value>GAMMA.INV function</bookmark_value>
 </bookmark>
 <bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_GAMMAINV_MS" id="bm_id2919249" localize="false"/>
-<paragraph xml-lang="en-US" id="hd_id2914841" role="heading" level="2">GAMMA.INV</paragraph>
+<h2 id="hd_id2914841">GAMMA.INV</h2>
          <paragraph xml-lang="en-US" id="par_id2913932" role="paragraph"><ahelp hid="HID_FUNC_GAMMAINV_MS">Returns the inverse of the Gamma cumulative distribution GAMMADIST.</ahelp> This function allows you to search for variables with different distribution.</paragraph>
 	 <paragraph id="par_id291422405814" role="paragraph" xml-lang="en-US">This function is identical to GAMMAINV and was introduced for interoperability with other office suites.</paragraph>
          <embed href="text/scalc/00/avail_release.xhp#4.3"/>
@@ -250,7 +250,7 @@
          <bookmark_value>natural logarithm of Gamma function</bookmark_value>
 </bookmark><comment>mw added one entry</comment>
 <bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_GAMMALN" id="bm_id3149511" localize="false"/>
-<paragraph xml-lang="en-US" id="hd_id3154806" role="heading" level="2">GAMMALN</paragraph>
+<h2 id="hd_id3154806">GAMMALN</h2>
          <paragraph xml-lang="en-US" id="par_id3148572" role="paragraph"><ahelp hid="HID_FUNC_GAMMALN">Returns the natural logarithm of the Gamma function: G(x).</ahelp></paragraph>
          <embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
          <paragraph xml-lang="en-US" id="par_id3153112" role="code">GAMMALN(Number)</paragraph>
@@ -265,7 +265,7 @@
          <bookmark_value>natural logarithm of Gamma function</bookmark_value>
 </bookmark><comment>mw added one entry</comment>
 <bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_GAMMALN_MS" id="bm_id2919511" localize="false"/>
-<paragraph xml-lang="en-US" id="hd_id2914806" role="heading" level="2">GAMMALN.PRECISE</paragraph>
+<h2 id="hd_id2914806">GAMMALN.PRECISE</h2>
          <paragraph xml-lang="en-US" id="par_id2918572" role="paragraph"><ahelp hid="HID_FUNC_GAMMALN_MS">Returns the natural logarithm of the Gamma function: G(x).</ahelp></paragraph>
          <embed href="text/scalc/00/avail_release.xhp#4.3"/>
          <embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
@@ -280,7 +280,7 @@
 <bookmark xml-lang="en-US" branch="index" id="bm_id3150132"><bookmark_value>GAMMADIST function</bookmark_value>
 </bookmark>
 <bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_GAMMAVERT" id="bm_id3154330" localize="false"/>
-<paragraph xml-lang="en-US" id="hd_id3150132" role="heading" level="2">GAMMADIST</paragraph>
+<h2 id="hd_id3150132">GAMMADIST</h2>
          <paragraph xml-lang="en-US" id="par_id3155931" role="paragraph"><ahelp hid="HID_FUNC_GAMMAVERT">Returns the values of a Gamma distribution.</ahelp></paragraph>
          <paragraph xml-lang="en-US" id="par_id0119200903333675" role="paragraph">The inverse function is GAMMAINV.</paragraph>
          <embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
@@ -302,7 +302,7 @@
 <bookmark_value>GAMMA.DIST function</bookmark_value>
 </bookmark>
 <bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_GAMMADIST_MS" id="bm_id2406201421290724" localize="false"/>
-<paragraph id="hd_id2406201422120061" role="heading" xml-lang="en-US" level="2">GAMMA.DIST</paragraph>
+<h2 id="hd_id2406201422120061">GAMMA.DIST</h2>
 <paragraph id="par_id2406201422414690" role="paragraph" xml-lang="en-US"><ahelp hid="HID_FUNC_GAMMADIST_MS">Returns the values of a Gamma distribution.</ahelp></paragraph>
 <paragraph id="par_id24061422414690" role="paragraph" xml-lang="en-US">The inverse function is GAMMAINV or GAMMA.INV.</paragraph>
 <paragraph id="par_id2406201422405814" role="paragraph" xml-lang="en-US">This function is identical to GAMMADIST and was introduced for interoperability with other office suites.</paragraph>
@@ -321,7 +321,7 @@
          <bookmark_value>normal distribution; standard</bookmark_value>
 </bookmark><comment>mw added one entry</comment>
 <bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_GAUSS" id="bm_id3149388" localize="false"/>
-<paragraph xml-lang="en-US" id="hd_id3150272" role="heading" level="2">GAUSS</paragraph>
+<h2 id="hd_id3150272">GAUSS</h2>
          <paragraph xml-lang="en-US" id="par_id3149030" role="paragraph"><ahelp hid="HID_FUNC_GAUSS">Returns the standard normal cumulative distribution.</ahelp></paragraph>
          <paragraph xml-lang="en-US" id="par_id2059694" role="paragraph">It is GAUSS(x)=NORMSDIST(x)-0.5</paragraph>
          <embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
@@ -339,7 +339,7 @@
          <bookmark_value>means;geometric</bookmark_value>
 </bookmark><comment>mw added one entry</comment>
 <bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_GEOMITTEL" id="bm_id3149777" localize="false"/>
-<paragraph xml-lang="en-US" id="hd_id3148425" role="heading" level="2">GEOMEAN</paragraph>
+<h2 id="hd_id3148425">GEOMEAN</h2>
          <paragraph xml-lang="en-US" id="par_id3156257" role="paragraph"><ahelp hid="HID_FUNC_GEOMITTEL">Returns the geometric mean of a sample.</ahelp></paragraph>
          <embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
          <paragraph xml-lang="en-US" id="par_id3153720" role="code">GEOMEAN(Number1; Number2; ...; Number30)</paragraph>
@@ -354,7 +354,7 @@
          <bookmark_value>means;of data set without margin data</bookmark_value>
 </bookmark><comment>mw added one entry</comment>
 <bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_GESTUTZTMITTEL" id="bm_id3145081" localize="false"/>
-<paragraph xml-lang="en-US" id="hd_id3152966" role="heading" level="2">TRIMMEAN</paragraph>
+<h2 id="hd_id3152966">TRIMMEAN</h2>
          <paragraph xml-lang="en-US" id="par_id3149716" role="paragraph"><ahelp hid="HID_FUNC_GESTUTZTMITTEL">Returns the mean of a data set without the Alpha percent of data at the margins.</ahelp></paragraph>
          <embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
          <paragraph xml-lang="en-US" id="par_id3154821" role="code">TRIMMEAN(Data; Alpha)</paragraph>
@@ -370,7 +370,7 @@
 <bookmark xml-lang="en-US" branch="index" id="bm_id3153216"><bookmark_value>ZTEST function</bookmark_value>
 </bookmark>
 <bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_GTEST" id="bm_id3147569" localize="false"/>
-<paragraph xml-lang="en-US" id="hd_id3153216" role="heading" level="2">ZTEST</paragraph>
+<h2 id="hd_id3153216">ZTEST</h2>
          <paragraph xml-lang="en-US" id="par_id3150758" role="paragraph"><ahelp hid="HID_FUNC_GTEST">Calculates the probability of observing a z-statistic greater than the one computed based on a sample.</ahelp></paragraph>
          <embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
          <paragraph xml-lang="en-US" id="par_id3153274" role="code">ZTEST(Data; mu; Sigma)</paragraph>
@@ -386,7 +386,7 @@
 <bookmark xml-lang="en-US" branch="index" id="bm_id2953216"><bookmark_value>Z.TEST function</bookmark_value>
 </bookmark>
 <bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_Z_TEST_MS" id="bm_id2947569" localize="false"/>
-<paragraph xml-lang="en-US" id="hd_id2953216" role="heading" level="2">Z.TEST</paragraph>
+<h2 id="hd_id2953216">Z.TEST</h2>
 <paragraph xml-lang="en-US" id="par_id2950758" role="paragraph"><ahelp hid="HID_FUNC_Z_TEST_MS">Calculates the probability of observing a z-statistic greater than the one computed based on a sample.</ahelp></paragraph>
 <embed href="text/scalc/00/avail_release.xhp#4.3"/>
 <embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
@@ -402,7 +402,7 @@
          <bookmark_value>means;harmonic</bookmark_value>
 </bookmark><comment>mw added one entry</comment>
 <bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_HARMITTEL" id="bm_id3154052" localize="false"/>
-<paragraph xml-lang="en-US" id="hd_id3153623" role="heading" level="2">HARMEAN</paragraph>
+<h2 id="hd_id3153623">HARMEAN</h2>
          <paragraph xml-lang="en-US" id="par_id3155102" role="paragraph"><ahelp hid="HID_FUNC_HARMITTEL">Returns the harmonic mean of a data set.</ahelp></paragraph>
          <embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
          <paragraph xml-lang="en-US" id="par_id3149287" role="code">HARMEAN(Number1; Number2; ...; Number30)</paragraph>
@@ -417,10 +417,11 @@
          <bookmark_value>sampling without replacement</bookmark_value>
 </bookmark><comment>mw added one entry</comment>
 <bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_HYPGEOMVERT" id="bm_id3153910" localize="false"/>
-<paragraph xml-lang="en-US" id="hd_id3152801" role="heading" level="2">HYPGEOMDIST</paragraph>
+<h2 id="hd_id3152801">HYPGEOMDIST</h2>
          <paragraph xml-lang="en-US" id="par_id3159341" role="paragraph"><ahelp hid="HID_FUNC_HYPGEOMVERT">Returns the hypergeometric distribution.</ahelp></paragraph>
          <embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
-         <paragraph xml-lang="en-US" id="par_id3155388" role="code">HYPGEOMDIST(X; NSample; Successes; NPopulation)</paragraph>
+
+         <paragraph xml-lang="en-US" id="par_id3155388" role="code">HYPGEOMDIST(X; NSample; Successes; NPopulation[; Cumulative])</paragraph>
          <paragraph xml-lang="en-US" id="par_id3154933" role="paragraph">
             <emph>X</emph> is the number of results achieved in the random sample.</paragraph>
          <paragraph xml-lang="en-US" id="par_id3153106" role="paragraph">
@@ -429,6 +430,7 @@
             <emph>Successes</emph> is the number of possible results in the total population.</paragraph>
          <paragraph xml-lang="en-US" id="par_id3148826" role="paragraph">
             <emph>NPopulation </emph>is the size of the total population.</paragraph>
+        <paragraph xml-lang="en-US" id="par_id231585952506847" role="paragraph"><emph>Cumulative </emph> (optional) specifies whether to calculate the probability density function (FALSE or 0) or the cumulative distribution function (any other value). The cumulative distribution function is the default if no value is specified for this parameter.</paragraph>
         <embed href="text/scalc/01/common_func.xhp#sectionexample"/>
          <paragraph xml-lang="en-US" id="par_id3154904" role="paragraph">
             <item type="input">=HYPGEOMDIST(2;2;90;100)</item> yields 0.81. If 90 out of 100 pieces of buttered toast fall from the table and hit the floor with the buttered side first, then if 2 pieces of buttered toast are dropped from the table, the probability is 81%, that both will strike buttered side first.</paragraph>
@@ -440,7 +442,7 @@
     </bookmark>
     <comment>mw added one entry</comment>
     <bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_HYP_GEOM_DIST_MS" id="bm_id2953910" localize="false"/>
-    <paragraph xml-lang="en-US" id="hd_id2952801" role="heading" level="2">HYPGEOM.DIST</paragraph>
+    <h2 id="hd_id2952801">HYPGEOM.DIST</h2>
     <paragraph xml-lang="en-US" id="par_id2959341" role="paragraph"><ahelp hid="HID_FUNC_HYP_GEOM_DIST_MS">Returns the hypergeometric distribution.</ahelp></paragraph>
     <embed href="text/scalc/00/avail_release.xhp#4.2"/>
     <embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
diff --git a/source/text/scalc/01/func_days360.xhp b/source/text/scalc/01/func_days360.xhp
index 22f5a3e5a..822d7f44f 100644
--- a/source/text/scalc/01/func_days360.xhp
+++ b/source/text/scalc/01/func_days360.xhp
@@ -31,7 +31,7 @@
 <paragraph role="paragraph" id="par_id3156032" xml-lang="en-US"><ahelp hid="HID_FUNC_TAGE360">Returns the difference between two dates based on the 360 day year used in interest calculations.</ahelp></paragraph>
 <embed href="text/scalc/01/ODFF.xhp#odff"/>
 <embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
-<paragraph role="code" id="par_id3155313" xml-lang="en-US">DAYS360("Date1"; "Date2"; Type)</paragraph>
+<paragraph role="code" id="par_id3155313" xml-lang="en-US">DAYS360(Date1; Date2[; Type])</paragraph>
 <paragraph role="paragraph" id="par_id3145263" xml-lang="en-US">If <emph>Date2</emph> is earlier than <emph>Date1</emph>, the function will return a negative number.</paragraph>
 <paragraph role="paragraph" id="par_id3151064" xml-lang="en-US">The optional argument <emph>Type</emph> determines the type of difference calculation. If Type = 0 or if the argument is missing, the US method (NASD, National Association of Securities Dealers) is used. If Type <> 0, the European method is used.</paragraph>
 <embed href="text/scalc/01/04060102.xhp#datenumberinfo"/>


More information about the Libreoffice-commits mailing list