FACT function

FACT returns the factorial of a number. Factorials are calculated as 1*2*3*4* ... * .

Syntax

FACT(number)

FACT returns number!, the factorial of number.

=FACT(0) returns 1 by definition.

The factorial of a negative number returns the invalid argument error.

Example

=FACT(3) returns 6.

=FACT(0) returns 1.