# GAMMALN

Spread for WinForms provides advanced software components that support Excel import/export, full cell customization, an extensive calculation engine with over 450 functions and more, all with zero dependencies on Excel.

## 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:
![GAMMALN Equation](https://cdn.mescius.io/document-site-files/images/0ed25d3e-6b2a-4cf0-8f1b-7ed5ab18cf12/artwork/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

## Version Available

This function is available in product version 1.0 or later.

## See Also

[GAMMADIST](/spreadnet/docs/latest/online-formula/formulas-functionsall/formulas-functsDtoG/FunctionGAMMADIST) \| [GAMMAINV](/spreadnet/docs/latest/online-formula/formulas-functionsall/formulas-functsDtoG/FunctionGAMMAINV) \| [LN](/spreadnet/docs/latest/online-formula/formulas-functionsall/formulas-functsFtoK/FunctionLN) \| [Statistical Functions](/spreadnet/docs/latest/online-formula/formulas-overview/formulas-functs/formulas-functtypes/formulas-functsstats)