Syntax
| Parameter | Description |
|---|---|
| number | Parameter of the FACT function. |
Examples
Basic factorial
=FACT(5)
Zero factorial
=FACT(0)
Larger factorial
=FACT(10)
Common Errors
Negative numbers don't have factorials. =FACT(-1) returns #NUM!.
Non-numeric input like text returns #VALUE!.
Tips
FACT(20) is already over 2.4 quintillion. Most spreadsheets can handle up to about FACT(170) before overflowing.
FACT(5.7) returns FACT(5) = 120. The decimal part is truncated before computing the factorial.
For combinations, use =COMBIN(n,k) instead of =FACT(n)/(FACT(k)*FACT(n-k)). It's cleaner and avoids overflow for large values.
Try FACT in Viztab
Import your data and use FACT with 370+ other formulas. No signup required.
Open Viztab