-
-
-Event
-
-
-An assigned macro is executed...
-
-
-
-
-Program Start
-
-
-... after a $[officename] application is started.
-
-
-
-
-Program End
-
-
-...before a $[officename] application is terminated.
-
-
-
-
-Create Document
-
-
-...after a new document is created with File - New or with the New icon.
-
-
-
-
-Open Document
-
-
-...after a document is opened with File - Open or with the Open icon.
-
-
-
-
-Save Document As
-
-
-...before a document is saved under a specified name (with File - Save As, or with File - Save or the Save icon, if a document name has not yet been specified).
-
-
-
-
-Document has been saved as
-
-
-... after a document was saved under a specified name (with File - Save As, or with File - Save or with the Save icon, if a document name has not yet been specified).
-
-
-
-
-Save Document
-
-
-...before a document is saved with File - Save or the Save icon, provided that a document name has already been specified.
-
-
-
-
-Document has been saved
-
-
-...after a document is saved with File - Save or the Save icon, provided that a document name has already been specified.
-
-
-
-
-Close Document
-
-
-...before a document is closed.
-
-
-
-
-Document is being closed
-
-
-...after a document was closed. Note that the "Save Document" event may also occur when the document is saved before closing.
-
-
-
-
-Activate Document
-
-
-...after a document is brought to the foreground.
-
-
-
-
-Deactivate Document
-
-
-...after another document is brought to the foreground.
-
-
-
-
-Print Document
-
-
-...after the Print dialog is closed, but before the actual print process begins.
-
-
-
-
-JavaScript run-time error
-
-
-...when a JavaScript run-time error occurs.
-
-
-
-
-Print Mail Merge
-
-
-...after the Print dialog is closed, but before the actual print process begins. This event occurs for each copy printed.
-
-
-
-
-Change of the page count
-
-
-...when the page count changes.
-
-
-
-
-Message received
-
-
-...if a message was received.
-
-
-
+Event-Driven Macros
+ This section describes how to assign Basic programs to program events.
+
+ You can automatically execute a macro when a specified software event occurs by assigning the desired macro to the event. The following table provides an overview of program events and at what point an assigned macro is executed.
+
+
+
+ Event
+
+
+ An assigned macro is executed...
+
+
+
+
+ Program Start
+
+
+ ... after a $[officename] application is started.
+
+
+
+
+ Program End
+
+
+ ...before a $[officename] application is terminated.
+
+
+
+
+ Create Document
+
+
+ ...after a new document is created with File - New or with the New icon.
+
+
+
+
+ Open Document
+
+
+ ...after a document is opened with File - Open or with the Open icon.
+
+
+
+
+ Save Document As
+
+
+ ...before a document is saved under a specified name (with File - Save As, or with File - Save or the Save icon, if a document name has not yet been specified).
+
+
+
+
+ Document has been saved as
+
+
+ ... after a document was saved under a specified name (with File - Save As, or with File - Save or with the Save icon, if a document name has not yet been specified).
+
+
+
+
+ Save Document
+
+
+ ...before a document is saved with File - Save or the Save icon, provided that a document name has already been specified.
+
+
+
+
+ Document has been saved
+
+
+ ...after a document is saved with File - Save or the Save icon, provided that a document name has already been specified.
+
+
+
+
+ Document is closingi104852
+
+
+ ...before a document is closed.
+
+
+
+
+ Document closed
+
+
+ ...after a document was closed. Note that the "Save Document" event may also occur when the document is saved before closing.
+
+
+
+
+ Activate Document
+
+
+ ...after a document is brought to the foreground.
+
+
+
+
+ Deactivate Document
+
+
+ ...after another document is brought to the foreground.
+
+
+
+
+ Print Document
+
+
+ ...after the Print dialog is closed, but before the actual print process begins.
+
+
+
+
+ JavaScript run-time error
+
+
+ ...when a JavaScript run-time error occurs.
+
+
+
+
+ Print Mail Merge
+
+
+ ...after the Print dialog is closed, but before the actual print process begins. This event occurs for each copy printed.
+
+
+
+
+ Change of the page count
+
+
+ ...when the page count changes.
+
+
+
+
+ Message received
+
+
+ ...if a message was received.
+
+
+
-Assigning a Macro to an Event
-
-
-Choose Tools - Customize and click the Events tab.
-
-
-Select whether you want the assignment to be globally valid or just valid in the current document in the Save In listbox.
-
-
-Select the event from the Event list.
-
-
-Click Macro and select the macro to be assigned to the selected event.
-
-
-Click OK to assign the macro.
-
-
-Click OK to close the dialog.
-
-
-Removing the Assignment of a Macro to an Event
-
-
-Choose Tools - Customize and click the Events tab.
-
-
-Select whether you want to remove a global assignment or an assignment that is just valid in the current document by selecting the option in the Save In listbox.
-
-
-Select the event that contains the assignment to be removed from the Event list.
-
-
-Click Remove.
-
-
-Click OK to close the dialog.
-
-
-
-
+ Assigning a Macro to an Event
+
+
+ Choose Tools - Customize and click the Events tab.
+
+
+ Select whether you want the assignment to be globally valid or just valid in the current document in the Save In listbox.
+
+
+ Select the event from the Event list.
+
+
+ Click Macro and select the macro to be assigned to the selected event.
+
+
+ Click OK to assign the macro.
+
+
+ Click OK to close the dialog.
+
+
+ Removing the Assignment of a Macro to an Event
+
+
+ Choose Tools - Customize and click the Events tab.
+
+
+ Select whether you want to remove a global assignment or an assignment that is just valid in the current document by selecting the option in the Save In listbox.
+
+
+ Select the event that contains the assignment to be removed from the Event list.
+
+
+ Click Remove.
+
+
+ Click OK to close the dialog.
+
+
+
+
\ No newline at end of file
diff --git a/helpcontent2/source/text/scalc/01/02140000.xhp b/helpcontent2/source/text/scalc/01/02140000.xhp
index 099e15ed31..3cec3cfc64 100644
--- a/helpcontent2/source/text/scalc/01/02140000.xhp
+++ b/helpcontent2/source/text/scalc/01/02140000.xhp
@@ -62,8 +62,8 @@
Series
- Filling cells using context menus:
-
+Filling cells using context menus:
+
Call the context menu when positioned in a cell and choose Selection List.
diff --git a/helpcontent2/source/text/scalc/01/04050000.xhp b/helpcontent2/source/text/scalc/01/04050000.xhp
index 9dfb952df9..78ad2f2957 100644
--- a/helpcontent2/source/text/scalc/01/04050000.xhp
+++ b/helpcontent2/source/text/scalc/01/04050000.xhp
@@ -42,7 +42,6 @@
sheets;creating
-sheets;inserting
diff --git a/helpcontent2/source/text/scalc/01/04060101.xhp b/helpcontent2/source/text/scalc/01/04060101.xhp
index acbe5c86d1..30bbd09e1c 100755
--- a/helpcontent2/source/text/scalc/01/04060101.xhp
+++ b/helpcontent2/source/text/scalc/01/04060101.xhp
@@ -79,28 +79,28 @@
- Name
-
+Name
+
- Grade
-
+Grade
+
- Age
-
+Age
+
- Distance to School
-
+Distance to School
+
- Weight
-
+Weight
+
@@ -109,28 +109,28 @@
- Andy
-
+Andy
+
- 3
-
+3
+
- 9
-
+9
+
- 150
-
+150
+
- 40
-
+40
+
@@ -139,28 +139,28 @@
- Betty
-
+Betty
+
- 4
-
+4
+
- 10
-
+10
+
- 1000
-
+1000
+
- 42
-
+42
+
@@ -169,28 +169,28 @@
- Charles
-
+Charles
+
- 3
-
+3
+
- 10
-
+10
+
- 300
-
+300
+
- 51
-
+51
+
@@ -199,28 +199,28 @@
- Daniel
-
+Daniel
+
- 5
-
+5
+
- 11
-
+11
+
- 1200
-
+1200
+
- 48
-
+48
+
@@ -229,28 +229,28 @@
- Eva
-
+Eva
+
- 2
-
+2
+
- 8
-
+8
+
- 650
-
+650
+
- 33
-
+33
+
@@ -259,31 +259,31 @@
- F
- rank
-
+F
+rank
+
- 2
-
+2
+
- 7
-
+7
+
- 3
- 00
-
+3
+00
+
- 4
- 2
-
+4
+2
+
@@ -292,28 +292,28 @@
- Greta
-
+Greta
+
- 1
-
+1
+
- 7
-
+7
+
- 200
-
+200
+
- 36
-
+36
+
@@ -322,28 +322,28 @@
- Harry
-
+Harry
+
- 3
-
+3
+
- 9
-
+9
+
- 1200
-
+1200
+
- 44
-
+44
+
@@ -352,28 +352,28 @@
- Irene
-
+Irene
+
- 2
-
+2
+
- 8
-
+8
+
- 1000
-
+1000
+
- 42
-
+42
+
@@ -412,28 +412,28 @@
- Name
-
+Name
+
- Grade
-
+Grade
+
- Age
-
+Age
+
- Distance to School
-
+Distance to School
+
- Weight
-
+Weight
+
@@ -448,8 +448,8 @@
- >600
-
+>600
+
@@ -475,13 +475,13 @@
- DCOUNT
-
+DCOUNT
+
- 5
-
+5
+
@@ -497,12 +497,12 @@
oldref="192">Database Function Parameters:
The following items are the parameter definitions for all database functions:
- Database is the cell range defining the database.
+Database is the cell range defining the database.
- DatabaseField specifies the column where the function operates on after the search criteria of the first parameter is applied and the data rows are selected. It is not related to the search criteria itself. Use the number 0 to specify the whole data range. To reference a column by means of the column header name, place quotation marks around the header name.
+DatabaseField specifies the column where the function operates on after the search criteria of the first parameter is applied and the data rows are selected. It is not related to the search criteria itself. Use the number 0 to specify the whole data range. To reference a column by means of the column header name, place quotation marks around the header name.
- SearchCriteria is the cell range containing search criteria. If you write several criteria in one row they are connected by AND. If you write the criteria in different rows they are connected by OR. Empty cells in the search criteria range will be ignored.
+SearchCriteria is the cell range containing search criteria. If you write several criteria in one row they are connected by AND. If you write the criteria in different rows they are connected by OR. Empty cells in the search criteria range will be ignored.
Choose Tools - Options - %PRODUCTNAME Calc - Calculate to define how $[officename] Calc acts when searching for identical entries.See also the Wiki page about Conditional Counting and Summation.
@@ -519,12 +519,12 @@
oldref="90">Syntax
DCOUNT(Database; DatabaseField; SearchCriteria)For the DatabaseField parameter you can enter a cell to specify the column, or enter the number 0 for the entire database. The parameter cannot be empty.
-
+
ExampleIn the example above (scroll up, please), we want to know how many children have to travel more than 600 meters to school. The result is to be stored in cell B16. Set the cursor in cell B16. Enter the formula =DCOUNT(A1:E10;0;A13:E14) in B16. The Function Wizard helps you to input ranges.
- Database is the range of data to be evaluated, including its headers: in this case A1:E10. DatabaseField specifies the column for the search criteria: in this case, the whole database. SearchCriteria is the range where you can enter the search parameters: in this case, A13:E14.
+Database is the range of data to be evaluated, including its headers: in this case A1:E10. DatabaseField specifies the column for the search criteria: in this case, the whole database. SearchCriteria is the range where you can enter the search parameters: in this case, A13:E14.
To learn how many children in second grade are over 7 years of age, delete the entry >600 in cell D14 and enter 2 in cell B14 under Grade, and enter >7 in cell C14 to the right. The result is 2. Two children are in second grade and over 7 years of age. As both criteria are in the same row, they are connected by AND.
@@ -563,13 +563,13 @@
oldref="108">Example
In the above example (scroll up, please), we want to determine what grade a child is in, whose name was entered in cell A14. The formula is entered in cell B16 and differs slightly from the earlier examples because only one column (one database field) can be entered for DatabaseField. Enter the following formula:
- =DGET(A1:E10;"Grade";A13:E14)
-
+=DGET(A1:E10;"Grade";A13:E14)
+
Enter the name Frank in A14, and you see the result 2. Frank is in second grade. Enter "Age" instead of "Grade" and you will get Frank's age.Or enter the value 11 in cell C14 only, and delete the other entries in this row. Edit the formula in B16 as follows:
- =DGET(A1:E10;"Name";A13:E14)
-
+=DGET(A1:E10;"Name";A13:E14)
+
Instead of the grade, the name is queried. The answer appears at once: Daniel is the only child aged 11.
@@ -590,8 +590,8 @@
oldref="119">Example
To find out how much the heaviest child in each grade weighed in the above example (scroll up, please), enter the following formula in B16:
- =DMAX(A1:E10;"Weight";A13:E14)
-
+=DMAX(A1:E10;"Weight";A13:E14)
+
Under Grade, enter 1, 2, 3, and so on, one after the other. After entering a grade number, the weight of the heaviest child in that grade appears.
@@ -612,8 +612,8 @@
oldref="127">Example
To find the shortest distance to school for the children in each grade in the above example (scroll up, please), enter the following formula in B16:
- =DMIN(A1:E10;"Distance to School";A13:E14)
-
+=DMIN(A1:E10;"Distance to School";A13:E14)
+
In row 14, under Grade, enter 1, 2, 3, and so on, one after the other. The shortest distance to school for each grade appears.
@@ -634,8 +634,8 @@
oldref="135">Example
To find the average weight of all children of the same age in the above example (scroll up, please), enter the following formula in B16:
- =DAVERAGE(A1:E10;"Weight";A13:E14)
-
+=DAVERAGE(A1:E10;"Weight";A13:E14)
+
In row 14, under Age, enter 7, 8, 9, and so on, one after the other. The average weight of all children of the same age appears.
@@ -672,8 +672,8 @@
oldref="149">Example
To find the standard deviation of the weight for all children of the same age in the example (scroll up, please), enter the following formula in B16:
- =DSTDEV(A1:E10;"Weight";A13:E14)
-
+=DSTDEV(A1:E10;"Weight";A13:E14)
+
In row 14, under Age, enter 7, 8, 9, and so on, one after the other. The result shown is the standard deviation of the weight of all children of this age.
@@ -693,8 +693,8 @@
oldref="157">Example
To find the standard deviation of the weight for all children of the same age at Joe's birthday party (scroll up, please), enter the following formula in B16:
- =DSTDEVP(A1:E10;"Weight";A13:E14)
-
+=DSTDEVP(A1:E10;"Weight";A13:E14)
+
In row 14, under Age, enter 7, 8, 9, and so on, one after the other. The result is the standard deviation of the weight for all same-aged children whose weight was checked.
@@ -715,8 +715,8 @@
oldref="165">Example
To find the length of the combined distance to school of all children at Joe's birthday party (scroll up, please) who are in second grade, enter the following formula in B16:
- =DSUM(A1:E10;"Distance to School";A13:E14)
-
+=DSUM(A1:E10;"Distance to School";A13:E14)
+
Enter 2 in row 14 under Grade. The sum (1950) of the distances to school of all the children who are in second grade is displayed.
@@ -736,8 +736,8 @@
oldref="174">Example
To find the variance of the weight of all children of the same age of the above example (scroll up, please), enter the following formula in B16:
- =DVAR(A1:E10;"Weight";A13:E14)
-
+=DVAR(A1:E10;"Weight";A13:E14)
+
In row 14, under Age, enter 7, 8, 9, and so on, one after the other. You will see as a result the variance of the weight values for all children of this age.
@@ -757,8 +757,8 @@
oldref="182">Example
To find the variance of the weight for all children of the same age at Joe's birthday party (scroll up, please), enter the following formula in B16:
- =DVARP(A1:E10;"Weight";A13:E14)
-
+=DVARP(A1:E10;"Weight";A13:E14)
+
In row 14, under Age, enter 7, 8, 9, and so on, one after the other. The variance of the weight values for all children of this age attending Joe's birthday party appears.
diff --git a/helpcontent2/source/text/scalc/01/04060103.xhp b/helpcontent2/source/text/scalc/01/04060103.xhp
index dcf75321b0..dd0f670eec 100644
--- a/helpcontent2/source/text/scalc/01/04060103.xhp
+++ b/helpcontent2/source/text/scalc/01/04060103.xhp
@@ -62,17 +62,17 @@
oldref="361">Syntax
AMORDEGRC(Cost; DatePurchased; FirstPeriod; Salvage; Period; Rate; Basis)
- Cost is the acquisition costs.
+Cost is the acquisition costs.
- DatePurchased is the date of acquisition.
+DatePurchased is the date of acquisition.
- FirstPeriod is the end date of the first settlement period.
+FirstPeriod is the end date of the first settlement period.
- Salvage is the salvage value of the capital asset at the end of the depreciable life.
+Salvage is the salvage value of the capital asset at the end of the depreciable life.
- Period is the settlement period to be considered.
+Period is the settlement period to be considered.
- Rate is the rate of depreciation.
+Rate is the rate of depreciation.
@@ -87,17 +87,17 @@
oldref="371">Syntax
AMORLINC(Cost; DatePurchased; FirstPeriod; Salvage; Period; Rate; Basis)
- Cost means the acquisition costs.
+Cost means the acquisition costs.
- DatePurchased is the date of acquisition.
+DatePurchased is the date of acquisition.
- FirstPeriod is the end date of the first settlement period.
+FirstPeriod is the end date of the first settlement period.
- Salvage is the salvage value of the capital asset at the end of the depreciable life.
+Salvage is the salvage value of the capital asset at the end of the depreciable life.
- Period is the settlement period to be considered.
+Period is the settlement period to be considered.
- Rate is the rate of depreciation.
+Rate is the rate of depreciation.
@@ -113,17 +113,17 @@
oldref="337">Syntax
ACCRINT(Issue; FirstInterest; Settlement; Rate; Par; Frequency; Basis)
- Issue is the issue date of the security.
+Issue is the issue date of the security.
- FirstInterest is the first interest date of the security.
+FirstInterest is the first interest date of the security.
- Settlement is the date at which the interest accrued up until then is to be calculated.
+Settlement is the date at which the interest accrued up until then is to be calculated.
- Rate is the annual nominal rate of interest (coupon interest rate)
+Rate is the annual nominal rate of interest (coupon interest rate)
- Par is the par value of the security.
+Par is the par value of the security.
- Frequency is the number of interest payments per year (1, 2 or 4).
+Frequency is the number of interest payments per year (1, 2 or 4).
Example
@@ -143,13 +143,13 @@
oldref="350">Syntax
ACCRINTM(Issue; Settlement; Rate; Par; Basis)
- Issue is the issue date of the security.
+Issue is the issue date of the security.
- Settlement is the date at which the interest accrued up until then is to be calculated.
+Settlement is the date at which the interest accrued up until then is to be calculated.
- Rate is the annual nominal rate of interest (coupon interest rate).
+Rate is the annual nominal rate of interest (coupon interest rate).
- Par is the par value of the security.
+Par is the par value of the security.
Example
@@ -169,13 +169,13 @@
oldref="392">Syntax
RECEIVED("Settlement"; "Maturity"; Investment; Discount; Basis)
- Settlement is the date of purchase of the security.
+Settlement is the date of purchase of the security.
- Maturity is the date on which the security matures (expires).
+Maturity is the date on which the security matures (expires).
- Investment is the purchase sum.
+Investment is the purchase sum.
- Discount is the percentage discount on acquisition of the security.
+Discount is the percentage discount on acquisition of the security.
Example
@@ -197,23 +197,23 @@
SyntaxPV(Rate; NPer; Pmt; FV; Type)
- Rate defines the interest rate per period.
+Rate defines the interest rate per period.
- NPer is the total number of periods (payment period).
+NPer is the total number of periods (payment period).
- Pmt is the regular payment made per period.
+Pmt is the regular payment made per period.
- FV (optional) defines the future value remaining after the final installment has been made.
+FV (optional) defines the future value remaining after the final installment has been made.
- Type (optional) denotes due date for payments. Type = 1 means due at the beginning of a period and Type = 0 (default) means due at the end of the period.
+Type (optional) denotes due date for payments. Type = 1 means due at the beginning of a period and Type = 0 (default) means due at the end of the period.
-
-
+
+
ExampleWhat is the present value of an investment, if 500 currency units are paid out monthly and the annual interest rate is 8%? The payment period is 48 months and 20,000 currency units are to remain at the end of the payment period.
- =PV(8%/12;48;500;20000) = -35,019.37 currency units. Under the named conditions, you must deposit 35,019.37 currency units today, if you want to receive 500 currency units per month for 48 months and have 20,000 currency units left over at the end. Cross-checking shows that 48 x 500 currency units + 20,000 currency units = 44,000 currency units. The difference between this amount and the 35,000 currency units deposited represents the interest paid.
+=PV(8%/12;48;500;20000) = -35,019.37 currency units. Under the named conditions, you must deposit 35,019.37 currency units today, if you want to receive 500 currency units per month for 48 months and have 20,000 currency units left over at the end. Cross-checking shows that 48 x 500 currency units + 20,000 currency units = 44,000 currency units. The difference between this amount and the 35,000 currency units deposited represents the interest paid.
If you enter references instead of these values into the formula, you can calculate any number of "If-then" scenarios. Please note: references to constants must be defined as absolute references. Examples of this type of application are found under the depreciation functions.
@@ -231,18 +231,18 @@
oldref="22">Syntax
SYD(Cost; Salvage; Life; Period)
- Cost is the initial cost of an asset.
+Cost is the initial cost of an asset.
- Salvage is the value of an asset after depreciation.
+Salvage is the value of an asset after depreciation.
- Life is the period fixing the time span over which an asset is depreciated.
+Life is the period fixing the time span over which an asset is depreciated.
- Period defines the period for which the depreciation is to be calculated.
+Period defines the period for which the depreciation is to be calculated.
ExampleA video system initially costing 50,000 currency units is to be depreciated annually for the next 5 years. The salvage value is to be 10,000 currency units. You want to calculate depreciation for the first year.
- =SYD(50000;10000;5;1)=13,333.33 currency units. The depreciation amount for the first year is 13,333.33 currency units.
+=SYD(50000;10000;5;1)=13,333.33 currency units. The depreciation amount for the first year is 13,333.33 currency units.
To have an overview of depreciation rates per period, it is best to define a depreciation table. By entering the different depreciation formulas available in %PRODUCTNAME Calc next to each other, you can see which depreciation form is the most appropriate. Enter the table as follows:
@@ -250,28 +250,28 @@
- A
-
+A
+
- B
-
+B
+
- C
-
+C
+
- D
-
+D
+
- E
-
+E
+
@@ -280,28 +280,28 @@
- Initial Cost
-
+Initial Cost
+
- Salvage Value
-
+Salvage Value
+
- Useful Life
-
+Useful Life
+
- Time Period
-
+Time Period
+
- Deprec. SYD
-
+Deprec. SYD
+
@@ -310,28 +310,28 @@
- 50,000 currency units
-
+50,000 currency units
+
- 10,000 currency units
-
+10,000 currency units
+
- 5
-
+5
+
- 1
-
+1
+
- 13,333.33 currency units
-
+13,333.33 currency units
+
@@ -346,8 +346,8 @@
- 2
-
+2
+
@@ -367,13 +367,13 @@
- 3
-
+3
+
- 8,000.00 currency units
-
+8,000.00 currency units
+
@@ -388,13 +388,13 @@
- 4
-
+4
+
- 5,333.33 currency units
-
+5,333.33 currency units
+
@@ -409,13 +409,13 @@
- 5
-
+5
+
- 2,666.67 currency units
-
+2,666.67 currency units
+
@@ -430,13 +430,13 @@
- 6
-
+6
+
- 0.00 currency units
-
+0.00 currency units
+
@@ -451,8 +451,8 @@
- 7
-
+7
+
@@ -469,8 +469,8 @@
- 8
-
+8
+
@@ -487,8 +487,8 @@
- 9
-
+9
+
@@ -505,8 +505,8 @@
- 10
-
+10
+
@@ -532,8 +532,8 @@
- >0
-
+>0
+
@@ -541,26 +541,26 @@
- Total
-
+Total
+
- 40,000.00 currency units
-
+40,000.00 currency units
+
The formula in E2 is as follows:
- =SYD($A$2;$B$2;$C$2;D2)
-
+=SYD($A$2;$B$2;$C$2;D2)
+
This formula is duplicated in column E down to E11 (select E2, then drag down the lower right corner with the mouse).Cell E13 contains the formula used to check the total of the depreciation amounts. It uses the SUMIF function as the negative values in E8:E11 must not be considered. The condition >0 is contained in cell A13. The formula in E13 is as follows:
- =SUMIF(E2:E11;A13)
-
+=SUMIF(E2:E11;A13)
+
Now view the depreciation for a 10 year period, or at a salvage value of 1 currency unit, or enter a different initial cost, and so on.
@@ -576,13 +576,13 @@
oldref="381">Syntax
DISC("Settlement"; "Maturity"; Price; Redemption; Basis)
- Settlement is the date of purchase of the security.
+Settlement is the date of purchase of the security.
- Maturity is the date on which the security matures (expires).
+Maturity is the date on which the security matures (expires).
- Price is the price of the security per 100 currency units of par value.
+Price is the price of the security per 100 currency units of par value.
- Redemption is the redemption value of the security per 100 currency units of par value.
+Redemption is the redemption value of the security per 100 currency units of par value.
Example
@@ -604,15 +604,15 @@
oldref="404">Syntax
DURATION_ADD("Settlement"; "Maturity"; Coupon; Yield; Frequency; Basis)
- Settlement is the date of purchase of the security.
+Settlement is the date of purchase of the security.
- Maturity is the date on which the security matures (expires).
+Maturity is the date on which the security matures (expires).
- Coupon is the annual coupon interest rate (nominal rate of interest)
+Coupon is the annual coupon interest rate (nominal rate of interest)
- Yield is the annual yield of the security.
+Yield is the annual yield of the security.
- Frequency is the number of interest payments per year (1, 2 or 4).
+Frequency is the number of interest payments per year (1, 2 or 4).
Example
@@ -636,14 +636,14 @@
oldref="91">Syntax
EFFECTIVE(Nom; P)
- Nom is the nominal interest.
+Nom is the nominal interest.
- P is the number of interest payment periods per year.
+P is the number of interest payment periods per year.
ExampleIf the annual nominal interest rate is 9.75% and four interest calculation periods are defined, what is the actual interest rate (effective rate)?
- =EFFECTIVE(9.75%;4) = 10.11% The annual effective rate is therefore 10.11%.
+=EFFECTIVE(9.75%;4) = 10.11% The annual effective rate is therefore 10.11%.
effective interest rates
@@ -658,9 +658,9 @@
oldref="416">Syntax
EFFECT_ADD(NominalRate; NPerY)
- NominalRate is the annual nominal rate of interest.
+NominalRate is the annual nominal rate of interest.
- NPerY is the number of interest payments per year.
+NPerY is the number of interest payments per year.
ExampleWhat is the effective annual rate of interest for a 5.25% nominal rate and quarterly payment.
@@ -682,15 +682,15 @@
oldref="102">Syntax
DDB(Cost; Salvage; Life; Period; Factor)
- Cost fixes the initial cost of an asset.
+Cost fixes the initial cost of an asset.
- Salvage fixes the value of an asset at the end of its life.
+Salvage fixes the value of an asset at the end of its life.
Life is the number of periods (for example, years or months) defining how long the asset is to be used.Period states the period for which the value is to be calculated.
- Factor (optional) is the factor by which depreciation decreases. If a value is not entered, the default is factor 2.
+Factor (optional) is the factor by which depreciation decreases. If a value is not entered, the default is factor 2.
ExampleA computer system with an initial cost of 75,000 currency units is to be depreciated monthly over 5 years. The value at the end of the depreciation is to be 1 currency unit. The factor is 2.
@@ -712,20 +712,20 @@
oldref="116">Syntax
DB(Cost; Salvage; Life; Period; Month)
- Cost is the initial cost of an asset.
+Cost is the initial cost of an asset.
- Salvage is the value of an asset at the end of the depreciation.
+Salvage is the value of an asset at the end of the depreciation.
- Life defines the period over which an asset is depreciated.
+Life defines the period over which an asset is depreciated.
- Period is the length of each period. The length must be entered in the same date unit as the depreciation period.
+Period is the length of each period. The length must be entered in the same date unit as the depreciation period.
- Month (optional) denotes the number of months for the first year of depreciation. If an entry is not defined, 12 is used as the default.
+Month (optional) denotes the number of months for the first year of depreciation. If an entry is not defined, 12 is used as the default.
ExampleA computer system with an initial cost of 25,000 currency units is to be depreciated over a three year period. The salvage value is to be 1,000 currency units. One period is 30 days.
- =DB(25000;1000;36;1;6) = 1,075.00 currency units
+=DB(25000;1000;36;1;6) = 1,075.00 currency units
The fixed-declining depreciation of the computer system is 1,075.00 currency units.
@@ -741,9 +741,9 @@
oldref="130">Syntax
IRR(Values; Guess)
- Values represents an array containing the values.
+Values represents an array containing the values.
- Guess (optional) is the estimated value. An iterative method is used to calculate the internal rate of return. If you can provide only few values, you should provide an initial guess to enable the iteration.
+Guess (optional) is the estimated value. An iterative method is used to calculate the internal rate of return. If you can provide only few values, you should provide an initial guess to enable the iteration.
ExampleUnder the assumption that cell contents are A1=-10000, A2=3500, A3=7600 and A4=1000, the formula =IRR(A1:A4) gives a result of 80.24%.
@@ -761,18 +761,18 @@
oldref="316">Syntax
ISPMT(Rate; Period; TotalPeriods; Invest)
- Rate sets the periodic interest rate.
+Rate sets the periodic interest rate.
- Period is the number of installments for calculation of interest.
+Period is the number of installments for calculation of interest.
- TotalPeriods is the total number of installment periods.
+TotalPeriods is the total number of installment periods.
- Invest is the amount of the investment.
+Invest is the amount of the investment.
ExampleFor a credit amount of 120,000 currency units with a two-year term and monthly installments, at a yearly interest rate of 12% the level of interest after 1.5 years is required.
- =ISPMT(1%;18;24;120000) = -300 currency units. The monthly interest after 1.5 years amounts to 300 currency units.
+=ISPMT(1%;18;24;120000) = -300 currency units. The monthly interest after 1.5 years amounts to 300 currency units.
Financial Functions Part Two
diff --git a/helpcontent2/source/text/scalc/01/04060106.xhp b/helpcontent2/source/text/scalc/01/04060106.xhp
index 52357b0a82..0774564c79 100644
--- a/helpcontent2/source/text/scalc/01/04060106.xhp
+++ b/helpcontent2/source/text/scalc/01/04060106.xhp
@@ -3,1458 +3,1425 @@
-
+*
+* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+*
+* Copyright 2008 by Sun Microsystems, Inc.
+*
+* OpenOffice.org - a multi-platform office productivity suite
+*
+* $RCSfile: soffice2xmlhelp.xsl,v $
+* $Revision: 1.12 $
+*
+* This file is part of OpenOffice.org.
+*
+* OpenOffice.org is free software: you can redistribute it and/or modify
+* it under the terms of the GNU Lesser General Public License version 3
+* only, as published by the Free Software Foundation.
+*
+* OpenOffice.org is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+* GNU Lesser General Public License version 3 for more details
+* (a copy is included in the LICENSE file that accompanied this code).
+*
+* You should have received a copy of the GNU Lesser General Public License
+* version 3 along with OpenOffice.org. If not, see
+*
+* for a copy of the LGPLv3 License.
+*
+************************************************************************
+-->
-
- Mathematical Functions
- /text/scalc/01/04060106.xhp
-
-
-
+
+Mathematical Functions
+/text/scalc/01/04060106.xhp
+
+
+
mathematical functions
- Function Wizard; mathematical
- functions; mathematical functions
- trigonometric functions
-mw added "trigonometric..."
+Function Wizard; mathematical
+functions; mathematical functions
+trigonometric functions
+
Mathematical Functions
- This category contains the Mathematical functions for Calc.
+This category contains the Mathematical functions for Calc.
To open the Function Wizard, choose Insert - Function.ABS function
- absolute values
- values;absolute
+absolute values
+values;absolutemw added two entriesABS
- Returns the absolute value of a number.
- Syntax
- ABS(Number)
-
- Number is the number whose absolute value is to be calculated. The absolute value of a number is its value without the +/- sign.
- Example
-
- =ABS(-56) returns 56.
-
- =ABS(12) returns 12.
-
- =ABS(0) returns 0.see also SIGN
-
-
+oldref="33">ABS
+Returns the absolute value of a number.
+Syntax
+ABS(Number)
+Number is the number whose absolute value is to be calculated. The absolute value of a number is its value without the +/- sign.
+Example
+
+=ABS(-56) returns 56.
+
+=ABS(12) returns 12.
+
+=ABS(0) returns 0.see also SIGN
+
+COUNTBLANK function
- counting;empty cells
- empty cells;counting
+counting;empty cells
+empty cells;countingmw added two entriesCOUNTBLANK
- Returns the number of empty cells.
- Syntax
- COUNTBLANK(Range)
- Returns the number of empty cells in the cell range Range.
- Example
-
- =COUNTBLANK(A1:B2) returns 4 if cells A1, A2, B1, and B2 are all empty.see also COUNTIF
-
-
+oldref="42">COUNTBLANK
+Returns the number of empty cells.
+Syntax
+COUNTBLANK(Range)
+ Returns the number of empty cells in the cell range Range.
+Example
+
+=COUNTBLANK(A1:B2) returns 4 if cells A1, A2, B1, and B2 are all empty.see also COUNTIF
+
+ACOS functionACOS
- Returns the inverse trigonometric cosine of a number.
- Syntax
- ACOS(Number)
- This function returns the inverse trigonometric cosine of Number, that is the angle (in radians) whose cosine is Number. The angle returned is between 0 and PI.
- To return the angle in degrees, use the DEGREES function.
- Example
-
- =ACOS(-1) returns 3.14159265358979 (PI radians)
-
- =DEGREES(ACOS(0.5)) returns 60. The cosine of 60 degrees is 0.5.see also COS, SIN, TAN, COT,
-ASIN, ATAN, ATAN2, ACOT
-
-
+oldref="50">ACOS
+Returns the inverse trigonometric cosine of a number.
+Syntax
+ACOS(Number)
+ This function returns the inverse trigonometric cosine of Number, that is the angle (in radians) whose cosine is Number. The angle returned is between 0 and PI.
+To return the angle in degrees, use the DEGREES function.
+Example
+
+=ACOS(-1) returns 3.14159265358979 (PI radians)
+
+=DEGREES(ACOS(0.5)) returns 60. The cosine of 60 degrees is 0.5.see also COS, SIN, TAN, COT, ASIN, ATAN, ATAN2, ACOT
+
+ACOSH functionACOSH
- Returns the inverse hyperbolic cosine of a number.
- Syntax
- ACOSH(Number)
- This function returns the inverse hyperbolic cosine of Number, that is the number whose hyperbolic cosine is Number.
- Number must be greater than or equal to 1.
- Example
-
- =ACOSH(1) returns 0.
-
- =ACOSH(COSH(4)) returns 4.see also ASINH, ATANH, ACOTH,
-COSH, SINH, TANH, COTH
+oldref="60">ACOSH
+Returns the inverse hyperbolic cosine of a number.
+Syntax
+ACOSH(Number)
+ This function returns the inverse hyperbolic cosine of Number, that is the number whose hyperbolic cosine is Number.
+ Number must be greater than or equal to 1.
+Example
+
+=ACOSH(1) returns 0.
+
+=ACOSH(COSH(4)) returns 4.see also ASINH, ATANH, ACOTH, COSH, SINH, TANH, COTH
-
+ACOT functionACOT
- Returns the inverse cotangent (the arccotangent) of the given number.
- Syntax
- ACOT(Number)
- This function returns the inverse trigonometric cotangent of Number, that is the angle (in radians) whose cotangent is Number. The angle returned is between 0 and PI.
- To return the angle in degrees, use the DEGREES function.
- Example
-
- =ACOT(1) returns 0.785398163397448 (PI/4 radians).
-
- =DEGREES(ACOT(1)) returns 45. The tangent of 45 degrees is 1. see also COS, SIN, TAN, COT,
-ACOS, ASIN, ATAN, ATAN2
-
-
+oldref="70">ACOT
+Returns the inverse cotangent (the arccotangent) of the given number.
+Syntax
+ACOT(Number)
+ This function returns the inverse trigonometric cotangent of Number, that is the angle (in radians) whose cotangent is Number. The angle returned is between 0 and PI.
+To return the angle in degrees, use the DEGREES function.
+Example
+
+=ACOT(1) returns 0.785398163397448 (PI/4 radians).
+
+=DEGREES(ACOT(1)) returns 45. The tangent of 45 degrees is 1. see also COS, SIN, TAN, COT, ACOS, ASIN, ATAN, ATAN2
+
+ACOTH functionACOTH
- Returns the inverse hyperbolic cotangent of the given number.
- Syntax
- ACOTH(Number)
- This function returns the inverse hyperbolic cotangent of Number, that is the number whose hyperbolic cotangent is Number.
- An error results if Number is between -1 and 1 inclusive.
- Example
-
- =ACOTH(1.1) returns inverse hyperbolic cotangent of 1.1, approximately 1.52226.see also ACOSH, ASINH, ATANH,
-COSH, SINH, TANH, COTH
+oldref="80">ACOTH
+Returns the inverse hyperbolic cotangent of the given number.
+Syntax
+ACOTH(Number)
+ This function returns the inverse hyperbolic cotangent of Number, that is the number whose hyperbolic cotangent is Number.
+An error results if Number is between -1 and 1 inclusive.
+Example
+
+=ACOTH(1.1) returns inverse hyperbolic cotangent of 1.1, approximately 1.52226.see also ACOSH, ASINH, ATANH, COSH, SINH, TANH, COTH
-
+ASIN functionASIN
- Returns the inverse trigonometric sine of a number.
- Syntax
- ASIN(Number)
- This function returns the inverse trigonometric sine of Number, that is the angle (in radians) whose sine is Number. The angle returned is between -PI/2 and +PI/2.
- To return the angle in degrees, use the DEGREES function.
- Example
-
- =ASIN(0) returns 0.
-
- =ASIN(1) returns 1.5707963267949 (PI/2 radians).
-
- =DEGREES(ASIN(0.5)) returns 30. The sine of 30 degrees is 0.5.see also COS, SIN, TAN, COT,
-ACOS, ATAN, ATAN2, ACOT
-
-
+oldref="90">ASIN
+Returns the inverse trigonometric sine of a number.
+Syntax
+ASIN(Number)
+ This function returns the inverse trigonometric sine of Number, that is the angle (in radians) whose sine is Number. The angle returned is between -PI/2 and +PI/2.
+To return the angle in degrees, use the DEGREES function.
+Example
+
+=ASIN(0) returns 0.
+
+=ASIN(1) returns 1.5707963267949 (PI/2 radians).
+
+=DEGREES(ASIN(0.5)) returns 30. The sine of 30 degrees is 0.5.see also COS, SIN, TAN, COT, ACOS, ATAN, ATAN2, ACOT
+
+ASINH functionASINH
- Returns the inverse hyperbolic sine of a number.
- Syntax
- ASINH(Number)
- This function returns the inverse hyperbolic sine of Number, that is the number whose hyperbolic sine is Number.
- Example
-
- =ASINH(-90) returns approximately -5.1929877.
-
- =ASINH(SINH(4)) returns 4.see also ACOSH, ATANH, ACOTH,
+oldref="100">ASINH
+Returns the inverse hyperbolic sine of a number.
+Syntax
+ASINH(Number)
+ This function returns the inverse hyperbolic sine of Number, that is the number whose hyperbolic sine is Number.
+Example
+
+=ASINH(-90) returns approximately -5.1929877.
+
+=ASINH(SINH(4)) returns 4.see also ACOSH, ATANH, ACOTH,
COSH, SINH, TANH, COTH
-
+ATAN functionATAN
- Returns the inverse trigonometric tangent of a number.
- Syntax
- ATAN(Number)
- This function returns the inverse trigonometric tangent of Number, that is the angle (in radians) whose tangent is Number. The angle returned is between -PI/2 and PI/2.
- To return the angle in degrees, use the DEGREES function.
- Example
-
- =ATAN(1) returns 0.785398163397448 (PI/4 radians).
-
- =DEGREES(ATAN(1)) returns 45. The tangent of 45 degrees is 1.see also COS, SIN, TAN, COT,
+oldref="110">ATAN
+Returns the inverse trigonometric tangent of a number.
+Syntax
+ATAN(Number)
+ This function returns the inverse trigonometric tangent of Number, that is the angle (in radians) whose tangent is Number. The angle returned is between -PI/2 and PI/2.
+To return the angle in degrees, use the DEGREES function.
+Example
+
+=ATAN(1) returns 0.785398163397448 (PI/4 radians).
+
+=DEGREES(ATAN(1)) returns 45. The tangent of 45 degrees is 1.see also COS, SIN, TAN, COT,
ACOS, ASIN, ATAN2, ACOT
-
+ATAN2 functionATAN2
- Returns the inverse trigonometric tangent of the specified x and y coordinates.
- Syntax
- ATAN2(NumberX; NumberY)
-
- NumberX is the value of the x coordinate.
-
- NumberY is the value of the y coordinate.
- 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.
- To return the angle in degrees, use the DEGREES function.
- Example
-
- =ATAN2(20;20) returns 0.785398163397448 (PI/4 radians).
-
- =DEGREES(ATAN2(12.3;12.3)) returns 45. The tangent of 45 degrees is 1.see also COS, SIN, TAN, COT,
+oldref="120">ATAN2
+Returns the inverse trigonometric tangent of the specified x and y coordinates.
+Syntax
+ATAN2(NumberX; NumberY)
+NumberX is the value of the x coordinate.
+NumberY is the value of the y coordinate.
+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.
+To return the angle in degrees, use the DEGREES function.
+Example
+
+=ATAN2(20;20) returns 0.785398163397448 (PI/4 radians).
+
+=DEGREES(ATAN2(12.3;12.3)) returns 45. The tangent of 45 degrees is 1.see also COS, SIN, TAN, COT,
ACOS, ASIN, ATAN, ACOT
-
+ATANH functionATANH
- Returns the inverse hyperbolic tangent of a number.
- Syntax
- ATANH(Number)
- This function returns the inverse hyperbolic tangent of Number, that is the number whose hyperbolic tangent is Number.
- Number must obey the condition -1 < number < 1.
- Example
-
- =ATANH(0) returns 0.see also ACOSH, ASINH, ACOTH,
+oldref="130">ATANH
+Returns the inverse hyperbolic tangent of a number.
+Syntax
+ATANH(Number)
+ This function returns the inverse hyperbolic tangent of Number, that is the number whose hyperbolic tangent is Number.
+ Number must obey the condition -1 < number < 1.
+Example
+
+=ATANH(0) returns 0.see also ACOSH, ASINH, ACOTH,
COSH, SINH, TANH, COTH
-
+COS functionCOS
- Returns the cosine of the given angle (in radians).
- Syntax
- COS(Number)
- Returns the (trigonometric) cosine of Number, the angle in radians.
- To return the cosine of an angle in degrees, use the RADIANS function.
- Examples
-
- =COS(PI()/2) returns 0, the cosine of PI/2 radians.
-
- =COS(RADIANS(60)) returns 0.5, the cosine of 60 degrees.see also SIN, TAN, COT,
+oldref="149">COS
+Returns the cosine of the given angle (in radians).
+Syntax
+COS(Number)
+ Returns the (trigonometric) cosine of Number, the angle in radians.
+To return the cosine of an angle in degrees, use the RADIANS function.
+Examples
+
+=COS(PI()/2) returns 0, the cosine of PI/2 radians.
+
+=COS(RADIANS(60)) returns 0.5, the cosine of 60 degrees.see also SIN, TAN, COT,
ACOS, ASIN, ATAN, ATAN2, ACOT
-
+COSH functionCOSH
- Returns the hyperbolic cosine of a number.
- Syntax
- COSH(Number)
- Returns the hyperbolic cosine of Number.
- Example
-
- =COSH(0) returns 1, the hyperbolic cosine of 0.see also SINH, TANH, COTH,
+oldref="159">COSH
+Returns the hyperbolic cosine of a number.
+Syntax
+COSH(Number)
+Returns the hyperbolic cosine of Number.
+Example
+
+=COSH(0) returns 1, the hyperbolic cosine of 0.see also SINH, TANH, COTH,
ACOSH, ASINH, ATANH, ACOTH,
-
+COT functionCOT
- Returns the cotangent of the given angle (in radians).
- Syntax
- COT(Number)
- Returns the (trigonometric) cotangent of Number, the angle in radians.
- To return the cotangent of an angle in degrees, use the RADIANS function.
- The cotangent of an angle is equivalent to 1 divided by the tangent of that angle.
- Examples:
-
- =COT(PI()/4) returns 1, the cotangent of PI/4 radians.
-
- =COT(RADIANS(45)) returns 1, the cotangent of 45 degrees.see also COS, SIN, TAN,
+oldref="169">COT
+Returns the cotangent of the given angle (in radians).
+Syntax
+COT(Number)
+ Returns the (trigonometric) cotangent of Number, the angle in radians.
+To return the cotangent of an angle in degrees, use the RADIANS function.
+The cotangent of an angle is equivalent to 1 divided by the tangent of that angle.
+Examples:
+
+=COT(PI()/4) returns 1, the cotangent of PI/4 radians.
+
+=COT(RADIANS(45)) returns 1, the cotangent of 45 degrees.see also COS, SIN, TAN,
ACOS, ASIN, ATAN, ATAN2, ACOT
-
+COTH functionCOTH
- Returns the hyperbolic cotangent of a given number (angle).
- Syntax
- COTH(Number)
- Returns the hyperbolic cotangent of Number.
- Example
-
- =COTH(1) returns the hyperbolic cotangent of 1, approximately 1.3130.see also COSH, SINH, TANH,
+oldref="178">COTH
+Returns the hyperbolic cotangent of a given number (angle).
+Syntax
+COTH(Number)
+ Returns the hyperbolic cotangent of Number.
+Example
+
+=COTH(1) returns the hyperbolic cotangent of 1, approximately 1.3130.see also COSH, SINH, TANH,
ACOSH, ASINH, ATANH, ACOTH,
-
+DEGREES function
- converting;radians, into degrees
+converting;radians, into degreesmw added one entryDEGREES
- Converts radians into degrees.
- Syntax
- DEGREES(Number)
-
- Number is the angle in radians to be converted to degrees.
- Example
-
- =DEGREES(PI()) returns 180 degrees.see also RADIANS
-
-
+oldref="188">DEGREES
+Converts radians into degrees.
+Syntax
+DEGREES(Number)
+Number is the angle in radians to be converted to degrees.
+Example
+
+=DEGREES(PI()) returns 180 degrees.see also RADIANS
+
+EXP functionEXP
- Returns e raised to the power of a number. The constant e has a value of approximately 2.71828182845904.
- Syntax
- EXP(Number)
-
- Number is the power to which e is to be raised.
- Example
-
- =EXP(1) returns 2.71828182845904, the mathematical constant e to Calc's accuracy.see also POWER, LN,
-
-
+oldref="198">EXP
+Returns e raised to the power of a number. The constant e has a value of approximately 2.71828182845904.
+Syntax
+EXP(Number)
+Number is the power to which e is to be raised.
+Example
+
+=EXP(1) returns 2.71828182845904, the mathematical constant e to Calc's accuracy.see also POWER, LN,
+
+FACT function
- factorials;numbers
+factorials;numbersmw added one entryFACT
- Returns the factorial of a number.
- Syntax
- FACT(Number)
- Returns Number!, the factorial of Number, calculated as 1*2*3*4* ... * Number.
- =FACT(0) returns 1 by definition.
- The factorial of a negative number returns the "invalid argument" error.
- Example
-
- =FACT(3) returns 6.
-
- =FACT(0) returns 1.see also FACTDOUBLE, MULTINOMIAL, PRODUCT
-
-
+oldref="208">FACT
+Returns the factorial of a number.
+Syntax
+FACT(Number)
+ Returns Number!, the factorial of Number, calculated as 1*2*3*4* ... * Number.
+=FACT(0) returns 1 by definition.
+The factorial of a negative number returns the "invalid argument" error.
+Example
+
+=FACT(3) returns 6.
+
+=FACT(0) returns 1.see also FACTDOUBLE, MULTINOMIAL, PRODUCT
+
+INT function
- numbers;rounding down to next integer
- rounding;down to next integer
+numbers;rounding down to next integer
+rounding;down to next integermw added two entriesINT
- Rounds a number down to the nearest integer.
- Syntax
- INT(Number)
- Returns Number rounded down to the nearest integer.
- Negative numbers round down to the integer below.
- Example
-
- =INT(5.7) returns 5.
-
- =INT(-1.3) returns -2.see also TRUNC, ROUND, ROUNDDOWN, ROUNDUP,
+oldref="218">INT
+Rounds a number down to the nearest integer.
+Syntax
+INT(Number)
+Returns Number rounded down to the nearest integer.
+Negative numbers round down to the integer below.
+Example
+
+=INT(5.7) returns 5.
+
+=INT(-1.3) returns -2.see also TRUNC, ROUND, ROUNDDOWN, ROUNDUP,
CEILING, FLOOR, EVEN, ODD, MROUND,
-
+EVEN function
- numbers;rounding up/down to even integers
- rounding;up/down to even integers
+numbers;rounding up/down to even integers
+rounding;up/down to even integersmw added two entriesEVEN
- Rounds a positive number up to the next even integer and a negative number down to the next even integer.
- Syntax
- EVEN(Number)
- Returns Number rounded to the next even integer up, away from zero.
- Examples
-
- =EVEN(2.3) returns 4.
-
- =EVEN(2) returns 2.
-
- =EVEN(0) returns 0.
-
- =EVEN(-0.5) returns -2.see also CEILING, FLOOR, ODD, MROUND,
+oldref="227">EVEN
+Rounds a positive number up to the next even integer and a negative number down to the next even integer.
+Syntax
+EVEN(Number)
+ Returns Number rounded to the next even integer up, away from zero.
+Examples
+
+=EVEN(2.3) returns 4.
+
+=EVEN(2) returns 2.
+
+=EVEN(0) returns 0.
+
+=EVEN(-0.5) returns -2.see also CEILING, FLOOR, ODD, MROUND,
INT, TRUNC, ROUND, ROUNDDOWN, ROUNDUP
-
+GCD function
- greatest common divisor
+greatest common divisormw added one entryGCD
- Returns the greatest common divisor of two or more integers.
- The greatest common divisor is the positive largest integer which will divide, without remainder, each of the given integers.
- Syntax
- GCD(Integer1; Integer2; ...; Integer30)
-
- Integer1 To 30 are up to 30 integers whose greatest common divisor is to be calculated.
- Example
-
- =GCD(16;32;24) gives the result 8, because 8 is the largest number that can divide 16, 24 and 32 without a remainder.
-
- =GCD(B1:B3) where cells B1, B2, B3 contain 9, 12, 9 gives 3.
-
-
+oldref="237">GCD
+Returns the greatest common divisor of two or more integers.
+The greatest common divisor is the positive largest integer which will divide, without remainder, each of the given integers.
+Syntax
+GCD(Integer1; Integer2; ...; Integer30)
+Integer1 To 30 are up to 30 integers whose greatest common divisor is to be calculated.
+Example
+
+=GCD(16;32;24) gives the result 8, because 8 is the largest number that can divide 16, 24 and 32 without a remainder.
+
+=GCD(B1:B3) where cells B1, B2, B3 contain 9, 12, 9 gives 3.
+
+GCD_ADD functionGCD_ADD
- The result is the greatest common divisor of a list of numbers.
-
- Syntax
- GCD_ADD(Number(s))
-
- Number(s) is a list of up to 30 numbers.
- Example
-
- =GCD_ADD(5;15;25) returns 5.
-
-
+oldref="677">GCD_ADD
+ The result is the greatest common divisor of a list of numbers.
+
+Syntax
+GCD_ADD(Number(s))
+Number(s) is a list of up to 30 numbers.
+Example
+
+=GCD_ADD(5;15;25) returns 5.
+
+ISEVEN function
- even integers
+even integersmw added one entryISEVENlink from Information cat
- Returns TRUE if the value is an even integer, or FALSE if the value is odd.
- Syntax
- ISEVEN(Value)
-
- Value is the value to be checked.
- If Value is not an integer any digits after the decimal point are ignored. The sign of Value is also ignored.
- Example
-
- =ISEVEN(48) returns TRUE
-
- =ISEVEN(33) returns FALSE
-
- =ISEVEN(0) returns TRUE
-
- =ISEVEN(-2.1) returns TRUE
-
- =ISEVEN(3.999) returns FALSEsee also ISODD
-
-
+oldref="245">ISEVENlink from Information cat
+Returns TRUE if the value is an even integer, or FALSE if the value is odd.
+Syntax
+ISEVEN(Value)
+Value is the value to be checked.
+If Value is not an integer any digits after the decimal point are ignored. The sign of Value is also ignored.
+Example
+
+=ISEVEN(48) returns TRUE
+
+=ISEVEN(33) returns FALSE
+
+=ISEVEN(0) returns TRUE
+
+=ISEVEN(-2.1) returns TRUE
+
+=ISEVEN(3.999) returns FALSEsee also ISODD
+
+ISODD function
- odd integers
+odd integersmw added one entryISODDlink from Information cat
- Returns TRUE if the value is odd, or FALSE if the number is even.
- Syntax
- ISODD(value)
-
- Value is the value to be checked.
- If Value is not an integer any digits after the decimal point are ignored. The sign of Value is also ignored.
- Example
-
- =ISODD(33) returns TRUE
-
- =ISODD(48) returns FALSE
-
- =ISODD(3.999) returns TRUE
-
- =ISODD(-3.1) returns TRUEsee also ISEVEN
-
-
+oldref="255">ISODDlink from Information cat
+Returns TRUE if the value is odd, or FALSE if the number is even.
+Syntax
+ISODD(value)
+Value is the value to be checked.
+If Value is not an integer any digits after the decimal point are ignored. The sign of Value is also ignored.
+Example
+
+=ISODD(33) returns TRUE
+
+=ISODD(48) returns FALSE
+
+=ISODD(3.999) returns TRUE
+
+=ISODD(-3.1) returns TRUEsee also ISEVEN
+
+LCM function
- least common multiples
- lowest common multiples
+least common multiples
+lowest common multiplesmw added two entriesLCM
- Returns the least common multiple of one or more integers.
- Syntax
- LCM(Integer1; Integer2; ...; Integer30)
-
- Integer1 to 30 are up to 30 integers whose lowest common multiple is to be calculated.
- Example
- If you enter the numbers 512;1024 and 2000 in the Integer 1;2 and 3 text boxes, 128000 will be returned as the result.
-
-
+oldref="265">LCM
+Returns the least common multiple of one or more integers.
+Syntax
+LCM(Integer1; Integer2; ...; Integer30)
+Integer1 to 30 are up to 30 integers whose lowest common multiple is to be calculated.
+Example
+If you enter the numbers 512;1024 and 2000 in the Integer 1;2 and 3 text boxes, 128000 will be returned as the result.
+
+LCM_ADD functionLCM_ADD
- The result is the lowest common multiple of a list of numbers.
-
- Syntax
- LCM_ADD(Number(s))
-
- Number(s) is a list of up to 30 numbers.
- Example
-
- =LCM_ADD(5;15;25) returns 75.
-
-
+oldref="684">LCM_ADD
+ The result is the lowest common multiple of a list of numbers.
+
+Syntax
+LCM_ADD(Number(s))
+Number(s) is a list of up to 30 numbers.
+Example
+
+=LCM_ADD(5;15;25) returns 75.
+
+COMBIN function
- number of combinations
+number of combinationsmw added one entryCOMBINshould be statistical-->add a link there
- Returns the number of combinations for elements without repetition.
- Syntax
- COMBIN(Count1; Count2)
-
- Count1 is the number of items in the set.
-
- Count2 is the number of items to choose from the set.
- 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.
- COMBIN implements the formula: Count1!/(Count2!*(Count1-Count2)!)
- Example
-
- =COMBIN(3;2) returns 3.see also COMBINA
-
-
+oldref="273">COMBINshould be statistical-->add a link there
+Returns the number of combinations for elements without repetition.
+Syntax
+COMBIN(Count1; Count2)
+Count1 is the number of items in the set.
+Count2 is the number of items to choose from the set.
+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.
+COMBIN implements the formula: Count1!/(Count2!*(Count1-Count2)!)
+Example
+
+=COMBIN(3;2) returns 3.see also COMBINA
+
+COMBINA function
- number of combinations with repetitions
+number of combinations with repetitionsmw added one entryCOMBINAshould be statistical-->add a link there
- Returns the number of combinations of a subset of items including repetitions.
- Syntax
- COMBINA(Count1; Count2)
-
- Count1 is the number of items in the set.
-
- Count2 is the number of items to choose from the set.
- 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 AB, BA, AC, CA, BC and CB.
- COMBINA implements the formula: (Count1+Count2-1)! / (Count2!(Count1-1)!)i88052
- Example
-
- =COMBINA(3;2) returns 6.see also COMBIN
-
-
+oldref="282">COMBINAshould be statistical-->add a link there
+Returns the number of combinations of a subset of items including repetitions.
+Syntax
+COMBINA(Count1; Count2)
+Count1 is the number of items in the set.
+Count2 is the number of items to choose from the set.
+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 AB, BA, AC, CA, BC and CB.
+COMBINA implements the formula: (Count1+Count2-1)! / (Count2!(Count1-1)!)i88052
+Example
+
+=COMBINA(3;2) returns 6.see also COMBIN
+
+TRUNC function
- decimal places;cutting off
+decimal places;cutting offmw added one entryTRUNC
- Truncates a number by removing decimal places.
- Syntax
- TRUNC(Number; Count)
- Returns Number with at most Count decimal places. Excess decimal places are simply removed, irrespective of sign.
-
- TRUNC(Number; 0) behaves as INT(Number) for positive numbers, but effectively rounds towards zero for negative numbers.
- The visible decimal places of the result are specified in Tools - Options - %PRODUCTNAME Calc - Calculate.
- Example
-
- =TRUNC(1.239;2) returns 1.23. The 9 is lost.
-
- =TRUNC(-1.234999;3) returns -1.234. All the 9s are lost.see also INT, ROUND, ROUNDDOWN, ROUNDUP,
+oldref="291">TRUNC
+Truncates a number by removing decimal places.
+Syntax
+TRUNC(Number; Count)
+Returns Number with at most Count decimal places. Excess decimal places are simply removed, irrespective of sign.
+
+TRUNC(Number; 0) behaves as INT(Number) for positive numbers, but effectively rounds towards zero for negative numbers.
+The visible decimal places of the result are specified in Tools - Options - %PRODUCTNAME Calc - Calculate.
+Example
+
+=TRUNC(1.239;2) returns 1.23. The 9 is lost.
+
+=TRUNC(-1.234999;3) returns -1.234. All the 9s are lost.see also INT, ROUND, ROUNDDOWN, ROUNDUP,
CEILING, FLOOR, EVEN, ODD, MROUND
-
+LN function
- natural logarithm
+natural logarithmmw added one entryLN
- Returns the natural logarithm based on the constant e of a number. The constant e has a value of approximately 2.71828182845904.
- Syntax
- LN(Number)
-
- Number is the value whose natural logarithm is to be calculated.
- Example
-
- =LN(3) returns the natural logarithm of 3 (approximately 1.0986).
-
- =LN(EXP(321)) returns 321.see also LOG, LOG10, EXP,
-
-
+oldref="301">LN
+Returns the natural logarithm based on the constant e of a number. The constant e has a value of approximately 2.71828182845904.
+Syntax
+LN(Number)
+Number is the value whose natural logarithm is to be calculated.
+Example
+
+=LN(3) returns the natural logarithm of 3 (approximately 1.0986).
+
+=LN(EXP(321)) returns 321.see also LOG, LOG10, EXP,
+
+LOG function
- logarithms
+logarithmsmw added one entryLOG
- Returns the logarithm of a number to the specified base.
- Syntax
- LOG(Number; Base)
-
- Number is the value whose logarithm is to be calculated.
-
- Base (optional) is the base for the logarithm calculation. If omitted, Base 10 is assumed.
- Example
-
- =LOG(10;3) returns the logarithm to base 3 of 10 (approximately 2.0959).
-
- =LOG(7^4;7) returns 4.see also LOG10, LN, POWER,
-
-
+oldref="311">LOG
+Returns the logarithm of a number to the specified base.
+Syntax
+LOG(Number; Base)
+Number is the value whose logarithm is to be calculated.
+Base (optional) is the base for the logarithm calculation. If omitted, Base 10 is assumed.
+Example
+
+=LOG(10;3) returns the logarithm to base 3 of 10 (approximately 2.0959).
+
+=LOG(7^4;7) returns 4.see also LOG10, LN, POWER,
+
+LOG10 function
- base-10 logarithm
+base-10 logarithmmw added one entryLOG10
- Returns the base-10 logarithm of a number.
- Syntax
- LOG10(Number)
- Returns the logarithm to base 10 of Number.
- Example
-
- =LOG10(5) returns the base-10 logarithm of 5 (approximately 0.69897).see also LOG, LN, POWER
-
-
+oldref="322">LOG10
+Returns the base-10 logarithm of a number.
+Syntax
+LOG10(Number)
+Returns the logarithm to base 10 of Number.
+Example
+
+=LOG10(5) returns the base-10 logarithm of 5 (approximately 0.69897).see also LOG, LN, POWER
+
+CEILING function
- rounding;up to multiples of significance
+rounding;up to multiples of significancemw added one entryCEILING
- Rounds a number up to the nearest multiple of Significance.
- Syntax
- CEILING(Number; Significance; Mode)
-
- Number is the number that is to be rounded up.
-
- Significance is the number to whose multiple the value is to be rounded up.
-
- Mode 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.
- 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.
- Example
-
- =CEILING(-11;-2) returns -10
-
- =CEILING(-11;-2;0) returns -10
-
- =CEILING(-11;-2;1) returns -12see also FLOOR, EVEN, ODD, MROUND,
+oldref="332">CEILING
+Rounds a number up to the nearest multiple of Significance.
+Syntax
+CEILING(Number; Significance; Mode)
+Number is the number that is to be rounded up.
+Significance is the number to whose multiple the value is to be rounded up.
+Mode 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.
+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.
+Example
+
+=CEILING(-11;-2) returns -10
+
+=CEILING(-11;-2;0) returns -10
+
+=CEILING(-11;-2;1) returns -12see also FLOOR, EVEN, ODD, MROUND,
INT, TRUNC, ROUND, ROUNDDOWN, ROUNDUP
-
+PI functionPI
- Returns 3.14159265358979, the value of the mathematical constant PI to 14 decimal places.
- Syntax
- PI()
- Example
-
- =PI() returns 3.14159265358979.
-
-
+oldref="343">PI
+Returns 3.14159265358979, the value of the mathematical constant PI to 14 decimal places.
+Syntax
+PI()
+Example
+
+=PI() returns 3.14159265358979.
+
+MULTINOMIAL functionMULTINOMIAL
- Returns the factorial of the sum of the arguments divided by the product of the factorials of the arguments.
- Syntax
- MULTINOMIAL(Number(s))
-
- Number(s) is a list of up to 30 numbers.
- Example
-
- =MULTINOMIAL(F11:H11) returns 1260, if F11 to H11 contain the values 2, 3 and 4. This corresponds to the formula =(2+3+4)! / (2!*3!*4!)
-
-
+oldref="635">MULTINOMIAL
+ Returns the factorial of the sum of the arguments divided by the product of the factorials of the arguments.
+Syntax
+MULTINOMIAL(Number(s))
+Number(s) is a list of up to 30 numbers.
+Example
+
+=MULTINOMIAL(F11:H11) returns 1260, if F11 to H11 contain the values 2, 3 and 4. This corresponds to the formula =(2+3+4)! / (2!*3!*4!)
+
+POWER functionPOWER
- Returns a number raised to a power.
- Syntax
- POWER(Base; Power)
- Returns Base raised to the power of Power.
- The same result may be achieved by using the exponentiation operator ^:
-
- Base^Power
-
- Example
-
- =POWER(4;3) returns 64, which is 4 to the power of 3.
- =4^3 also returns 4 to the power of 3.see also EXP, LOG, SQRT
-
-
+oldref="350">POWER
+Returns a number raised to a power.
+Syntax
+POWER(Base; Power)
+Returns Base raised to the power of Power.
+The same result may be achieved by using the exponentiation operator ^:
+
+Base^Power
+
+Example
+
+=POWER(4;3) returns 64, which is 4 to the power of 3.
+=4^3 also returns 4 to the power of 3.see also EXP, LOG, SQRT
+
+SERIESSUM functionSERIESSUM
- Sums the first terms of a power series.
- 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)
- Syntax
- SERIESSUM(X; N; M; Coefficients)
-
- X is the input value for the power series.
-
- N is the initial power
-
- M is the increment to increase N
-
- Coefficients is a series of coefficients. For each coefficient the series sum is extended by one section.
-
-
+oldref="642">SERIESSUM
+Sums the first terms of a power series.
+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)
+Syntax
+SERIESSUM(X; N; M; Coefficients)
+X is the input value for the power series.
+N is the initial power
+M is the increment to increase N
+Coefficients is a series of coefficients. For each coefficient the series sum is extended by one section.
+
+PRODUCT function
- numbers;multiplying
- multiplying;numbers
+numbers;multiplying
+multiplying;numbersmw added two entriesPRODUCT
- Multiplies all the numbers given as arguments and returns the product.
- Syntax
- PRODUCT(Number1; Number2; ...; Number30)
-
- Number1 to 30 are up to 30 arguments whose product is to be calculated.
- PRODUCT returns number1 * number2 * number3 * ...
- Example
-
- =PRODUCT(2;3;4) returns 24.see also FACT, SUM
-
-
+oldref="361">PRODUCT
+Multiplies all the numbers given as arguments and returns the product.
+Syntax
+PRODUCT(Number1; Number2; ...; Number30)
+Number1 to 30 are up to 30 arguments whose product is to be calculated.
+PRODUCT returns number1 * number2 * number3 * ...
+Example
+
+=PRODUCT(2;3;4) returns 24.see also FACT, SUM
+
+SUMSQ function
- square number additions
- sums;of square numbers
+square number additions
+sums;of square numbersmw added two entriesSUMSQ
- 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.
- Syntax
- SUMSQ(Number1; Number2; ...; Number30)
-
- Number1 to 30 are up to 30 arguments the sum of whose squares is to be calculated.
- Example
- If you enter the numbers 2; 3 and 4 in the Number 1; 2 and 3 text boxes, 29 is returned as the result.
-
-
+oldref="369">SUMSQ
+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.
+Syntax
+SUMSQ(Number1; Number2; ...; Number30)
+Number1 to 30 are up to 30 arguments the sum of whose squares is to be calculated.
+Example
+If you enter the numbers 2; 3 and 4 in the Number 1; 2 and 3 text boxes, 29 is returned as the result.
+
+MOD function
- remainders of divisions
+remainders of divisionsmw added one entryMOD
- Returns the remainder when one integer is divided by another.
- Syntax
- MOD(Dividend; Divisor)
- For integer arguments this function returns Dividend modulo Divisor, that is the remainder when Dividend is divided by Divisor.
- This function is implemented as Dividend - Divisor * INT(Dividend/Divisor) , and this formula gives the result if the arguments are not integer.
- Example
-
- =MOD(22;3) returns 1, the remainder when 22 is divided by 3.
-
- =MOD(11.25;2.5) returns 1.25.see also QUOTIENT, INT,
-
-
+oldref="387">MOD
+Returns the remainder when one integer is divided by another.
+Syntax
+MOD(Dividend; Divisor)
+ For integer arguments this function returns Dividend modulo Divisor, that is the remainder when Dividend is divided by Divisor.
+This function is implemented as Dividend - Divisor * INT(Dividend/Divisor) , and this formula gives the result if the arguments are not integer.
+Example
+
+=MOD(22;3) returns 1, the remainder when 22 is divided by 3.
+
+=MOD(11.25;2.5) returns 1.25.see also QUOTIENT, INT,
+
+QUOTIENT function
- divisions
+divisionsmw added one entryQUOTIENT
- Returns the integer part of a division operation.
- Syntax
- QUOTIENT(Numerator; Denominator)
- Returns the integer part of Numerator divided by Denominator.
- QUOTIENT is equivalent to INT(numerator/denominator), except that it may report errors with different error codes.
- Example
-
- =QUOTIENT(11;3) returns 3. The remainder of 2 is lost.see also MOD, INT
-
-
+oldref="652">QUOTIENT
+Returns the integer part of a division operation.
+Syntax
+QUOTIENT(Numerator; Denominator)
+Returns the integer part of Numerator divided by Denominator.
+QUOTIENT is equivalent to INT(numerator/denominator), except that it may report errors with different error codes.
+Example
+
+=QUOTIENT(11;3) returns 3. The remainder of 2 is lost.see also MOD, INT
+
+RADIANS function
- converting;degrees, into radians
+converting;degrees, into radiansmw added one entryRADIANS
- Converts degrees to radians.
- Syntax
- RADIANS(Number)
-
- Number is the angle in degrees to be converted to radians.
- Example
-
- =RADIANS(90) returns 1.5707963267949, which is PI/2 to Calc's accuracy.see also DEGREES
-
-
+oldref="377">RADIANS
+Converts degrees to radians.
+Syntax
+RADIANS(Number)
+Number is the angle in degrees to be converted to radians.
+Example
+
+=RADIANS(90) returns 1.5707963267949, which is PI/2 to Calc's accuracy.see also DEGREES
+
+ROUND function
-ROUND
-Rounds a number to a certain number of decimal places.
-Syntax
-ROUND(Number; Count)
-Returns Number rounded to Count 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.
-This function rounds to the nearest number. See ROUNDDOWN and ROUNDUP for alternatives.
-Example
-
+ROUND
+Rounds a number to a certain number of decimal places.
+Syntax
+ROUND(Number; Count)
+Returns Number rounded to Count 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.
+This function rounds to the nearest number. See ROUNDDOWN and ROUNDUP for alternatives.
+Example
+=ROUND(2.348;2) returns 2.35
-
+=ROUND(-32.4834;3) returns -32.483. Change the cell format to see all decimals.
-
+=ROUND(2.348;0) returns 2.
-
+=ROUND(2.5) returns 3.
-
+=ROUND(987.65;-2) returns 1000.see also INT, TRUNC, ROUNDDOWN, ROUNDUP,
CEILING, FLOOR, EVEN, ODD, MROUND
-
+ROUNDDOWN functionROUNDDOWN
- Rounds a number down, toward zero, to a certain precision.
- Syntax
- ROUNDDOWN(Number; Count)
- Returns Number rounded down (towards zero) to Count 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.
- This function rounds towards zero. See ROUNDUP and ROUND for alternatives.
- Example
-
- =ROUNDDOWN(1.234;2) returns 1.23.
-
- =ROUNDDOWN(45.67;0) returns 45.
-
- =ROUNDDOWN(-45.67) returns -45.
-
- =ROUNDDOWN(987.65;-2) returns 900.see also INT, TRUNC, ROUND, ROUNDUP,
+oldref="24">ROUNDDOWN
+Rounds a number down, toward zero, to a certain precision.
+Syntax
+ROUNDDOWN(Number; Count)
+Returns Number rounded down (towards zero) to Count 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.
+This function rounds towards zero. See ROUNDUP and ROUND for alternatives.
+Example
+
+=ROUNDDOWN(1.234;2) returns 1.23.
+
+=ROUNDDOWN(45.67;0) returns 45.
+
+=ROUNDDOWN(-45.67) returns -45.
+
+=ROUNDDOWN(987.65;-2) returns 900.see also INT, TRUNC, ROUND, ROUNDUP,
CEILING, FLOOR, EVEN, ODD, MROUND
-
+ROUNDUP functionROUNDUP
- Rounds a number up, away from zero, to a certain precision.
- Syntax
- ROUNDUP(Number; Count)
- Returns Number rounded up (away from zero) to Count 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.
- This function rounds away from zero. See ROUNDDOWN and ROUND for alternatives.
- Example
-
- =ROUNDUP(1.1111;2) returns 1.12.
-
- =ROUNDUP(1.2345;1) returns 1.3.
-
- =ROUNDUP(45.67;0) returns 46.
-
- =ROUNDUP(-45.67) returns -46.
-
- =ROUNDUP(987.65;-2) returns 1000.see also INT, TRUNC, ROUND, ROUNDDOWN,
+oldref="140">ROUNDUP
+Rounds a number up, away from zero, to a certain precision.
+Syntax
+ROUNDUP(Number; Count)
+Returns Number rounded up (away from zero) to Count 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.
+This function rounds away from zero. See ROUNDDOWN and ROUND for alternatives.
+Example
+
+=ROUNDUP(1.1111;2) returns 1.12.
+
+=ROUNDUP(1.2345;1) returns 1.3.
+
+=ROUNDUP(45.67;0) returns 46.
+
+=ROUNDUP(-45.67) returns -46.
+
+=ROUNDUP(987.65;-2) returns 1000.see also INT, TRUNC, ROUND, ROUNDDOWN,
CEILING, FLOOR, EVEN, ODD, MROUND
-
+SIN functionSIN
- Returns the sine of the given angle (in radians).
- Syntax
- SIN(Number)
- Returns the (trigonometric) sine of Number, the angle in radians.
- To return the sine of an angle in degrees, use the RADIANS function.
- Example
-
- =SIN(PI()/2) returns 1, the sine of PI/2 radians.
-
- =SIN(RADIANS(30)) returns 0.5, the sine of 30 degrees.see also COS, TAN, COT,
+oldref="408">SIN
+Returns the sine of the given angle (in radians).
+Syntax
+SIN(Number)
+Returns the (trigonometric) sine of Number, the angle in radians.
+To return the sine of an angle in degrees, use the RADIANS function.
+Example
+
+=SIN(PI()/2) returns 1, the sine of PI/2 radians.
+
+=SIN(RADIANS(30)) returns 0.5, the sine of 30 degrees.see also COS, TAN, COT,
ACOS, ASIN, ATAN, ATAN2, ACOT
-
+SINH functionSINH
- Returns the hyperbolic sine of a number.
- Syntax
- SINH(Number)
- Returns the hyperbolic sine of Number.
- Example
-
- =SINH(0) returns 0, the hyperbolic sine of 0.see also COSH, TANH, COTH,
+oldref="418">SINH
+Returns the hyperbolic sine of a number.
+Syntax
+SINH(Number)
+Returns the hyperbolic sine of Number.
+Example
+
+=SINH(0) returns 0, the hyperbolic sine of 0.see also COSH, TANH, COTH,
ACOSH, ASINH, ATANH, ACOTH
-
+SUM function
- adding;numbers in cell ranges
+adding;numbers in cell rangesmw added one entrySUM
- Adds all the numbers in a range of cells.
- Syntax
- SUM(Number1; Number2; ...; Number30)
-
- Number 1 to Number 30 are up to 30 arguments whose sum is to be calculated.
- Example
- If you enter the numbers 2; 3 and 4 in the Number 1; 2 and 3 text boxes, 9 will be returned as the result.
-
- =SUM(A1;A3;B5) calculates the sum of the three cells. =SUM (A1:E10) calculates the sum of all cells in the A1 to E10 cell range.
- Conditions linked by AND can be used with the function SUM() in the following manner:
- 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 >=2008-01-01 to <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-01-01, of the invoices to be included and C2 the date, 2008-02-01, that is no longer included.
- Enter the following formula as an array formula:
-
- =SUM((A1:A40>=C1)*(A1:A40<C2)*B1:B40)
-
- In order to enter this as an array formula, you must press the Shift+Command
+oldref="428">SUM
+Adds all the numbers in a range of cells.
+Syntax
+SUM(Number1; Number2; ...; Number30)
+Number 1 to Number 30 are up to 30 arguments whose sum is to be calculated.
+Example
+If you enter the numbers 2; 3 and 4 in the Number 1; 2 and 3 text boxes, 9 will be returned as the result.
+
+=SUM(A1;A3;B5) calculates the sum of the three cells. =SUM (A1:E10) calculates the sum of all cells in the A1 to E10 cell range.
+Conditions linked by AND can be used with the function SUM() in the following manner:
+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 >=2008-01-01 to <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-01-01, of the invoices to be included and C2 the date, 2008-02-01, that is no longer included.
+Enter the following formula as an array formula:
+
+=SUM((A1:A40>=C1)*(A1:A40<C2)*B1:B40)
+
+In order to enter this as an array formula, you must press the Shift+Command
+ Ctrl+ Enter keys instead of simply pressing the Enter key to close the formula. The formula will then be shown in the Formula bar enclosed in braces.
- {=SUM((A1:A40>=C1)*(A1:A40<C2)*B1:B40)}
- 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.
-
-
+{=SUM((A1:A40>=C1)*(A1:A40<C2)*B1:B40)}
+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.
+
+SUMIF function
- adding;specified numbers
+adding;specified numbersmw added one entrySUMIF
- Adds the cells specified by a given criteria. This function is used to browse a range when you search for a certain value.
-
- Syntax
- SUMIF(Range; Criteria; SumRange)
-
- Range is the range to which the criteria are to be applied.
-
- Criteria 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.
-
- SumRange is the range from which values are summed. If this parameter has not been indicated, the values found in the Range are summed.
- SUMIF supports the reference concatenation operator (~) only in the Criteria parameter, and only if the optional SumRange parameter is not given.
- Example
- To sum up only negative numbers: =SUMIF(A1:A10;"<0")
-
-
- =SUMIF(A1:A10;">0";B1:10) - sums values from the range B1:B10 only if the corresponding values in the range A1:A10 are >0.
- See COUNTIF() for some more syntax examples that can be used with SUMIF().
-
-
+oldref="436">SUMIF
+Adds the cells specified by a given criteria. This function is used to browse a range when you search for a certain value.
+
+Syntax
+SUMIF(Range; Criteria; SumRange)
+Range is the range to which the criteria are to be applied.
+Criteria 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.
+SumRange is the range from which values are summed. If this parameter has not been indicated, the values found in the Range are summed.
+SUMIF supports the reference concatenation operator (~) only in the Criteria parameter, and only if the optional SumRange parameter is not given.
+Example
+To sum up only negative numbers: =SUMIF(A1:A10;"<0")
+
+
+=SUMIF(A1:A10;">0";B1:10) - sums values from the range B1:B10 only if the corresponding values in the range A1:A10 are >0.
+See COUNTIF() for some more syntax examples that can be used with SUMIF().
+
+TAN functionTAN
- Returns the tangent of the given angle (in radians).
- Syntax
- TAN(Number)
- Returns the (trigonometric) tangent of Number, the angle in radians.
- To return the tangent of an angle in degrees, use the RADIANS function.
- Example
-
- =TAN(PI()/4) returns 1, the tangent of PI/4 radians.
-
- =TAN(RADIANS(45)) returns 1, the tangent of 45 degrees.see also COS, SIN, COT,
+oldref="446">TAN
+Returns the tangent of the given angle (in radians).
+Syntax
+TAN(Number)
+Returns the (trigonometric) tangent of Number, the angle in radians.
+To return the tangent of an angle in degrees, use the RADIANS function.
+Example
+
+=TAN(PI()/4) returns 1, the tangent of PI/4 radians.
+
+=TAN(RADIANS(45)) returns 1, the tangent of 45 degrees.see also COS, SIN, COT,
ACOS, ASIN, ATAN, ATAN2, ACOT
-
+TANH functionTANH
- Returns the hyperbolic tangent of a number.
- Syntax
- TANH(Number)
- Returns the hyperbolic tangent of Number.
- Example
-
- =TANH(0) returns 0, the hyperbolic tangent of 0.see also COSH, SINH, COTH,
+oldref="456">TANH
+Returns the hyperbolic tangent of a number.
+Syntax
+TANH(Number)
+Returns the hyperbolic tangent of Number.
+Example
+
+=TANH(0) returns 0, the hyperbolic tangent of 0.see also COSH, SINH, COTH,
ACOSH, ASINH, ATANH, ACOTH
-
+AutoFilter function; subtotals
- sums;of filtered data
- filtered data; sums
- SUBTOTAL function
+sums;of filtered data
+filtered data; sums
+SUBTOTAL functionmw made "sums..." a two level entrySUBTOTAL
- Calculates subtotals. 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.
- Syntax
- SUBTOTAL(Function; Range)
-
- Function is a number that stands for one of the following functions:
-
+oldref="466">SUBTOTAL
+Calculates subtotals. 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.
+Syntax
+SUBTOTAL(Function; Range)
+Function is a number that stands for one of the following functions:
+
- Each unit of measure must be preceded by a prefix character from the following list:
+ Each unit of measure can be preceded by a prefix character from the following list:
@@ -529,11 +530,26 @@
e, h, k, M, G, T, P, E, Z, Y
+
+
+ Information units "bit" and "byte" may also be prefixed by one of the following IEC 60027-2 / IEEE 1541 prefixes:
+
+
+ ki kibi 1024
+ Mi mebi 1048576
+ Gi gibi 1073741824
+ Ti tebi 1099511627776
+ Pi pebi 1125899906842620
+ Ei exbi 1152921504606850000
+ Zi zebi 1180591620717410000000
+ Yi yobi 1208925819614630000000000
+
+
Syntax
- CONVERT(Number; "FromUnit"; "ToUnit")
+ CONVERT_ADD(Number; "FromUnit"; "ToUnit")Number is the number to be converted.
@@ -543,9 +559,9 @@
Examples
- =CONVERT(10;"HP";"PS") returns, rounded to two decimal places, 10.14. 10 HP equal 10.14 PS.
+ =CONVERT_ADD(10;"HP";"PS") returns, rounded to two decimal places, 10.14. 10 HP equal 10.14 PS.
- =CONVERT(10;"km";"mi") returns, rounded to two decimal places, 6.21. 10 kilometers equal 6.21 miles. The k is the permitted prefix character for the factor 10^3.
+ =CONVERT_ADD(10;"km";"mi") returns, rounded to two decimal places, 6.21. 10 kilometers equal 6.21 miles. The k is the permitted prefix character for the factor 10^3.
FACTDOUBLE function
diff --git a/helpcontent2/source/text/scalc/01/04060181.xhp b/helpcontent2/source/text/scalc/01/04060181.xhp
index 500a562f2f..a33723f370 100755
--- a/helpcontent2/source/text/scalc/01/04060181.xhp
+++ b/helpcontent2/source/text/scalc/01/04060181.xhp
@@ -417,6 +417,7 @@
CHISQDIST function
+chi-square distributionCHISQDISTReturns the value of the probability density function or the cumulative distribution function for the chi-square distribution.
@@ -456,4 +457,4 @@
-
\ No newline at end of file
+
diff --git a/helpcontent2/source/text/scalc/01/04060183.xhp b/helpcontent2/source/text/scalc/01/04060183.xhp
index 7ef96b3843..9c6ab30e93 100755
--- a/helpcontent2/source/text/scalc/01/04060183.xhp
+++ b/helpcontent2/source/text/scalc/01/04060183.xhp
@@ -188,13 +188,15 @@
LOGNORMDISTReturns the cumulative lognormal distribution.Syntax
-LOGNORMDIST(Number; Mean; StDev)
+LOGNORMDIST(Number; Mean; StDev; Cumulative)Number is the probability value for which the standard logarithmic distribution is to be calculated.
-Mean is the mean value of the standard logarithmic distribution.
+Mean (optional) is the mean value of the standard logarithmic distribution.
-StDev is the standard deviation of the standard logarithmic distribution.
+StDev (optional) is the standard deviation of the standard logarithmic distribution.
+
+Cumulative (optional) = 0 calculates the density function, Cumulative = 1 calculates the distribution.Example=LOGNORMDIST(0.1;0;1) returns 0.01.
diff --git a/helpcontent2/source/text/scalc/01/04060184.xhp b/helpcontent2/source/text/scalc/01/04060184.xhp
index 735a1b6d79..83ed0d9440 100755
--- a/helpcontent2/source/text/scalc/01/04060184.xhp
+++ b/helpcontent2/source/text/scalc/01/04060184.xhp
@@ -3,45 +3,45 @@
-
+*
+* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+*
+* Copyright 2008 by Sun Microsystems, Inc.
+*
+* OpenOffice.org - a multi-platform office productivity suite
+*
+* $RCSfile: soffice2xmlhelp.xsl,v $
+* $Revision: 1.10 $
+*
+* This file is part of OpenOffice.org.
+*
+* OpenOffice.org is free software: you can redistribute it and/or modify
+* it under the terms of the GNU Lesser General Public License version 3
+* only, as published by the Free Software Foundation.
+*
+* OpenOffice.org is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+* GNU Lesser General Public License version 3 for more details
+* (a copy is included in the LICENSE file that accompanied this code).
+*
+* You should have received a copy of the GNU Lesser General Public License
+* version 3 along with OpenOffice.org. If not, see
+*
+* for a copy of the LGPLv3 License.
+*
+************************************************************************
+-->
+
-
- Statistical Functions Part Four
- /text/scalc/01/04060184.xhp
-
-
-
- Statistical Functions Part Four
+
+Statistical Functions Part Four
+/text/scalc/01/04060184.xhp
+
+
+
+Statistical Functions Part Four
@@ -49,354 +49,323 @@
MAX
- Returns the maximum value in a list of arguments.
- Returns 0 if no numeric value and no error was encountered in the cell range(s) passed as cell reference(s). Text cells are ignored by MIN() and MAX(). The functions MINA() and MAXA() return 0 if no value (numeric or text) and no error was encountered. Passing a literal string argument to MIN() or MAX(), e.g. MIN("string"), still results in an error.
- Syntax
- MAX(Number1; Number2; ...Number30)
-
- Number1; Number2;...Number30 are numerical values or ranges.
- Example
-
- =MAX(A1;A2;A3;50;100;200) returns the largest value from the list.
-
- =MAX(A1:B100) returns the largest value from the list.
-
-
+Returns the maximum value in a list of arguments.
+Returns 0 if no numeric value and no error was encountered in the cell range(s) passed as cell reference(s). Text cells are ignored by MIN() and MAX(). The functions MINA() and MAXA() return 0 if no value (numeric or text) and no error was encountered. Passing a literal string argument to MIN() or MAX(), e.g. MIN("string"), still results in an error.
+Syntax
+MAX(Number1; Number2; ...Number30)
+Number1; Number2;...Number30 are numerical values or ranges.
+Example
+
+=MAX(A1;A2;A3;50;100;200) returns the largest value from the list.
+
+=MAX(A1:B100) returns the largest value from the list.
+
+MAXA functionMAXA
- Returns the maximum value in a list of arguments. In opposite to MAX, here you can enter text. The value of the text is 0.
- The functions MINA() and MAXA() return 0 if no value (numeric or text) and no error was encountered.
- Syntax
- MAXA(Value1; Value2; ... Value30)
-
- Value1; Value2;...Value30 are values or ranges. Text has the value of 0.
- Example
-
- =MAXA(A1;A2;A3;50;100;200;"Text") returns the largest value from the list.
-
- =MAXA(A1:B100) returns the largest value from the list.
-
-
+oldref="139">MAXA
+Returns the maximum value in a list of arguments. In opposite to MAX, here you can enter text. The value of the text is 0.
+The functions MINA() and MAXA() return 0 if no value (numeric or text) and no error was encountered.
+Syntax
+MAXA(Value1; Value2; ... Value30)
+Value1; Value2;...Value30 are values or ranges. Text has the value of 0.
+Example
+
+=MAXA(A1;A2;A3;50;100;200;"Text") returns the largest value from the list.
+
+=MAXA(A1:B100) returns the largest value from the list.
+
+MEDIAN functionMEDIAN
- Returns the median of a set of numbers. In a set containing an uneven number of values, the median will be the number in the middle of the set and in a set containing an even number of values, it will be the mean of the two values in the middle of the set.
- Syntax
- MEDIAN(Number1; Number2; ...Number30)
-
- Number1; Number2;...Number30 are values or ranges, which represent a sample. Each number can also be replaced by a reference.
- Example
- for an odd number: =MEDIAN(1;5;9;20;21) returns 9 as the median value.
- for an even number: =MEDIAN(1;5;9;20) returns the average of the two middle values 5 and 9, thus 7.
-
-
+oldref="11">MEDIAN
+Returns the median of a set of numbers. In a set containing an uneven number of values, the median will be the number in the middle of the set and in a set containing an even number of values, it will be the mean of the two values in the middle of the set.
+Syntax
+MEDIAN(Number1; Number2; ...Number30)
+Number1; Number2;...Number30 are values or ranges, which represent a sample. Each number can also be replaced by a reference.
+Example
+for an odd number: =MEDIAN(1;5;9;20;21) returns 9 as the median value.
+for an even number: =MEDIAN(1;5;9;20) returns the average of the two middle values 5 and 9, thus 7.
+
+MIN functionMIN
- Returns the minimum value in a list of arguments.
- Returns 0 if no numeric value and no error was encountered in the cell range(s) passed as cell reference(s). Text cells are ignored by MIN() and MAX(). The functions MINA() and MAXA() return 0 if no value (numeric or text) and no error was encountered. Passing a literal string argument to MIN() or MAX(), e.g. MIN("string"), still results in an error.
- Syntax
- MIN(Number1; Number2; ...Number30)
-
- Number1; Number2;...Number30 are numerical values or ranges.
- Example
-
- =MIN(A1:B100) returns the smallest value in the list.
-
-
+oldref="19">MIN
+Returns the minimum value in a list of arguments.
+Returns 0 if no numeric value and no error was encountered in the cell range(s) passed as cell reference(s). Text cells are ignored by MIN() and MAX(). The functions MINA() and MAXA() return 0 if no value (numeric or text) and no error was encountered. Passing a literal string argument to MIN() or MAX(), e.g. MIN("string"), still results in an error.
+Syntax
+MIN(Number1; Number2; ...Number30)
+Number1; Number2;...Number30 are numerical values or ranges.
+Example
+
+=MIN(A1:B100) returns the smallest value in the list.
+
+MINA functionMINA
- Returns the minimum value in a list of arguments. Here you can also enter text. The value of the text is 0.
- The functions MINA() and MAXA() return 0 if no value (numeric or text) and no error was encountered.
- Syntax
- MINA(Value1; Value2; ... Value30)
-
- Value1; Value2;...Value30 are values or ranges. Text has the value of 0.
- Example
-
- =MINA(1;"Text";20) returns 0.
-
- =MINA(A1:B100) returns the smallest value in the list.
-
-
+oldref="148">MINA
+Returns the minimum value in a list of arguments. Here you can also enter text. The value of the text is 0.
+The functions MINA() and MAXA() return 0 if no value (numeric or text) and no error was encountered.
+Syntax
+MINA(Value1; Value2; ... Value30)
+Value1; Value2;...Value30 are values or ranges. Text has the value of 0.
+Example
+
+=MINA(1;"Text";20) returns 0.
+
+=MINA(A1:B100) returns the smallest value in the list.
+
+AVEDEV function
- averages;statistical functions
+averages;statistical functionsmw added "averages;"AVEDEVReturns the average of the absolute deviations of data points from their mean. Displays the diffusion in a data set.SyntaxAVEDEV(Number1; Number2; ...Number30)
-
-Number1, Number2,...Number30 are values or ranges that represent a sample. Each number can also be replaced by a reference.
+Number1, Number2,...Number30 are values or ranges that represent a sample. Each number can also be replaced by a reference.Example
-=AVEDEV(A1:A50)
-
+ =AVEDEV(A1:A50)
+
AVERAGE functionAVERAGE
- Returns the average of the arguments.
- Syntax
- AVERAGE(Number1; Number2; ...Number30)
-
- Number1; Number2;...Number 0 are numerical values or ranges.
- Example
-
- =AVERAGE(A1:A50)
-
-
-
+oldref="35">AVERAGE
+Returns the average of the arguments.
+Syntax
+AVERAGE(Number1; Number2; ...Number30)
+Number1; Number2;...Number 0 are numerical values or ranges.
+Example
+
+=AVERAGE(A1:A50)
+
+
+AVERAGEA functionAVERAGEA
- Returns the average of the arguments. The value of a text is 0.
- Syntax
- AVERAGEA(Value1; Value2; ... Value30)
-
- Value1; Value2;...Value30 are values or ranges. Text has the value of 0.
- Example
-
- =AVERAGEA(A1:A50)
-
-
-
+oldref="157">AVERAGEA
+Returns the average of the arguments. The value of a text is 0.
+Syntax
+AVERAGEA(Value1; Value2; ... Value30)
+Value1; Value2;...Value30 are values or ranges. Text has the value of 0.
+Example
+
+=AVERAGEA(A1:A50)
+
+
+MODE function
- most common value
+most common valuemw added one entryMODE
- Returns the most common value in a data set. If there are several values with the same frequency, it returns the smallest value. An error occurs when a value doesn't appear twice.
- Syntax
- MODE(Number1; Number2; ...Number30)
-
- Number1; Number2;...Number30 are numerical values or ranges.
- Example
-
- =MODE(A1:A50)
-
-
-
+oldref="43">MODE
+Returns the most common value in a data set. If there are several values with the same frequency, it returns the smallest value. An error occurs when a value doesn't appear twice.
+Syntax
+MODE(Number1; Number2; ...Number30)
+Number1; Number2;...Number30 are numerical values or ranges.
+Example
+
+=MODE(A1:A50)
+
+
+NEGBINOMDIST function
- negative binomial distribution
+negative binomial distributionmw added one entryNEGBINOMDIST
- Returns the negative binomial distribution.
- Syntax
- NEGBINOMDIST(X; R; SP)
-
- X represents the value returned for unsuccessful tests.
-
- R represents the value returned for successful tests.
-
- SP is the probability of the success of an attempt.
- Example
-
- =NEGBINOMDIST(1;1;0.5) returns 0.25.
-
-
+oldref="51">NEGBINOMDIST
+Returns the negative binomial distribution.
+Syntax
+NEGBINOMDIST(X; R; SP)
+X represents the value returned for unsuccessful tests.
+R represents the value returned for successful tests.
+SP is the probability of the success of an attempt.
+Example
+
+=NEGBINOMDIST(1;1;0.5) returns 0.25.
+
+NORMINV function
- normal distribution;inverse of
+normal distribution;inverse ofmw added one entryNORMINV
- Returns the inverse of the normal cumulative distribution.
- Syntax
- NORMINV(Number; Mean; StDev)
-
- Number represents the probability value used to determine the inverse normal distribution.
-
- Mean represents the mean value in the normal distribution.
-
- StDev represents the standard deviation of the normal distribution.
- Example
-
- =NORMINV(0.9;63;5) returns 69.41. If the average egg weighs 63 grams with a standard deviation of 5, then there will be 90% probability that the egg will not be heavier than 69.41g grams.
-
-
+oldref="61">NORMINV
+Returns the inverse of the normal cumulative distribution.
+Syntax
+NORMINV(Number; Mean; StDev)
+Number represents the probability value used to determine the inverse normal distribution.
+Mean represents the mean value in the normal distribution.
+StDev represents the standard deviation of the normal distribution.
+Example
+
+=NORMINV(0.9;63;5) returns 69.41. If the average egg weighs 63 grams with a standard deviation of 5, then there will be 90% probability that the egg will not be heavier than 69.41g grams.
+
+NORMDIST function
- density function
+density functionmw added one entryNORMDIST
- Returns the density function or the normal cumulative distribution.
- Syntax
- NORMDIST(Number; Mean; StDev; C)
-
- Number is the value of the distribution based on which the normal distribution is to be calculated.
-
- Mean is the mean value of the distribution.
-
- StDev is the standard deviation of the distribution.
-
- C = 0 calculates the density function; C = 1 calculates the distribution.
- Example
-
- =NORMDIST(70;63;5;0) returns 0.03.
-
- =NORMDIST(70;63;5;1) returns 0.92.
-
-
+oldref="71">NORMDIST
+Returns the density function or the normal cumulative distribution.
+Syntax
+NORMDIST(Number; Mean; StDev; C)
+Number is the value of the distribution based on which the normal distribution is to be calculated.
+Mean is the mean value of the distribution.
+StDev is the standard deviation of the distribution.
+C is optional. C = 0 calculates the density function, C = 1 calculates the distribution.
+Example
+
+=NORMDIST(70;63;5;0) returns 0.03.
+
+=NORMDIST(70;63;5;1) returns 0.92.
+
+PEARSON functionPEARSON
- Returns the Pearson product moment correlation coefficient r.
- Syntax
- PEARSON(Data1; Data2)
-
- Data1 represents the array of the first data set.
-
- Data2 represents the array of the second data set.
- Example
-
- =PEARSON(A1:A30;B1:B30) returns the Pearson correlation coefficient of both data sets.
-
-
+oldref="83">PEARSON
+Returns the Pearson product moment correlation coefficient r.
+Syntax
+PEARSON(Data1; Data2)
+Data1 represents the array of the first data set.
+Data2 represents the array of the second data set.
+Example
+
+=PEARSON(A1:A30;B1:B30) returns the Pearson correlation coefficient of both data sets.
+
+PHI functionPHI
- Returns the values of the distribution function for a standard normal distribution.
- Syntax
- PHI(Number)
-
- Number represents the value based on which the standard normal distribution is calculated.
- Example
-
- =PHI(2.25) = 0.03
-
- =PHI(-2.25) = 0.03
-
- =PHI(0) = 0.4
-
-
+oldref="92">PHI
+Returns the values of the distribution function for a standard normal distribution.
+Syntax
+PHI(Number)
+Number represents the value based on which the standard normal distribution is calculated.
+Example
+
+=PHI(2.25) = 0.03
+
+=PHI(-2.25) = 0.03
+
+=PHI(0) = 0.4
+
+POISSON functionPOISSON
- Returns the Poisson distribution.
- Syntax
- POISSON(Number; Mean; C)
-
- Number represents the value based on which the Poisson distribution is calculated.
-
- Mean represents the middle value of the Poisson distribution.
-
- C (optional) = 0 or False calculates the density function; C = 1 or True calculates the distribution. When omitted, the default value True is inserted when you save the document, for best compatibility with other programs and older versions of %PRODUCTNAME.
- Example
-
- =POISSON(60;50;1) returns 0.93.
-
-
+Returns the Poisson distribution.
+Syntax
+POISSON(Number; Mean; C)
+Number represents the value based on which the Poisson distribution is calculated.
+Mean represents the middle value of the Poisson distribution.
+C (optional) = 0 or False calculates the density function; C = 1 or True calculates the distribution. When omitted, the default value True is inserted when you save the document, for best compatibility with other programs and older versions of %PRODUCTNAME.
+Example
+
+=POISSON(60;50;1) returns 0.93.
+
+PERCENTILE functionPERCENTILE
- Returns the alpha-percentile of data values in an array. A percentile returns the scale value for a data series which goes from the smallest (Alpha=0) to the largest value (alpha=1) of a data series. For Alpha = 25%, the percentile means the first quartile; Alpha = 50% is the MEDIAN.
- Syntax
- PERCENTILE(Data; Alpha)
-
- Data represents the array of data.
-
- Alpha represents the percentage of the scale between 0 and 1.
- Example
-
- =PERCENTILE(A1:A50;0.1) represents the value in the data set, which equals 10% of the total data scale in A1:A50.
-
-
+oldref="112">PERCENTILE
+Returns the alpha-percentile of data values in an array. A percentile returns the scale value for a data series which goes from the smallest (Alpha=0) to the largest value (alpha=1) of a data series. For Alpha = 25%, the percentile means the first quartile; Alpha = 50% is the MEDIAN.
+Syntax
+PERCENTILE(Data; Alpha)
+Data represents the array of data.
+Alpha represents the percentage of the scale between 0 and 1.
+Example
+
+=PERCENTILE(A1:A50;0.1) represents the value in the data set, which equals 10% of the total data scale in A1:A50.
+
+PERCENTRANK functionPERCENTRANK
- Returns the percentage rank of a value in a sample.
- Syntax
- PERCENTRANK(Data; Value)
-
- Data represents the array of data in the sample.
-
- Value represents the value whose percentile rank must be determined.
- Example
-
- =PERCENTRANK(A1:A50;50) returns the percentage rank of the value 50 from the total range of all values found in A1:A50. If 50 falls outside the total range, an error message will appear.
-
-
+oldref="121">PERCENTRANK
+Returns the percentage rank of a value in a sample.
+Syntax
+PERCENTRANK(Data; Value)
+Data represents the array of data in the sample.
+Value represents the value whose percentile rank must be determined.
+Example
+
+=PERCENTRANK(A1:A50;50) returns the percentage rank of the value 50 from the total range of all values found in A1:A50. If 50 falls outside the total range, an error message will appear.
+
+QUARTILE functionQUARTILE
- Returns the quartile of a data set.
- Syntax
- QUARTILE(Data; Type)
-
- Data represents the array of data in the sample.
-
- Type represents the type of quartile. (0 = MIN, 1 = 25%, 2 = 50% (MEDIAN), 3 = 75% and 4 = MAX.)
- Example
-
- =QUARTILE(A1:A50;2) returns the value of which 50% of the scale corresponds to the lowest to highest values in the range A1:A50.
-
+oldref="130">QUARTILE
+Returns the quartile of a data set.
+Syntax
+QUARTILE(Data; Type)
+Data represents the array of data in the sample.
+Type represents the type of quartile. (0 = MIN, 1 = 25%, 2 = 50% (MEDIAN), 3 = 75% and 4 = MAX.)
+Example
+
+=QUARTILE(A1:A50;2) returns the value of which 50% of the scale corresponds to the lowest to highest values in the range A1:A50.
+
-
-
-
+
+
+
\ No newline at end of file
diff --git a/helpcontent2/source/text/scalc/01/05100000.xhp b/helpcontent2/source/text/scalc/01/05100000.xhp
index 0c5030dec8..da8e65cd41 100644
--- a/helpcontent2/source/text/scalc/01/05100000.xhp
+++ b/helpcontent2/source/text/scalc/01/05100000.xhp
@@ -56,7 +56,7 @@
- How to apply a cell style:
@@ -68,7 +68,7 @@
-Cell Styles
+Cell StylesDisplays the list of the available Cell Styles for indirect cell formatting.
@@ -85,7 +85,7 @@
-Page Styles
+Page StylesDisplays the Page Styles available for indirect page formatting.
@@ -101,7 +101,7 @@
-Fill Format ModeTurns the Fill Format mode on and off. Use the paint can to assign the Style selected in the Styles and Formatting window.
@@ -117,7 +117,7 @@
- How to apply a new style with the paint can:
@@ -134,7 +134,7 @@
-New Style from SelectionCreates a new style based on the formatting of a selected object. Assign a name for the style in the Create Style dialog.
@@ -151,7 +151,7 @@
-Update StyleUpdates the Style selected in the Styles and Formatting window with the current formatting of the selected object.
@@ -168,11 +168,11 @@
-Style List
+Style ListDisplays the list of the styles from the selected style category.In the context menu you can choose commands to create a new style, delete a user-defined style, or change the selected style.
-Style GroupsUFI: use "groups" to be consistent with WriterLists the available style groups.
+
+ Conditional Formatting
+ /text/scalc/01/05120000.xhp
+
+
+
-Conditional Formatting
-Choose Conditional Formatting to define format styles depending on certain conditions.
+Conditional Formatting
+ Choose Conditional Formatting to define format styles depending on certain conditions. If a style was already assigned to a cell, it remains unchanged. The style entered here is then evaluated. You can enter three conditions that query the contents of cell values or formulas. The conditions are evaluated from 1 to 3. If the condition 1 matches the condition, the defined style will be used. Otherwise, condition 2 is evaluated, and its defined style used. If this style does not match, condition 3 is evaluated.
-
-
-
-To apply conditional formatting, AutoCalculate must be enabled. Choose Tools - Cell Contents - AutoCalculate (you see a check mark next to the command when AutoCalculate is enabled).
+
+
+
+ To apply conditional formatting, AutoCalculate must be enabled. Choose Tools - Cell Contents - AutoCalculate (you see a check mark next to the command when AutoCalculate is enabled).conditional formatting; conditions
-Condition 1/2/3
-Mark the boxes corresponding to each condition and enter the corresponding condition. To close the dialog, click OK.
+Condition 1/2/3
+ Mark the boxes corresponding to each condition and enter the corresponding condition. To close the dialog, click OK.
-Cell Value / Formula
-Specifies if conditional formatting is dependent on a cell value or a formula. If you select a formula as a reference, the Cell Value Condition box is displayed to the right of the Cell value/Formula field. If the condition is "Formula is", enter a cell reference. If the cell reference is a value other than zero, the condition matches.
+Cell Value / Formula
+ Specifies if conditional formatting is dependent on a cell value or a formula. If you select a formula as a reference, the Cell Value Condition box is displayed to the right of the Cell value/Formula field. If the condition is "Formula is", enter a cell reference. If the cell reference is a value other than zero, the condition matches.
-Cell Value Condition
-Choose a condition for the format to be applied to the selected cells.
+Cell Value Condition
+ Choose a condition for the format to be applied to the selected cells.
-Cell Style
-Choose the style to be applied if the specified condition matches.
+Cell Style
+ Choose the style to be applied if the specified condition matches.
+
+
+
+New Style
+ If you haven't already defined a style to be used, you can click New Style to open the Organizer tab page of the Cell Style dialog. Define a new style there and click OK.
-Parameter field
-Enter a reference, value or formula. Enter a reference, value or formula in the parameter field, or in both parameter fields if you have selected a condition that requires two parameters. You can also enter formulas containing relative references.
-Once the parameters have been defined, the condition is complete. It may appear as:
-Cell value is equal 0: Cell style Null value (You must have already defined a cell style with this name before assigning it to a condition).
-Cell value is between $B$20 and $B$21: Cell style Result (The corresponding value limits must already exist in cells B20 and B21)
-Formula is SUM($A$1:$A$5)=10: Cell style Result (The selected cells are formatted with the Result style if the sum of the contents in cells A1 to A5 is equal to 10.
-
-
-
-
-
-
-
-
+Parameter field
+ Enter a reference, value or formula. Enter a reference, value or formula in the parameter field, or in both parameter fields if you have selected a condition that requires two parameters. You can also enter formulas containing relative references.
+ Once the parameters have been defined, the condition is complete. It may appear as:
+ Cell value is equal 0: Cell style Null value (You must have already defined a cell style with this name before assigning it to a condition).
+ Cell value is between $B$20 and $B$21: Cell style Result (The corresponding value limits must already exist in cells B20 and B21)
+ Formula is SUM($A$1:$A$5)=10: Cell style Result (The selected cells are formatted with the Result style if the sum of the contents in cells A1 to A5 is equal to 10.
+
+
+
+
+
+
+
+
+ DataPilot
+ /text/scalc/01/12090102.xhp
+
+
+
DataPilot function;show details
-DataPilot function;drill down
+ DataPilot function;drill down
-DataPilot
-Specify the layout of the table that is generated by the DataPilot.
-
-
-
-
-The DataPilot displays data fields as buttons which you can drag and drop to define the DataPilot table.
+DataPilot
+ Specify the layout of the table that is generated by the DataPilot.
+
+
+
+
+ The DataPilot displays data fields as buttons which you can drag and drop to define the DataPilot table.UFI: changed help id from 59001 to dply_page
-Layout
-To define the layout of a DataPilot table, drag and drop data field buttons onto the Page Fields, Row Fields, Column Fields, and Data Fields areas. You can also use drag and drop to rearrange the data fields on a DataPilot table.
-$[officename] automatically adds a caption to buttons that are dragged into the Data Fields area. The caption contains the name of the data field as well as the formula that created the data.
-To change the function that is used by a data field, double-click a button in the Data Fields area to open the Data Field dialog. You can also double-click buttons in the Row Fields or Column Fields areas.
+Layout
+ To define the layout of a DataPilot table, drag and drop data field buttons onto the Page Fields, Row Fields, Column Fields, and Data Fields areas. You can also use drag and drop to rearrange the data fields on a DataPilot table.
+ $[officename] automatically adds a caption to buttons that are dragged into the Data Fields area. The caption contains the name of the data field as well as the formula that created the data.
+ To change the function that is used by a data field, double-click a button in the Data Fields area to open the Data Field dialog. You can also double-click buttons in the Row Fields or Column Fields areas.
-Remove
-Removes the selected data field from the table layout.
+Remove
+ Removes the selected data field from the table layout.
-Options
-Opens the Data Field dialog where you can change the function that is associated with the selected field.
+Options
+ Opens the Data Field dialog where you can change the function that is associated with the selected field.
-More
-Displays or hides additional options for defining the DataPilot table.
-Result
-Specify the settings for displaying the results of the DataPilot table.
+More
+ Displays or hides additional options for defining the DataPilot table.
+ Result
+ Specify the settings for displaying the results of the DataPilot table.
+
+
+Selection from
+ Select the area that contains the data for the current datapilot table.
-Results to
-Select the area where you want to display the results of the DataPilot table.
-
-If the selected area contains data, the DataPilot overwrites the data. To prevent the loss of existing data, let the DataPilot automatically select the area to display the results.
+Results to
+ Select the area where you want to display the results of the DataPilot table.
+
+ If the selected area contains data, the DataPilot overwrites the data. To prevent the loss of existing data, let the DataPilot automatically select the area to display the results.
-Ignore empty rows
-Ignores empty fields in the data source.
+Ignore empty rows
+ Ignores empty fields in the data source.
-Identify categories
-Automatically assigns rows without labels to the category of the row above.i93137
+Identify categories
+ Automatically assigns rows without labels to the category of the row above.i93137
-Total columns
-Calculates and displays the grand total of the column calculation.
+Total columns
+ Calculates and displays the grand total of the column calculation.
-Total rows
-Calculates and displays the grand total of the row calculation.
+Total rows
+ Calculates and displays the grand total of the row calculation.
-Add filter
-Adds a Filter button to DataPilot tables that are based on spreadsheet data.
+Add filter
+ Adds a Filter button to DataPilot tables that are based on spreadsheet data.
-Opens the Filter dialog.
+Opens the Filter dialog.
-Enable drill to details
-Select this check box and double-click an item label in the table to show or hide details for the item. Clear this check box and double-click a cell in the table to edit the contents of the cell.
-To examine details inside a DataPilot table
-Do one of the following:
-
-
-Select a range of cells and choose Data - Group and Outline - Show Details.
-
-
-Double-click a field in the table.
-
-
-If you double-click a field which has adjacent fields at the same level, the Show Detail dialog opens:
+Enable drill to details
+ Select this check box and double-click an item label in the table to show or hide details for the item. Clear this check box and double-click a cell in the table to edit the contents of the cell.
+ To examine details inside a DataPilot table
+ Do one of the following:
+
+
+ Select a range of cells and choose Data - Group and Outline - Show Details.
+
+
+ Double-click a field in the table.
+
+
+ If you double-click a field which has adjacent fields at the same level, the Show Detail dialog opens:
-Show Detail
-Choose the field that you want to view the details for.
-
-DataPilot shortcut keys
-
-
-
+Show Detail
+ Choose the field that you want to view the details for.
+
+ DataPilot shortcut keys
+
+
+
+ Text to Columns
+ /text/scalc/01/text2columns.xhp
+
+
+
text to columns
-Text to Columns
-Opens the Text to Columns dialog, where you enter settings to expand the contents of selected cells to multiple cells.
+Text to Columns
+ Opens the Text to Columns dialog, where you enter settings to expand the contents of selected cells to multiple cells.
-
-
-
-To expand cell contents to multiple cells
-You can expand cells that contain comma separated values (CSV) into multiple cells in the same row.
-For example, cell A1 contains the comma separated values 1,2,3,4, and cell A2 contains the text A,B,C,D.
-
-
-Select the cell or cells that you want to expand.
-
-
-Choose Data - Text to Columns.
-You see the Text to Columns dialog.
-
-
-Select the separator options. The preview shows how the current cell contents will be transformed into multiple cells.
-
-
-You can select a fixed width and then click the ruler on the preview to set cell breakup positions.
-You can select or enter separator characters to define the positions of breaking points. The separator characters are removed from the resulting cell contents.
-In the example, you select the comma as a delimiter character. Cells A1 and B1 will be expanded to four columns. A1 contains 1, B1 contains 2, and so on.
-
-
-
-
-
-
+
+
+
+ To expand cell contents to multiple cells
+ You can expand cells that contain comma separated values (CSV) into multiple cells in the same row.
+ For example, cell A1 contains the comma separated values 1,2,3,4, and cell A2 contains the text A,B,C,D.
+
+
+ Select the cell or cells that you want to expand.
+
+
+ Choose Data - Text to Columns.
+ You see the Text to Columns dialog.
+
+
+ Select the separator options. The preview shows how the current cell contents will be transformed into multiple cells.
+
+
+ You can select a fixed width and then click the ruler on the preview to set cell breakup positions.
+ You can select or enter separator characters to define the positions of breaking points. The separator characters are removed from the resulting cell contents.
+ In the example, you select the comma as a delimiter character. Cells A1 and A2 will be expanded to four columns each. A1 contains 1, B1 contains 2, and so on.
+
+
+
+
+