FACTDOUBLE returns the double factorial of a number, multiplying every other integer down to 1 or 2. For example, FACTDOUBLE(6) equals 48 because it multiplies 6 × 4 × 2.
=FACTDOUBLE(number)What does FACTDOUBLE do?
FACTDOUBLE calculates the double factorial of a non-negative integer, written as n!!. It does not multiply every integer down to 1 like the regular FACT function; instead it skips every other number. For an even number it multiplies n × (n−2) × (n−4) … down to 2, and for an odd number it multiplies n × (n−2) × (n−4) … down to 1.
This function matters when you work with combinatorics, probability, or engineering formulas that use double factorials. Instead of typing long multiplication chains or building helper columns, you can get the result in one cell and keep your worksheet clean.
A practical situation: a quality engineer is calculating the number of ways to pair items in a test batch. The formula uses a double factorial, and FACTDOUBLE lets them enter the batch size once and get the count instantly, reducing manual errors.
When to use FACTDOUBLE
- Calculating double factorials for combinatorics and probability problems.
- Solving engineering or physics formulas that include n!! terms.
- Counting pairings or matchings in small datasets.
- Teaching or checking factorial-related homework in Excel.
- Automating repetitive multiplication patterns that skip every other integer.
FACTDOUBLE syntax
=FACTDOUBLE(number)| Argument | Required? | What to enter |
|---|---|---|
number | Required | The non-negative integer for which you want the double factorial. Decimals are truncated to integers. Example: 6 returns 48. |
What it returns: FACTDOUBLE returns a numeric value: the double factorial of the given number. For even n it is the product n × (n−2) × … × 2; for odd n it is n × (n−2) × … × 1. FACTDOUBLE(0) returns 1.
FACTDOUBLE examples
1 Basic double factorial of an even number
The goal is to see how FACTDOUBLE handles an even integer. The formula =FACTDOUBLE(B2) reads the value 6 from cell B2. FACTDOUBLE multiplies 6 × 4 × 2, which equals 48. The result 48 appears in the target cell D2.
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Input | Number | |||
| 2 | Even number | 6 | 48 | ||
| 3 | Label | n!! example | |||
| 4 |
2 Double factorial of an odd number
This example shows the odd-number pattern. The formula =FACTDOUBLE(B2) uses the value 7 in B2. FACTDOUBLE multiplies 7 × 5 × 3 × 1, giving 105. The target cell D2 displays 105.
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Input | Number | |||
| 2 | Odd number | 7 | 105 | ||
| 3 | Label | n!! example | |||
| 4 |
3 Double factorial of zero
Zero is a special case. The formula =FACTDOUBLE(B2) reads 0 from B2. By definition, the double factorial of 0 is 1, so the target cell D2 returns 1. This is useful when a formula must handle empty or zero counts without breaking.
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Input | Number | |||
| 2 | Zero | 0 | 1 | ||
| 3 | Label | n!! example | |||
| 4 |
4 Using FACTDOUBLE with a decimal input
FACTDOUBLE truncates decimal inputs before calculating. The formula =FACTDOUBLE(B2) uses 5.9 from B2, which is truncated to 5. FACTDOUBLE then multiplies 5 × 3 × 1, returning 15 in the target cell D2.
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Input | Number | |||
| 2 | Decimal | 5.9 | 15 | ||
| 3 | Label | n!! example | |||
| 4 |
5 Quality control pairing count
A quality team needs the number of ways to pair 8 test items. The formula =FACTDOUBLE(B2) reads 8 from B2. FACTDOUBLE multiplies 8 × 6 × 4 × 2, which equals 384. The target cell D2 shows 384, the pairing count for the batch.
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Batch | Items | |||
| 2 | Test batch | 8 | 384 | ||
| 3 | Status | Pending | |||
| 4 |
Common FACTDOUBLE errors and how to fix them
| Error | Why it happens | How to fix it |
|---|---|---|
| #NUM! | The number argument is negative. | Use a non-negative integer. Check the source cell and correct negative values before calling FACTDOUBLE. |
| #VALUE! | The number argument is text that cannot be converted to a number. | Ensure the cell contains a number or a numeric text value. Remove stray spaces or non-numeric characters. |
| #NAME? | The function name is misspelled, such as FACTDOUBL or FACTDOUBLE2. | Type =FACTDOUBLE( and let Excel suggest the correct name, or check the spelling. |
| #NUM! (overflow) | The number is so large that the result exceeds Excel's numeric limit. | Use a smaller input or verify that a double factorial is the right calculation for such a large number. |
Tips for using FACTDOUBLE
- FACTDOUBLE truncates decimals, so 5.9 is treated as 5; round explicitly if you need different behaviour.
- Remember that FACTDOUBLE(0) returns 1, which helps avoid errors in formulas that may receive zero.
- Use cell references instead of hard-coded numbers so you can update inputs without editing formulas.
- Double-check whether your problem needs FACT (all integers) or FACTDOUBLE (every other integer).
- For very large inputs, confirm the result stays within Excel's numeric limits to avoid #NUM! errors.
Frequently asked questions
What is the difference between FACT and FACTDOUBLE?
FACT multiplies every integer down to 1 (for example, 5! = 120). FACTDOUBLE multiplies every other integer down to 1 or 2 (for example, 5!! = 15).
Does FACTDOUBLE work with negative numbers?
No. FACTDOUBLE returns #NUM! for negative numbers because the double factorial is defined only for non-negative integers.
What does FACTDOUBLE return for 0?
FACTDOUBLE(0) returns 1, following the standard mathematical convention for the double factorial of zero.
Can FACTDOUBLE handle decimals?
Yes, but it truncates the decimal portion first. For example, FACTDOUBLE(5.9) calculates as FACTDOUBLE(5) and returns 15.
Related functions
Every example on this page was recalculated by SheetSkill’s spreadsheet engine. FACTDOUBLE reference