LOGNORMDIST
Quirk foundCategory: Compatibility · Last tested 2026-09-01
Real compatibility results for the LOGNORMDIST 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) | Supported, behaves as documented |
| 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 LOGNORMDIST’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 LOGNORMDIST working in LibreOffice?
LOGNORMDIST 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.
Discovered quirks
-
=LOGNORMDIST(0,A3,A4) on
LibreOffice Calc returned
0, but the documented/expected
result is #NUM!.
Provenance
Excel documents: "If x <= 0 or if Standard_dev <= 0, LOGNORMDIST returns the #NUM! error value." Word for word the same exclusion its replacement LOGNORM.DIST documents, so the two spellings are required to behave identically here.; MISMATCH vs expected: expected '#NUM!', got 0
-
=LOGNORMDIST(-1,A3,A4) on
LibreOffice Calc returned
0, but the documented/expected
result is #NUM!.
Provenance
The same documented sentence, asserted away from the boundary so that an engine guarding only the exact value zero is caught.; MISMATCH vs expected: expected '#NUM!', got 0
-
=LOGNORMDIST(A2,A3,0) on
LibreOffice Calc returned
#VALUE!, but the documented/expected
result is #NUM!.
Provenance
Excel documents: "If x <= 0 or if Standard_dev <= 0, LOGNORMDIST 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(LOGNORMDIST(A2,A3,A4),7) | Microsoft's documented worked example: the cumulative lognormal distribution at 4 | 0.0390836 | 0.0390836ProvenanceMicrosoft publishes '=LOGNORMDIST(A2,A3,A4)' with the result 0.0390836 -- the same figure its modern replacement LOGNORM.DIST publishes for the same three arguments, since LOGNORMDIST is the cumulative form only and takes no cumulative flag. 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. |
Matched |
| =ROUND(LOGNORMDIST(A2,A3,A4),10) | The same value carried to ten decimal places | 0.0390835557 | 0.0390835557Provenance0.039083555706800473296 at ten places. The legacy alias must agree with the modern spelling here to ten places, which is the point of asserting both: this corpus has already found several cases (GAMMADIST vs GAMMA.DIST in batch D, FTEST vs F.TEST in batches C and D) where the legacy name and its replacement disagree about the same documented behaviour. |
Matched |
| =LOGNORMDIST(0,A3,A4) | An x of zero, which the page excludes | #NUM! | #NUM!ProvenanceExcel documents: "If x <= 0 or if Standard_dev <= 0, LOGNORMDIST returns the #NUM! error value." Word for word the same exclusion its replacement LOGNORM.DIST documents, so the two spellings are required to behave identically here. EXECUTED RESULT -- A SILENT WRONG ANSWER: all four LibreOffice builds return the NUMBER 0 here instead of the documented #NUM!. Zero is a perfectly plausible value for a cumulative distribution, so a column of non-positive inputs comes back as a column of zeros rather than a visible column of errors -- the same shape batch C found in EXPON.DIST and batch D in GAMMADIST. Both spellings, the legacy LOGNORMDIST and the modern LOGNORM.DIST, do it, so unlike batch D's GAMMADIST/GAMMA.DIST split there is no correct sibling to fall back on. |
Matched |
| =LOGNORMDIST(-1,A3,A4) | A negative x, strictly inside the excluded region | #NUM! | #NUM!ProvenanceThe same documented sentence, asserted away from the boundary so that an engine guarding only the exact value zero is caught. EXECUTED RESULT: 0 on all four builds, the same silent zero as at x = 0 -- so the guard is not merely mis-set at the boundary, it is absent. ln(x) does not exist here at all. |
Matched |
| =LOGNORMDIST(A2,A3,0) | A standard deviation of zero, the other half of the same exclusion | #NUM! | #NUM!ProvenanceExcel documents: "If x <= 0 or if Standard_dev <= 0, LOGNORMDIST returns the #NUM! error value." |
Matched |
| =LOGNORMDIST("x",A3,A4) | A non-numeric argument, which the page gives a different error code | #VALUE! | #VALUE!ProvenanceExcel documents: "If any argument is non-numeric, LOGNORMDIST 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(LOGNORMDIST(A2,A3,A4),7) | Microsoft's documented worked example: the cumulative lognormal distribution at 4 | 0.0390836 | 0.0390836ProvenanceMicrosoft publishes '=LOGNORMDIST(A2,A3,A4)' with the result 0.0390836 -- the same figure its modern replacement LOGNORM.DIST publishes for the same three arguments, since LOGNORMDIST is the cumulative form only and takes no cumulative flag. 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. |
Matched |
| =ROUND(LOGNORMDIST(A2,A3,A4),10) | The same value carried to ten decimal places | 0.0390835557 | 0.0390835557Provenance0.039083555706800473296 at ten places. The legacy alias must agree with the modern spelling here to ten places, which is the point of asserting both: this corpus has already found several cases (GAMMADIST vs GAMMA.DIST in batch D, FTEST vs F.TEST in batches C and D) where the legacy name and its replacement disagree about the same documented behaviour. |
Matched |
| =LOGNORMDIST(0,A3,A4) | An x of zero, which the page excludes | #NUM! | #NUM!ProvenanceExcel documents: "If x <= 0 or if Standard_dev <= 0, LOGNORMDIST returns the #NUM! error value." Word for word the same exclusion its replacement LOGNORM.DIST documents, so the two spellings are required to behave identically here. EXECUTED RESULT -- A SILENT WRONG ANSWER: all four LibreOffice builds return the NUMBER 0 here instead of the documented #NUM!. Zero is a perfectly plausible value for a cumulative distribution, so a column of non-positive inputs comes back as a column of zeros rather than a visible column of errors -- the same shape batch C found in EXPON.DIST and batch D in GAMMADIST. Both spellings, the legacy LOGNORMDIST and the modern LOGNORM.DIST, do it, so unlike batch D's GAMMADIST/GAMMA.DIST split there is no correct sibling to fall back on. |
Matched |
| =LOGNORMDIST(-1,A3,A4) | A negative x, strictly inside the excluded region | #NUM! | #NUM!ProvenanceThe same documented sentence, asserted away from the boundary so that an engine guarding only the exact value zero is caught. EXECUTED RESULT: 0 on all four builds, the same silent zero as at x = 0 -- so the guard is not merely mis-set at the boundary, it is absent. ln(x) does not exist here at all. |
Matched |
| =LOGNORMDIST(A2,A3,0) | A standard deviation of zero, the other half of the same exclusion | #NUM! | #NUM!ProvenanceExcel documents: "If x <= 0 or if Standard_dev <= 0, LOGNORMDIST returns the #NUM! error value." |
Matched |
| =LOGNORMDIST("x",A3,A4) | A non-numeric argument, which the page gives a different error code | #VALUE! | #VALUE!ProvenanceExcel documents: "If any argument is non-numeric, LOGNORMDIST returns the #VALUE! error value." |
Matched |
LibreOffice Calc 25.8.7.3 (tested 2026-08-31)
| Formula | Description | Result | Expected | Verdict |
|---|---|---|---|---|
| =ROUND(LOGNORMDIST(A2,A3,A4),7) | Microsoft's documented worked example: the cumulative lognormal distribution at 4 | 0.0390836 | 0.0390836ProvenanceMicrosoft publishes '=LOGNORMDIST(A2,A3,A4)' with the result 0.0390836 -- the same figure its modern replacement LOGNORM.DIST publishes for the same three arguments, since LOGNORMDIST is the cumulative form only and takes no cumulative flag. 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. |
Matched |
| =ROUND(LOGNORMDIST(A2,A3,A4),10) | The same value carried to ten decimal places | 0.0390835557 | 0.0390835557Provenance0.039083555706800473296 at ten places. The legacy alias must agree with the modern spelling here to ten places, which is the point of asserting both: this corpus has already found several cases (GAMMADIST vs GAMMA.DIST in batch D, FTEST vs F.TEST in batches C and D) where the legacy name and its replacement disagree about the same documented behaviour. |
Matched |
| =LOGNORMDIST(0,A3,A4) | An x of zero, which the page excludes | 0 | #NUM!ProvenanceExcel documents: "If x <= 0 or if Standard_dev <= 0, LOGNORMDIST returns the #NUM! error value." Word for word the same exclusion its replacement LOGNORM.DIST documents, so the two spellings are required to behave identically here. EXECUTED RESULT -- A SILENT WRONG ANSWER: all four LibreOffice builds return the NUMBER 0 here instead of the documented #NUM!. Zero is a perfectly plausible value for a cumulative distribution, so a column of non-positive inputs comes back as a column of zeros rather than a visible column of errors -- the same shape batch C found in EXPON.DIST and batch D in GAMMADIST. Both spellings, the legacy LOGNORMDIST and the modern LOGNORM.DIST, do it, so unlike batch D's GAMMADIST/GAMMA.DIST split there is no correct sibling to fall back on. |
Mismatch |
| =LOGNORMDIST(-1,A3,A4) | A negative x, strictly inside the excluded region | 0 | #NUM!ProvenanceThe same documented sentence, asserted away from the boundary so that an engine guarding only the exact value zero is caught. EXECUTED RESULT: 0 on all four builds, the same silent zero as at x = 0 -- so the guard is not merely mis-set at the boundary, it is absent. ln(x) does not exist here at all. |
Mismatch |
| =LOGNORMDIST(A2,A3,0) | A standard deviation of zero, the other half of the same exclusion | #VALUE! | #NUM!ProvenanceExcel documents: "If x <= 0 or if Standard_dev <= 0, LOGNORMDIST returns the #NUM! error value." |
Mismatch |
| =LOGNORMDIST("x",A3,A4) | A non-numeric argument, which the page gives a different error code | #VALUE! | #VALUE!ProvenanceExcel documents: "If any argument is non-numeric, LOGNORMDIST returns the #VALUE! error value." |
Matched |
Docs & syntax
- Excel (desktop): official documentation
- Google Sheets: official documentation
- LibreOffice Calc: official documentation