
MathLevel: IntermediateAvailable in: Excel 2007+
In this article
- Syntax
- Examples
- Example 1
- Common errors and fixes
- Related functions
FACT returns n! (1 × 2 × … × n). It grows absurdly fast: FACT(20) is already about 2.4 quintillion.
Syntax
=FACT(number)
| Argument |
What it means |
number |
Non-negative; decimals are truncated. |
Examples
Example 1
=FACT(5)
120 ways to order five books on a shelf.
Common errors and fixes
| You see |
Why, and the fix |
#NUM! |
Negative input, or above 170 (the result overflows Excel’s number limit). |
COMBIN · PERMUT
📚 Part of the free Excel course: Beginner → Expert · Try it in the Formula Lab or ask the AI Helper.
✨ Ask AI about this articleStuck on a step? Ask a question and the AI answers using this article.
Free · AI can be wrong