FACTDOUBLE in WPS Spreadsheet: Double Factorials and Pairing Counts
Use WPS FACTDOUBLE for alternating-integer products, with odd/even examples, truncation and a reproducible pairing model.
Verification status: See the evidence and test scope described in this guide. How formula examples are checked
Quick answer: FACTDOUBLE multiplies every second positive integer up to its input after truncating a fractional part. Thus =FACTDOUBLE(7) has expected result 105 from 7*5*3*1; =FACTDOUBLE(8) gives 384 from 8*6*4*2.
Availability and version history
- Introduced: documented by 2019-06-21 in the official WPS lesson; original introduction is not established.
- Availability: WPS Office for Windows Personal; no numeric release is stated in the edition metadata.
- Scope: exact current supported builds remain unverified. The Windows lesson does not establish equivalent availability in other WPS clients.
- Checked: October 14, 2026 against function-specific documentation. Examples were independently calculated; no native WPS test was performed.
Syntax and first controls
=FACTDOUBLE(number)
Enter 1, 2, 5, 6, 7 and 8 in A2:A7 and fill =FACTDOUBLE(A2) down the adjacent column:
| Input | Expected result | Product |
|---|---|---|
| 1 | 1 | 1 |
| 2 | 2 | 2 |
| 5 | 15 | 5×3×1 |
| 6 | 48 | 6×4×2 |
| 7 | 105 | 7×5×3×1 |
| 8 | 384 | 8×6×4×2 |
The English mathematical name is double factorial, commonly written n!!. It does not mean twice n!, nor does it mean applying an ordinary factorial twice. These are distinct operations with dramatically different growth.
Examples use English function names and numeric inputs. Keep the expected-results column separate from your actual application results if running a local check.
Example 2: compare ordinary and double factorials
=FACTDOUBLE(6)
=FACT(6)
=2*FACT(6)
Expected results are 48, 720 and 1440. The first skips the odd factors, the second includes every positive integer through 6, and the third doubles that second result.
Use FACT when all factors belong in the product. A double factorial can be useful when a combinatorial derivation specifically leaves the factors of one parity.
Advanced example: count pairings of distinct participants
Eight distinct participants must be divided into four unordered pairs. The order of pairs and the order of people inside each pair do not matter:
=FACTDOUBLE(8-1)
Expected count: 105. Fix one participant and choose their partner in seven ways. For the six remaining participants there are five choices for the next fixed participant’s partner, then three, then one. The product is 7×5×3×1.
For four participants A, B, C and D, the same model gives =FACTDOUBLE(3), or 3: AB/CD, AC/BD and AD/BC. Six participants give =FACTDOUBLE(5), or 15. This model requires an even positive participant count and distinct people; the formula does not itself enforce those business rules.
Advanced check: verify even-input structure
The product of positive even integers through 2n equals 2 raised to n times n factorial. At n=4:
=FACTDOUBLE(8)
=2^4*FACT(4)
Both expected results are 384. Each factor contributes a two: 2×4×6×8 becomes 2⁴×1×2×3×4.
For n=3, both corresponding formulas give 48; for n=5 they give 3840. These checks use small integers and do not establish native precision or overflow behavior for large expressions.
Advanced example: fractional inputs keep the truncated parity
=FACTDOUBLE(10.8)
=FACTDOUBLE(10)
=FACTDOUBLE(11)
Expected results are 3840, 3840 and 10395. The first two agree because the source specifically documents truncation and demonstrates 10.8. It does not round to 11, which would switch both the factors and their parity.
Similarly, =FACTDOUBLE(7.9) has expected result 105, the same as 7. If a count must be integral, reject or flag decimals before calculation rather than letting this conversion silently decide the model.
Errors and unresolved boundaries
The dated WPS reference documents #NUM! for a negative input and #VALUE! for a nonnumeric input. That does not establish every numeric-text, Boolean, blank or fractional-negative coercion case. This guide does not certify those conversions.
The captured lesson does not explicitly establish its zero-input result. Although the mathematical empty-product convention assigns 0!! the value one, native WPS acceptance and output at zero remain unverified here. All primary worked examples therefore use positive inputs. Large-input limits also remain unverified.
References and verification
- WPS Academy: FACTDOUBLE lesson, 2019-06-21 (Chinese; Windows Personal scope).
- Editorial testing standards.
The direct WPS product lesson supports the stated function scope. Worked outputs are independent expectations, not captured native results or proof of support across all current WPS clients.