Formualizer Docs

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

ArgumentTypeRequiredDefault
xnumberRequired—
meannumberRequired—
standard_devnumberRequired—
cumulativenumberRequired—

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 cumulative to non-zero for CDF mode; set it to 0 for PDF mode.
  • Requires x > 0 and standard_dev > 0.
  • Invalid numeric coercions propagate as spreadsheet errors.

Error cases

  • Returns #NUM! when x <= 0 or standard_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?.

Implementation

Engine source

On this page