引数
number必須
The non-negative number you want the factorial of.
The FACT function calculates the factorial of a given non-negative integer. The factorial of a number is the product of all positive integers less than or equal to that number.
=FACT(3)→6Calculates 3 * 2 * 1, which equals 6.
=FACT(5)→120Calculates 5 * 4 * 3 * 2 * 1, which equals 120.
Select a cell
Click on the cell where you want to display the factorial result.
Enter the formula
Type =FACT(number) and replace 'number' with the integer you wish to calculate.
Press Enter
Press the Enter key to calculate and view the result.
The FACT function will return a #NUM! error because factorials are not defined for negative integers.
If you provide a decimal, Excel will truncate it to the next lowest integer before calculating the factorial.