# GAMMALN

## Content

This function returns the natural logarithm of the Gamma function, G(x).

## Syntax

`GAMMALN(value)`

## Arguments

The argument is any numeric value.

## Remarks

This function is calculated as the natural logarithm (LN) of the Gamma function.

The equation for this function is:

![](https://gcdocumentsitekrblob.blob.core.windows.net/document-site-files/images/8d606653-16a0-474d-b9dc-e2b4d01c2446/images/Func-GAMMALN.png)

where x is the *value* argument.

## Data Types

Accepts numeric data for all arguments. Returns numeric data.

## Examples

`GAMMALN(A4)`

`GAMMALN(R4C1)`

`GAMMALN(12)` gives the result 17.5023078459