Finance

Charts

Statistics

Macros

Search

How to use the FACT() function in Excel

This function calculates the factorial of a specified non-negative integer.

Syntax
FACT(number)

Argument

  • number (required) – A non-negative integer (decimal values are truncated)

Key Properties:

  • For any positive integer n:
    n! = n × (n-1) × (n-2) × … × 2 × 1
  • By definition: 0! = 1
  • Maximum computable value in Excel: FACT(170) ≈ 7.26E+306
    (Larger values return #NUM! error)

Mathematical Background
Factorials represent:

  • Permutations of distinct items
  • Partial products of natural numbers
  • Fundamental in combinatorics and probability

Example Applications:

  1. Race Placement (Permutations)

=FACT(4) → Returns 24

Interpretation: 4 runners can finish in 24 different orders

  1. Committee Arrangements

=FACT(5)/FACT(3) → Returns 20 (5P2 permutations)

  1. Special Cases:
Formula Result Notes
=FACT(0) 1 Definition
=FACT(1) 1
=FACT(5.9) 120 Truncates to 5
=FACT(170) 7.26E+306 Excel’s limit

Error Conditions:

  • #VALUE! – Non-numeric input
  • #NUM! – Negative numbers or n > 170
0 0 votes
Évaluation de l'article
S’abonner
Notification pour
guest
0 Commentaires
Le plus ancien
Le plus récent Le plus populaire
Online comments
Show all comments
Facebook
Twitter
LinkedIn
WhatsApp
Email
Print
0
We’d love to hear your thoughts — please leave a commentx