FACTDOUBLE Function
Advertisements
Description
The FACTDOUBLE function returns the double factorial of a number.
Syntax
FACTDOUBLE (number)
Arguments
Argument | Description | Required/Optional |
---|---|---|
Number | The value for which to return the double factorial. If number is not an integer, it is truncated. | Required |
Notes
The Double Factorial of a number, n, is
$n!! = n\left ( n-2 \right )\left ( n-4 \right )...\left ( 4 \right )\left ( 2 \right )$, if number is even
$n!! = n\left ( n-2 \right )\left ( n-4 \right )...\left ( 3 \right )\left ( 1 \right )$, if number is odd
If number is nonnumeric, FACTDOUBLE returns the #VALUE! error value.
If number is negative, FACTDOUBLE returns the #NUM! error value.
Applicability
Excel 2007, Excel 2010, Excel 2013, Excel 2016
Example
advanced_excel_math_trigonometric_functions.htm
Advertisements