totn Excel Functions

MS Excel: How to use the FACT Function (WS)

This Excel tutorial explains how to use the Excel FACT function with syntax and examples.

Description

The Microsoft Excel FACT function returns the factorial of a number.

The FACT function is a built-in function in Excel that is categorized as a Math/Trig Function. It can be used as a worksheet function (WS) in Excel. As a worksheet function, the FACT function can be entered as part of a formula in a cell of a worksheet.

Syntax

The syntax for the FACT function in Microsoft Excel is:

FACT( number )

Parameters or Arguments

number
A numeric value used to calculate the factorial.

Returns

The FACT function returns a numeric value.
If the number parameter is negative, the FACT function will return #NUM!.

Applies To

  • Excel for Office 365, Excel 2019, Excel 2016, Excel 2013, Excel 2011 for Mac, Excel 2010, Excel 2007, Excel 2003, Excel XP, Excel 2000

Type of Function

  • Worksheet function (WS)

Example (as Worksheet Function)

Let's look at some Excel FACT function examples and explore how to use the FACT function as a worksheet function in Microsoft Excel:

Microsoft Excel

Based on the Excel spreadsheet above, the following FACT examples would return:

=FACT(A1)
Result: 6

=FACT(A2)
Result: 6

=FACT(A3)
Result: 1

=FACT(A4)
Result: #NUM!

=FACT(4)
Result: 24