FACTDOUBLE function
Returns the double factorial n!!: the product of every other integer down from n.
Available in Excel 2007 and later (earlier with the Analysis ToolPak), Excel for the web, Excel for Mac
Excel 2007 and laterWorks in Google Sheets
Syntax
FACTDOUBLE(number)| Argument | What it means | |
|---|---|---|
number | Required | A number of −1 or more; decimals are truncated. |
Returns: n!! (e.g. 7!! = 7 × 5 × 3 × 1 = 105).
How FACTDOUBLE works
The double factorial multiplies a number by every second number below it. For an odd n it uses only odd numbers (7!! = 7 × 5 × 3 × 1 = 105), for an even n only even numbers (6!! = 6 × 4 × 2 = 48). FACTDOUBLE(0) and FACTDOUBLE(−1) both return 1.
The most intuitive use is counting pairings: the number of ways to split 2k people into k pairs is (2k − 1)!!. That covers buddy systems, first-round match-ups and partner exercises in training. It also appears in physics and statistics formulas. Negative numbers below −1 return #NUM!.
Examples
1Ways to pair up 8 trainees
| A | B | C | |
|---|---|---|---|
| 1 | Workshop | People | |
| 2 | Sales training | 8 | 105 |
Result: 105
8 people can be split into 4 pairs in 7!! = 7 × 5 × 3 × 1 = 105 ways.
2Even double factorial
| A | |
|---|---|
| 1 | 48 |
Result: 48
6 × 4 × 2 = 48.
Common errors and how to fix them
| Error | Why it happens | Fix |
|---|---|---|
#NUM! | The number is less than −1. | Check the input. |
Tips
- For even n, n!! = 2^(n/2) × (n/2)!, e.g. 6!! = 8 × 6 = 48.
Google Sheets
FACTDOUBLE also exists in Google Sheets and works the same way for everyday use, so the examples above work there too.
FACTDOUBLE in other languages
In a non-English version of Excel the function has a local name. Excel translates formulas automatically when a file is opened in another language.
| Language | Function name |
|---|---|
| Danish | DOBBELT.FAKULTET |
| Dutch | DUBBELE.FACULTEIT |
| Finnish | KERTOMA.OSA |
| German | ZWEIFAKULTÄT |
| Hungarian | FAKTDUPLA |
| Italian | FATT.DOPPIO |
| Norwegian (Bokmål) | DOBBELFAKT |
| Polish | SILNIA.DWUKR |
| Portuguese (Brazil) | FATDUPLO |
| Portuguese (Portugal) | FATDUPLO |
| Russian | ДВФАКТР |
| Spanish | FACT.DOBLE |
| Swedish | DUBBELFAKULTET |
| Turkish | ÇİFTFAKTÖR |