Sign in

GAMMALN.PRECISE function

This article describes the formula syntax and usage of the GAMMALN.PRECISE function in Microsoft Excel.

Description

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

Syntax

GAMMALN.PRECISE(x)

The GAMMALN.PRECISE function syntax has the following arguments:

  • X    Required. The value for which you want to calculate GAMMALN.PRECISE.

Remarks

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

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

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

  • GAMMALN.PRECISE is calculated as follows:

    GAMMALN.PRECISE = LN(Γ(x))

    where:

    Equation

Example

Copy the example data in the following table, and paste it in cell A1 of a new Excel worksheet. For formulas to show results, select them, press F2, and then press Enter. If you need to, you can adjust the column widths to see all the data.

Formula

Description

Result

=GAMMALN.PRECISE(4)

Natural logarithm of the gamma function at 4

1.7917595



Was this information helpful?

How can we improve it?

How can we improve it?

To protect your privacy, please do not include contact information in your feedback. Review our privacy policy.

Thank you for your feedback!