Applies ToSharePoint Server-Abonnementedition SharePoint Server 2019 Microsoft Office SharePoint Online Server 2016 SharePoint Server 2013 Microsoft Office SharePoint Online Server 2013 Enterprise SharePoint in Microsoft 365 Microsoft Office SharePoint Online Foundation 2010 Microsoft Office SharePoint Online Server 2010 SharePoint in Microsoft 365 Small Business Windows SharePoint Services 3.0

Returns the natural logarithm of the gamma function, Γ(x).

Syntax

GAMMALN(x)

X     is the value for which you want to calculate GAMMALN.

Remarks

  • If x is nonnumeric, GAMMALN returns the #VALUE! error value.

  • If x ≤ 0, GAMMALN returns the #NUM! error value.

  • The number e raised to the GAMMALN(i) power, where i is an integer, returns the same result as (i - 1)!.

  • GAMMALN is calculated as follows:

    Equation

    where:

    Gammaln Precise

Example

Formula

Description (Result)

=GAMMALN(4)

Natural logarithm of the gamma function at 4 (1.791759)

Benötigen Sie weitere Hilfe?

Möchten Sie weitere Optionen?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.