Skip to main content

Excel GAMMALN.PRECISE function

The GAMMALN.PECISE function returns the natural logarithm of the gamma function, Γ(n).

Note: The GAMMALN.PRECISE function is new in Excel 2010 and is only available in Excel 2010 and later versions.

GAMMALN.PRECISE Function VS. GAMMALN Function

Starting from Excel 2010, the GAMMALN.PRECISE function was released to replace the GAMMALN function. Although they can both be used to calculate the natural logarithm of the gamma function, the GAMMALN.PRECISE function works more accurately.

Syntax

=GAMMALN.PRECISE(x)

Arguments

x (required): The value for which you want to calculate GAMMALN.PRECISE.

Remarks

1. The #VALUE! error occurs if x is nonnumeric;
2. The #NUM! error occurs if x ≤ 0;
3. The equation for the GAMMALN.PRECISE function is as follow:

Return value

It returns a numeric value.

Example

To calculate the natural logarithm of the gamma function of the given values in the table below, you can also apply the GAMMALN.PRECISE function as follows.

Select a cell (such as C6 in this case), enter the formula below and press the Enter key to get the first result. Select this formula cell and drag its AutoFill Handle down to get the rest of the results.

=GAMMALN.PRECISE(B6)

Notes: The argument in the formula above is supplied as a cell reference. You can directly type the value in the formula. Here the formula in C6 can be changed to:

=GAMMALN.PRECISE(1)


Related Functions

Excel GAMMA function
The GAMMA function returns the value of the gamma function for a specified number.

Excel GAMMA.DIST function
The GAMMA.DIST function returns the gamma distribution.

Excel GAMMADIST Function
The GAMMADIST function returns the gamma distribution.

Excel GAMMA.INV Function
The GAMMA.INV function returns the inverse of the gamma cumulative distribution.

Excel GAMMAINV Function
The GAMMAINV function returns the inverse of the gamma cumulative distribution.

Excel GAMMALN function
The GAMMALN function returns the natural logarithm of the gamma function, Γ(n).


The Best Office Productivity Tools


Office Tab - Enable Tabbed Reading and Editing in Microsoft Office (include Excel)

  • One second to switch between dozens of open documents!
  • Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
  • Increases your productivity by 50% when viewing and editing multiple documents.
  • Brings Efficient Tabs to Office (include Excel), Just Like Chrome, Edge and Firefox.
Comments (0)
No ratings yet. Be the first to rate!
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations