The Excel FACT function returns the factorial of a supplied number.
The format of the function is:
where the number argument is the positive integer that you want to calculate the factorial of.
Cells A1-A3 of the following spreadsheet shows examples of the Excel Fact function, used to calculate the factorial of the integers 3, 6 and 10.
Further examples of the Excel Fact function are provided on the Microsoft Office website.
If you get an error from the Excel Fact function this is likely to be one of the following:
|#NUM!||-||Occurs if the supplied number is < 0.|
|#VALUE!||-||Occurs if the supplied number is non-numeric.|