LOGNORM.DIST
Returns the log-normal probability at x as either a cumulative value or density.
LOGNORM.DIST models positive-valued variables where ln(X) follows a normal distribution.
The Formualizer engine in this repository at 0.15.0 plus unreleased changes computes the example results. Known differences from Excel are listed on this page.
Syntax
=LOGNORM.DIST(x, mean, standard_dev, cumulative)
Arguments
| Argument | Type | Required | Default |
|---|---|---|---|
x | number | Required | — |
mean | number | Required | — |
standard_dev | number | Required | — |
cumulative | number | Required | — |
How it works
Standardize ln(x) to z = (ln(x) − mean) / standard_dev. The cumulative probability is Φ(z) and the density is φ(z) / (x × standard_dev). Both x and the standard deviation must be positive.
Remarks
- Set
cumulativeto non-zero for CDF mode; set it to0for PDF mode. - Requires
x > 0andstandard_dev > 0. - Invalid numeric coercions propagate as spreadsheet errors.
Error cases
- Returns
#NUM!whenx <= 0orstandard_dev <= 0.
Examples
Use ln(2) as the normal z score to find the cumulative probability.
Formula =LOGNORM.DIST(2,0,1,TRUE)
Expected result 0.755891404214417
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
Evaluate the lognormal density at two with log-scale mean zero and deviation one.
Formula =LOGNORM.DIST(2,0,1,FALSE)
Expected result 0.156874019278981
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
The observation one has a log of zero, giving cumulative probability one half.
Formula =LOGNORM.DIST(1,0,1,TRUE)
Expected result 0.5
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
The standard deviation must be positive.
Formula =LOGNORM.DIST(2,0,0,TRUE)
Expected result #NUM!
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
Log-normal PDF at x = 1
Formula =LOGNORM.DIST(1,0,1,FALSE)
Expected result 0.398942280401433
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.