The Double Factorial of a number, N, is given by the following:
If N is even:
If N is odd:
For further details, see the Wikipedia Factorial page
The Excel Factdouble function returns the double factorial of a supplied number.
The syntax of the function is:
where the number argument is the positive integer that you want to calculate the double factorial of.
Cells A1-A3 of the following spreadsheet shows examples of the Excel Factdouble function, used to calculate the double factorial of the integers 5, 8 and 13.
Formulas:
|
Results:
|
Further examples of the Excel Factdouble function are provided on the Microsoft Office website.
If you get an error from the Excel Factdouble function this is likely to be one of the following:
#NUM! | - | Occurs if the supplied number is < 0. |
#VALUE! | - | Occurs if the supplied number is non-numeric. |