Difference between revisions of "Documentation/How Tos/Calc: PRODUCT function"
From Apache OpenOffice Wiki
< Documentation | How Tos
(Initial content) |
m |
||
(14 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
− | __NOTOC__ | + | {{DISPLAYTITLE:PRODUCT function}} |
+ | {{Documentation/CalcFunc MathematicalTOC | ||
+ | |ShowPrevNext=block | ||
+ | |PrevPage=Documentation/How_Tos/Calc:_MULTINOMIAL_function | ||
+ | |NextPage=Documentation/How_Tos/Calc:_RAND_function | ||
+ | }}__NOTOC__ | ||
== PRODUCT == | == PRODUCT == | ||
Multiplies all the numbers given as arguments and returns the product. | Multiplies all the numbers given as arguments and returns the product. | ||
− | |||
=== Syntax: === | === Syntax: === | ||
<tt>'''PRODUCT(number1; number2; ... number30)'''</tt> | <tt>'''PRODUCT(number1; number2; ... number30)'''</tt> | ||
− | : <tt>'''number1'''</tt> to <tt>'''number30'''</tt> are up to 30 numbers or ranges of numbers whose product is to be calculated. | + | : <tt>'''number1'''</tt> to <tt>'''number30'''</tt> are up to 30 numbers or ranges/arrays of numbers whose product is to be calculated. |
− | + | ||
+ | : <tt>'''PRODUCT'''</tt> returns <tt>'''number1 * number2 * number3 * ........ '''</tt> | ||
+ | |||
+ | : <tt>'''PRODUCT'''</tt> ignores any text or empty cell within a range or array. | ||
=== Example: === | === Example: === | ||
Line 18: | Line 24: | ||
: where <tt>'''A1'''</tt> and <tt>'''A2'''</tt> contain <tt>'''3'''</tt> and <tt>'''5'''</tt>, returns <tt>'''15'''</tt> (<tt>'''3 * 5'''</tt>). | : where <tt>'''A1'''</tt> and <tt>'''A2'''</tt> contain <tt>'''3'''</tt> and <tt>'''5'''</tt>, returns <tt>'''15'''</tt> (<tt>'''3 * 5'''</tt>). | ||
+ | === Issues: === | ||
+ | *In Excel <tt>'''PRODUCT'''</tt> ignores [[Documentation/How_Tos/Calc: Logical functions#Logical values overview|logical values]] (that is, it treats them as 1). In Calc <tt>'''TRUE'''</tt> is 1 and <tt>'''FALSE'''</tt> is 0. | ||
+ | |||
+ | {{SeeAlso|EN| | ||
+ | * [[Documentation/How_Tos/Calc: FACT function|FACT]] | ||
+ | * [[Documentation/How_Tos/Calc: SUM function|SUM]] | ||
− | + | * [[Documentation/How_Tos/Calc: Mathematical functions|Mathematical functions]] | |
− | + | ||
− | + | ||
− | + | * [[Documentation/How_Tos/Calc: Functions listed alphabetically|Functions listed alphabetically]] | |
+ | * [[Documentation/How_Tos/Calc: Functions listed by category|Functions listed by category]]}} | ||
+ | [[Category: Documentation/Reference/Calc/Mathematical functions]] |
Latest revision as of 15:37, 31 January 2024
- Mathematical FunctionsTrigonometric
- COSSINTANCOTACOSACOTASINATANATAN2DEGREESRADIANSPIHyperbolic
- COSHSINHTANHCOTHACOSHACOTHASINHATANHRounding and remainders
- TRUNCROUNDROUNDDOWNROUNDUPCEILINGFLOOREVENODDMROUNDINTQUOTIENTMODLogarithm/Powers
- EXPPOWERLOGLNLOG10Bessel functions
- BESSELIBESSELJBESSELKBESSELYMiscellaneous
- ABSCOMBINCOMBINACONVERTCONVERT ADDCOUNTBLANKCOUNTIFDELTAERFERFCFACTFACTDOUBLEGCDGCD ADDGESTEPISEVENISODDLCMLCM ADDMULTINOMIALPRODUCTRANDRANDBETWEENSERIESSUMSIGNSQRTSQRTPISUBTOTAL
PRODUCT
Multiplies all the numbers given as arguments and returns the product.
Syntax:
PRODUCT(number1; number2; ... number30)
- number1 to number30 are up to 30 numbers or ranges/arrays of numbers whose product is to be calculated.
- PRODUCT returns number1 * number2 * number3 * ........
- PRODUCT ignores any text or empty cell within a range or array.
Example:
PRODUCT(2; 3; 4)
- returns 24 (2 * 3 * 4).
PRODUCT(A1:A2)
- where A1 and A2 contain 3 and 5, returns 15 (3 * 5).
Issues:
- In Excel PRODUCT ignores logical values (that is, it treats them as 1). In Calc TRUE is 1 and FALSE is 0.
See Also
-