TX Sheet Control

FACT Function

Function

Return the factorial of a number, the product 1 × 2 × … × number. Decimals are truncated, FACT(0) returns 1, and a negative number or a number above 170 returns #NUM!.

Syntax

FACT(number)

Category: Math. Minimum arguments: 1. Maximum arguments: 1.

Available for supported offline calculation.

Examples

=FACT(5)

The formula returns 120, the product 1 × 2 × 3 × 4 × 5.

Cell and range examples require appropriate input values in the referenced cells. Handle invalid arguments, formula errors and array and spill constraints.

See Also