LOGNORM.INV
Quirk foundCategory: 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
| Engine | Documented | Live-tested | Verdict |
|---|---|---|---|
| Excel (desktop) | Yes | No — documented only | n/a |
| Excel for the web | — | Yes (recalc, 2026-09-01) | Supported, behaves as documented |
| Google Sheets | Yes | Yes (Drive import, 2026-08-31) | Quirk found |
| LibreOffice Calc | Yes | 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 version | Verdict | Tested |
|---|---|---|
| 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
-
=ROUND(LOGNORM.INV(A2,A3,A4),10) on
Google Sheets returned
4.00002521, but the documented/expected
result is 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 vs expected: expected 4.0000252187, got 4.00002521
-
=ROUND(LOGNORM.INV(LOGNORM.DIST(4,3.5,1.2,TRUE),3.5,1.2),10) on
Google Sheets returned
3.999999991, but the documented/expected
result is 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 vs expected: expected 4.0, got 3.999999991
-
=LOGNORM.INV(0,A3,A4) on
LibreOffice Calc returned
#VALUE!, but the documented/expected
result is #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 vs expected: expected '#NUM!', got '#VALUE!'
-
=LOGNORM.INV(1,A3,A4) on
LibreOffice Calc returned
#VALUE!, but the documented/expected
result is #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 vs expected: expected '#NUM!', got '#VALUE!'
-
=LOGNORM.INV(0.5,A3,0) on
LibreOffice Calc returned
#VALUE!, but the documented/expected
result is #NUM!.
Provenance
Excel documents: "If standard_dev <= 0, LOGNORM.INV returns the #NUM! error value."; MISMATCH vs expected: expected '#NUM!', got '#VALUE!'
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.
| Formula | Description | Result | Expected | Verdict |
|---|---|---|---|---|
| =ROUND(LOGNORM.INV(A2,A3,A4),7) | Microsoft's documented worked example: the inverse lognormal CDF at p = 0.039084 | 4.0000252 | 4.0000252ProvenanceMicrosoft 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.0000252187Provenance4.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.0ProvenanceThe 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!ProvenanceExcel 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!ProvenanceThe 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!ProvenanceExcel 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!ProvenanceExcel 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.
| Formula | Description | Result | Expected | Verdict |
|---|---|---|---|---|
| =ROUND(LOGNORM.INV(A2,A3,A4),7) | Microsoft's documented worked example: the inverse lognormal CDF at p = 0.039084 | 4.0000252 | 4.0000252ProvenanceMicrosoft 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.0000252187Provenance4.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.0ProvenanceThe 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!ProvenanceExcel 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!ProvenanceThe 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!ProvenanceExcel 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!ProvenanceExcel documents: "If any argument is nonnumeric, LOGNORM.INV returns the #VALUE! error value." |
Matched |
LibreOffice Calc 25.8.7.3 (tested 2026-08-31)
| Formula | Description | Result | Expected | Verdict |
|---|---|---|---|---|
| =ROUND(LOGNORM.INV(A2,A3,A4),7) | Microsoft's documented worked example: the inverse lognormal CDF at p = 0.039084 | 4.0000252 | 4.0000252ProvenanceMicrosoft 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.0000252187Provenance4.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.0ProvenanceThe 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!ProvenanceExcel 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!ProvenanceThe 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!ProvenanceExcel 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!ProvenanceExcel documents: "If any argument is nonnumeric, LOGNORM.INV returns the #VALUE! error value." |
Matched |
Docs & syntax
- Excel (desktop): official documentation
- Google Sheets: official documentation
- LibreOffice Calc: official documentation