Category: FUNCTION | Updated: 2026-11-22

[FACTDOUBLE Function] How to Calculate the Double Factorial of a Number

Syntax

=FACTDOUBLE(value)
  • value: A number greater than or equal to -1 whose double factorial you want to calculate (decimals are truncated).

Example Table

Examples of calculating double factorials for even and odd numbers.

Number (Col A) Formula Output Calculation
5 (Odd) =FACTDOUBLE(A2) 15 5 × 3 × 1
6 (Even) =FACTDOUBLE(A3) 48 6 × 4 × 2
7 (Odd) =FACTDOUBLE(A4) 105 7 × 5 × 3 × 1
0 =FACTDOUBLE(A5) 1 1 by definition

Common Errors and Caveats

  • #NUM! error: Occurs if you pass a negative number of -2 or less, or a number of 301 or greater (causing numeric overflow).
  • #VALUE! error: Occurs if you pass a text string.

Frequently Asked Questions

Q. How does FACTDOUBLE (double factorial) differ from a regular factorial?

A. A regular factorial (FACT) multiplies every integer down by 1, whereas a double factorial (FACTDOUBLE) multiplies every other integer, decreasing by 2 each step. For example, the double factorial of 6 is 6 × 4 × 2 = 48.

Q. How does the calculation end differently for even and odd numbers?

A. For even numbers, it multiplies down to 2 (e.g., 8 × 6 × 4 × 2). For odd numbers, it multiplies down to 1 (e.g., 7 × 5 × 3 × 1). Passing 0 or -1 returns 1.