GAMMALN

Syntax:

GAMMALN ( x )

Description: Computes the natural logarithm of the gamma function.

Mathematical Formula:

where:

Arguments:

Name

Type

Description

x

number

The value for which the gamma function is to be calculated.

Return Type and Value: number – The natural logarithm of the gamma function.

However, if ≤ 0, #NUM! is returned.

example: