← All functions

LOGNORM.INV

Quirk found

Category: Statistical · Last tested 2026-09-01

Real compatibility results for the LOGNORM.INV function: executed in Excel for the web, Google Sheets and LibreOffice Calc, with desktop Excel behavior from Microsoft’s official documentation (we do not run desktop Excel — Excel for the web is a different application and is executed separately). Syntax and links to that documentation are below.

Support matrix

EngineDocumentedLive-testedVerdict
Excel (desktop)Yes No — documented only n/a
Excel for the web— Yes (recalc, 2026-09-01) Supported, behaves as documented
Google SheetsYes Yes (Drive import, 2026-08-31) Quirk found
LibreOffice CalcYes Yes (25.8.7.3, 2026-08-31) Quirk found

LibreOffice version history

We executed the same test cases under each LibreOffice release to show exactly when LOGNORM.INV’s support changed — not documentation claims, real results.

LibreOffice versionVerdictTested
24.2.0.3 Quirk found 2026-08-31
24.8.7.2 Quirk found 2026-08-31
25.2.0.3 Quirk found 2026-08-31
25.8.7.3 Quirk found 2026-08-31

Why isn't LOGNORM.INV working in LibreOffice?

LOGNORM.INV exists in LibreOffice 25.8.7.3, but it is not a drop-in match for Excel — our executed tests found real behavioral differences (detailed in the test results on this page). If a formula that works in Excel or Google Sheets misbehaves in LibreOffice, compare your usage against the failing cases above before assuming your data is wrong.

Why isn’t LOGNORM.INV working in Google Sheets?

LOGNORM.INV runs in Google Sheets, but our executed cases show it does not match Excel’s documented behavior on every input (the failing cases are listed on this page). If a formula that behaves one way in Excel gives you a different answer in Sheets, compare your usage against those cases before assuming your data is wrong.

Discovered quirks

Executed test cases

Excel for the web (executed 2026-09-01 via OneDrive recalculation)

These values come from Excel for the web, not from desktop Excel. They are two different implementations of the calculation engine, and this run measured only the web one: the corpus was uploaded to OneDrive as .xlsx, recalculated by Excel for the web on open, and downloaded again for readback. Excel for the web is a rolling service with no pinnable version, so the run is identified by its date. Where a value here disagrees with the Expected column — which is Microsoft’s documentation of the desktop product — we cannot tell you whether the web engine diverges from the desktop one or the documentation is wrong about both, because we do not run desktop Excel.

FormulaDescriptionResultExpectedVerdict
=ROUND(LOGNORM.INV(A2,A3,A4),7) Microsoft's documented worked example: the inverse lognormal CDF at p = 0.039084 4.0000252 4.0000252
Provenance

Microsoft publishes '=LOGNORM.INV(A2, A3, A4)' with the result 4.0000252. DERIVATION, along a different path from the published figure. The lognormal CDF is documented on the LOGNORM.DIST page as NORM.S.DIST((ln(x)-mu)/sigma), so with x = 4, mu = 3.5 and sigma = 1.2 the standardised argument is z = (ln 4 - 3.5)/1.2 = (1.3862943611198906188 - 3.5)/1.2 = -1.7614213657334244843. This corpus does not call any statistics library's normal CDF: it evaluates Phi(z) = erfc(-z/sqrt(2))/2 with mpmath at 50 digits, giving 0.039083555706800473296. The density is computed from its own closed form, exp(-(ln x - mu)^2/(2 sigma^2)) / (x sigma sqrt(2 pi)) = 0.017617596681819223728. The inverse is obtained by ROOT-FINDING on that same erfc-based CDF rather than by any inverse-normal routine: solving Phi(z) = 0.039084 gives z = -1.7613003288..., and exp(mu + sigma z) = 4.0000252186806350759 -- note the probability Microsoft feeds back in, 0.039084, is its own published CDF figure ROUNDED to six places, which is exactly why the inverse lands on 4.0000252 rather than on 4. The page states the defining relationship in its own Description: "If p = LOGNORM.DIST(x,...) then LOGNORM.INV(p,...) = x." That is what makes the round-trip case in this file an assertion rather than a convenience.

Matched
=ROUND(LOGNORM.INV(A2,A3,A4),10) The same value carried to ten decimal places 4.0000252187 4.0000252187
Provenance

4.0000252186806350759 at ten places, from the root-finding derivation described on the previous case. Microsoft's seven-place figure cannot distinguish an accurate inverse from a crude one; this can.

Matched
=ROUND(LOGNORM.INV(LOGNORM.DIST(4,3.5,1.2,TRUE),3.5,1.2),10) The documented identity itself: the inverse of the distribution returns the original x 4 4.0
Provenance

The page's Description states "If p = LOGNORM.DIST(x,...) then LOGNORM.INV(p,...) = x". Feeding the CDF's own FULL-PRECISION output straight back in -- rather than the six-place 0.039084 the example table uses -- must therefore return 4 exactly, to ten places. This is the strongest assertion in the file because it depends on no derived constant at all: any inaccuracy in either direction shows up as a departure from 4.

Matched
=LOGNORM.INV(0,A3,A4) A probability of zero, which the page excludes #NUM! #NUM!
Provenance

Excel documents: "If probability <= 0 or probability >= 1, LOGNORM.INV returns the #NUM! error value." The interval is open at both ends, which matters: the lognormal has no finite quantile at 0 or 1.

Matched
=LOGNORM.INV(1,A3,A4) A probability of one, the other excluded endpoint #NUM! #NUM!
Provenance

The same documented sentence, asserted at the upper endpoint. Batch D found FORECAST.ETS.CONFINT guarding one end of a documented open interval and not the other, so both ends are always asserted separately in this corpus.

Matched
=LOGNORM.INV(0.5,A3,0) A standard deviation of zero, which the page also excludes #NUM! #NUM!
Provenance

Excel documents: "If standard_dev <= 0, LOGNORM.INV returns the #NUM! error value."

Matched
=LOGNORM.INV("x",A3,A4) A non-numeric argument, which the page gives a different error code #VALUE! #VALUE!
Provenance

Excel documents: "If any argument is nonnumeric, LOGNORM.INV returns the #VALUE! error value."

Matched

Google Sheets (executed 2026-08-31 via Drive import)

Google Sheets is a rolling service with no pinnable version, so this run is identified by its date. The corpus was imported to Drive as .xlsx, recalculated by Sheets, and exported back for readback.

FormulaDescriptionResultExpectedVerdict
=ROUND(LOGNORM.INV(A2,A3,A4),7) Microsoft's documented worked example: the inverse lognormal CDF at p = 0.039084 4.0000252 4.0000252
Provenance

Microsoft publishes '=LOGNORM.INV(A2, A3, A4)' with the result 4.0000252. DERIVATION, along a different path from the published figure. The lognormal CDF is documented on the LOGNORM.DIST page as NORM.S.DIST((ln(x)-mu)/sigma), so with x = 4, mu = 3.5 and sigma = 1.2 the standardised argument is z = (ln 4 - 3.5)/1.2 = (1.3862943611198906188 - 3.5)/1.2 = -1.7614213657334244843. This corpus does not call any statistics library's normal CDF: it evaluates Phi(z) = erfc(-z/sqrt(2))/2 with mpmath at 50 digits, giving 0.039083555706800473296. The density is computed from its own closed form, exp(-(ln x - mu)^2/(2 sigma^2)) / (x sigma sqrt(2 pi)) = 0.017617596681819223728. The inverse is obtained by ROOT-FINDING on that same erfc-based CDF rather than by any inverse-normal routine: solving Phi(z) = 0.039084 gives z = -1.7613003288..., and exp(mu + sigma z) = 4.0000252186806350759 -- note the probability Microsoft feeds back in, 0.039084, is its own published CDF figure ROUNDED to six places, which is exactly why the inverse lands on 4.0000252 rather than on 4. The page states the defining relationship in its own Description: "If p = LOGNORM.DIST(x,...) then LOGNORM.INV(p,...) = x." That is what makes the round-trip case in this file an assertion rather than a convenience.

Matched
=ROUND(LOGNORM.INV(A2,A3,A4),10) The same value carried to ten decimal places 4.00002521 4.0000252187
Provenance

4.0000252186806350759 at ten places, from the root-finding derivation described on the previous case. Microsoft's seven-place figure cannot distinguish an accurate inverse from a crude one; this can.

Mismatch
=ROUND(LOGNORM.INV(LOGNORM.DIST(4,3.5,1.2,TRUE),3.5,1.2),10) The documented identity itself: the inverse of the distribution returns the original x 3.999999991 4.0
Provenance

The page's Description states "If p = LOGNORM.DIST(x,...) then LOGNORM.INV(p,...) = x". Feeding the CDF's own FULL-PRECISION output straight back in -- rather than the six-place 0.039084 the example table uses -- must therefore return 4 exactly, to ten places. This is the strongest assertion in the file because it depends on no derived constant at all: any inaccuracy in either direction shows up as a departure from 4.

Mismatch
=LOGNORM.INV(0,A3,A4) A probability of zero, which the page excludes #NUM! #NUM!
Provenance

Excel documents: "If probability <= 0 or probability >= 1, LOGNORM.INV returns the #NUM! error value." The interval is open at both ends, which matters: the lognormal has no finite quantile at 0 or 1.

Matched
=LOGNORM.INV(1,A3,A4) A probability of one, the other excluded endpoint #NUM! #NUM!
Provenance

The same documented sentence, asserted at the upper endpoint. Batch D found FORECAST.ETS.CONFINT guarding one end of a documented open interval and not the other, so both ends are always asserted separately in this corpus.

Matched
=LOGNORM.INV(0.5,A3,0) A standard deviation of zero, which the page also excludes #NUM! #NUM!
Provenance

Excel documents: "If standard_dev <= 0, LOGNORM.INV returns the #NUM! error value."

Matched
=LOGNORM.INV("x",A3,A4) A non-numeric argument, which the page gives a different error code #VALUE! #VALUE!
Provenance

Excel documents: "If any argument is nonnumeric, LOGNORM.INV returns the #VALUE! error value."

Matched

LibreOffice Calc 25.8.7.3 (tested 2026-08-31)

FormulaDescriptionResultExpectedVerdict
=ROUND(LOGNORM.INV(A2,A3,A4),7) Microsoft's documented worked example: the inverse lognormal CDF at p = 0.039084 4.0000252 4.0000252
Provenance

Microsoft publishes '=LOGNORM.INV(A2, A3, A4)' with the result 4.0000252. DERIVATION, along a different path from the published figure. The lognormal CDF is documented on the LOGNORM.DIST page as NORM.S.DIST((ln(x)-mu)/sigma), so with x = 4, mu = 3.5 and sigma = 1.2 the standardised argument is z = (ln 4 - 3.5)/1.2 = (1.3862943611198906188 - 3.5)/1.2 = -1.7614213657334244843. This corpus does not call any statistics library's normal CDF: it evaluates Phi(z) = erfc(-z/sqrt(2))/2 with mpmath at 50 digits, giving 0.039083555706800473296. The density is computed from its own closed form, exp(-(ln x - mu)^2/(2 sigma^2)) / (x sigma sqrt(2 pi)) = 0.017617596681819223728. The inverse is obtained by ROOT-FINDING on that same erfc-based CDF rather than by any inverse-normal routine: solving Phi(z) = 0.039084 gives z = -1.7613003288..., and exp(mu + sigma z) = 4.0000252186806350759 -- note the probability Microsoft feeds back in, 0.039084, is its own published CDF figure ROUNDED to six places, which is exactly why the inverse lands on 4.0000252 rather than on 4. The page states the defining relationship in its own Description: "If p = LOGNORM.DIST(x,...) then LOGNORM.INV(p,...) = x." That is what makes the round-trip case in this file an assertion rather than a convenience.

Matched
=ROUND(LOGNORM.INV(A2,A3,A4),10) The same value carried to ten decimal places 4.0000252187 4.0000252187
Provenance

4.0000252186806350759 at ten places, from the root-finding derivation described on the previous case. Microsoft's seven-place figure cannot distinguish an accurate inverse from a crude one; this can.

Matched
=ROUND(LOGNORM.INV(LOGNORM.DIST(4,3.5,1.2,TRUE),3.5,1.2),10) The documented identity itself: the inverse of the distribution returns the original x 4 4.0
Provenance

The page's Description states "If p = LOGNORM.DIST(x,...) then LOGNORM.INV(p,...) = x". Feeding the CDF's own FULL-PRECISION output straight back in -- rather than the six-place 0.039084 the example table uses -- must therefore return 4 exactly, to ten places. This is the strongest assertion in the file because it depends on no derived constant at all: any inaccuracy in either direction shows up as a departure from 4.

Matched
=LOGNORM.INV(0,A3,A4) A probability of zero, which the page excludes #VALUE! #NUM!
Provenance

Excel documents: "If probability <= 0 or probability >= 1, LOGNORM.INV returns the #NUM! error value." The interval is open at both ends, which matters: the lognormal has no finite quantile at 0 or 1.

Mismatch
=LOGNORM.INV(1,A3,A4) A probability of one, the other excluded endpoint #VALUE! #NUM!
Provenance

The same documented sentence, asserted at the upper endpoint. Batch D found FORECAST.ETS.CONFINT guarding one end of a documented open interval and not the other, so both ends are always asserted separately in this corpus.

Mismatch
=LOGNORM.INV(0.5,A3,0) A standard deviation of zero, which the page also excludes #VALUE! #NUM!
Provenance

Excel documents: "If standard_dev <= 0, LOGNORM.INV returns the #NUM! error value."

Mismatch
=LOGNORM.INV("x",A3,A4) A non-numeric argument, which the page gives a different error code #VALUE! #VALUE!
Provenance

Excel documents: "If any argument is nonnumeric, LOGNORM.INV returns the #VALUE! error value."

Matched

Docs & syntax