PHI
Supported, behaves as documentedCategory: Statistical · Last tested 2026-09-01
Real compatibility results for the PHI 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) | Supported, behaves as documented |
LibreOffice version history
We executed the same test cases under each LibreOffice release to show exactly when PHI’s support changed — not documentation claims, real results.
| LibreOffice version | Verdict | Tested |
|---|---|---|
| 24.2.0.3 | Supported, behaves as documented | 2026-08-31 |
| 24.8.7.2 | Supported, behaves as documented | 2026-08-31 |
| 25.2.0.3 | Supported, behaves as documented | 2026-08-31 |
| 25.8.7.3 | Supported, behaves as documented | 2026-08-31 |
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(PHI(0.75),9) | Microsoft's documented worked example | 0.301137432 | 0.301137432ProvenanceMicrosoft publishes =PHI(0.75) = 0.301137432, "The value of the density function for a standard normal distribution". DERIVATION from the density itself, with mpmath at 50 digits and no statistics library: exp(-0.75^2/2)/sqrt(2*pi) = exp(-0.28125)/2.5066282746310002... = 0.30113743215480421..., which is 0.301137432 at nine places -- the published figure, reproduced exactly. Microsoft's page was re-read live on 2026-08-31 at https://support.microsoft.com/en-us/excel/functions/phi-function (the /en-us/office/<name>-function-<guid> path was serving Microsoft's 'Sorry, the page you're looking for can't be found' body throughout this batch, and the working path returns an 87 KB stub about half the time, so pages were fetched with retries until the payload exceeded 150 KB). |
Matched |
| =ROUND(PHI(0.75),12) | The same value carried to twelve decimal places | 0.301137432155 | 0.301137432155ProvenanceNine published decimals are asserted again at twelve: 0.301137432155, from the same exp/sqrt derivation. |
Matched |
| =ROUND(PHI(0),12) | The density at its mode | 0.398942280401 | 0.398942280402ProvenanceAt x = 0 the exponential is 1 and the density is exactly 1/sqrt(2*pi) = 0.3989422804014327..., a constant that depends on nothing but pi. Asserted at twelve places: 0.398942280402. This is the case that catches a normalising constant computed as 1/2.5066 or similar. |
Matched |
| =ROUND(PHI(0.75)-NORM.S.DIST(0.75,FALSE),12) | The documented equivalence to NORM.S.DIST with cumulative FALSE | 0 | 0ProvenanceOpenFormula 1.3 section 6.18.61 defines PHI outright as a synonym: "PHI(N) is a synonym for NORMDIST(N,0,1,FALSE())." This case checks that identity inside the engine -- the difference of the two calls must be exactly zero -- rather than against a constant, so an engine whose two density paths disagree is caught even if each rounds to a published figure on its own. NORM.S.DIST was executed by an earlier batch of this corpus and is supported on all four LibreOffice builds, so a failure here is PHI's. |
Matched |
| =ROUND(PHI(1.25)-PHI(-1.25),12) | The standard normal density is even | 0 | 0ProvenanceThe density depends on x only through x^2, so PHI(x) = PHI(-x) exactly, for every x. No derived constant is involved, and an engine that accidentally implemented the CUMULATIVE distribution instead of the density fails immediately (the CDF is not even). |
Matched |
| =PHI("x") | A non-numeric argument | #VALUE! | #VALUE!ProvenanceMicrosoft documents: "If x is using a data type that is not valid, such as a nonnumeric value, PHI returns the #VALUE! error value", separately from "If x is a numeric value that is not valid, PHI returns the #NUM! 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(PHI(0.75),9) | Microsoft's documented worked example | 0.301137432 | 0.301137432ProvenanceMicrosoft publishes =PHI(0.75) = 0.301137432, "The value of the density function for a standard normal distribution". DERIVATION from the density itself, with mpmath at 50 digits and no statistics library: exp(-0.75^2/2)/sqrt(2*pi) = exp(-0.28125)/2.5066282746310002... = 0.30113743215480421..., which is 0.301137432 at nine places -- the published figure, reproduced exactly. Microsoft's page was re-read live on 2026-08-31 at https://support.microsoft.com/en-us/excel/functions/phi-function (the /en-us/office/<name>-function-<guid> path was serving Microsoft's 'Sorry, the page you're looking for can't be found' body throughout this batch, and the working path returns an 87 KB stub about half the time, so pages were fetched with retries until the payload exceeded 150 KB). |
Matched |
| =ROUND(PHI(0.75),12) | The same value carried to twelve decimal places | 0.3011374322 | 0.301137432155ProvenanceNine published decimals are asserted again at twelve: 0.301137432155, from the same exp/sqrt derivation. |
Matched |
| =ROUND(PHI(0),12) | The density at its mode | 0.3989422804 | 0.398942280402ProvenanceAt x = 0 the exponential is 1 and the density is exactly 1/sqrt(2*pi) = 0.3989422804014327..., a constant that depends on nothing but pi. Asserted at twelve places: 0.398942280402. This is the case that catches a normalising constant computed as 1/2.5066 or similar. |
Matched |
| =ROUND(PHI(0.75)-NORM.S.DIST(0.75,FALSE),12) | The documented equivalence to NORM.S.DIST with cumulative FALSE | 0 | 0ProvenanceOpenFormula 1.3 section 6.18.61 defines PHI outright as a synonym: "PHI(N) is a synonym for NORMDIST(N,0,1,FALSE())." This case checks that identity inside the engine -- the difference of the two calls must be exactly zero -- rather than against a constant, so an engine whose two density paths disagree is caught even if each rounds to a published figure on its own. NORM.S.DIST was executed by an earlier batch of this corpus and is supported on all four LibreOffice builds, so a failure here is PHI's. |
Matched |
| =ROUND(PHI(1.25)-PHI(-1.25),12) | The standard normal density is even | 0 | 0ProvenanceThe density depends on x only through x^2, so PHI(x) = PHI(-x) exactly, for every x. No derived constant is involved, and an engine that accidentally implemented the CUMULATIVE distribution instead of the density fails immediately (the CDF is not even). |
Matched |
| =PHI("x") | A non-numeric argument | #VALUE! | #VALUE!ProvenanceMicrosoft documents: "If x is using a data type that is not valid, such as a nonnumeric value, PHI returns the #VALUE! error value", separately from "If x is a numeric value that is not valid, PHI returns the #NUM! error value". |
Matched |
LibreOffice Calc 25.8.7.3 (tested 2026-08-31)
| Formula | Description | Result | Expected | Verdict |
|---|---|---|---|---|
| =ROUND(PHI(0.75),9) | Microsoft's documented worked example | 0.301137432 | 0.301137432ProvenanceMicrosoft publishes =PHI(0.75) = 0.301137432, "The value of the density function for a standard normal distribution". DERIVATION from the density itself, with mpmath at 50 digits and no statistics library: exp(-0.75^2/2)/sqrt(2*pi) = exp(-0.28125)/2.5066282746310002... = 0.30113743215480421..., which is 0.301137432 at nine places -- the published figure, reproduced exactly. Microsoft's page was re-read live on 2026-08-31 at https://support.microsoft.com/en-us/excel/functions/phi-function (the /en-us/office/<name>-function-<guid> path was serving Microsoft's 'Sorry, the page you're looking for can't be found' body throughout this batch, and the working path returns an 87 KB stub about half the time, so pages were fetched with retries until the payload exceeded 150 KB). |
Matched |
| =ROUND(PHI(0.75),12) | The same value carried to twelve decimal places | 0.301137432155 | 0.301137432155ProvenanceNine published decimals are asserted again at twelve: 0.301137432155, from the same exp/sqrt derivation. |
Matched |
| =ROUND(PHI(0),12) | The density at its mode | 0.398942280401 | 0.398942280402ProvenanceAt x = 0 the exponential is 1 and the density is exactly 1/sqrt(2*pi) = 0.3989422804014327..., a constant that depends on nothing but pi. Asserted at twelve places: 0.398942280402. This is the case that catches a normalising constant computed as 1/2.5066 or similar. |
Matched |
| =ROUND(PHI(0.75)-NORM.S.DIST(0.75,FALSE),12) | The documented equivalence to NORM.S.DIST with cumulative FALSE | 0 | 0ProvenanceOpenFormula 1.3 section 6.18.61 defines PHI outright as a synonym: "PHI(N) is a synonym for NORMDIST(N,0,1,FALSE())." This case checks that identity inside the engine -- the difference of the two calls must be exactly zero -- rather than against a constant, so an engine whose two density paths disagree is caught even if each rounds to a published figure on its own. NORM.S.DIST was executed by an earlier batch of this corpus and is supported on all four LibreOffice builds, so a failure here is PHI's. |
Matched |
| =ROUND(PHI(1.25)-PHI(-1.25),12) | The standard normal density is even | 0 | 0ProvenanceThe density depends on x only through x^2, so PHI(x) = PHI(-x) exactly, for every x. No derived constant is involved, and an engine that accidentally implemented the CUMULATIVE distribution instead of the density fails immediately (the CDF is not even). |
Matched |
| =PHI("x") | A non-numeric argument | #VALUE! | #VALUE!ProvenanceMicrosoft documents: "If x is using a data type that is not valid, such as a nonnumeric value, PHI returns the #VALUE! error value", separately from "If x is a numeric value that is not valid, PHI returns the #NUM! error value". |
Matched |
Docs & syntax
- Excel (desktop): official documentation
- Google Sheets: official documentation
- LibreOffice Calc: official documentation
Where PHI behaves differently
- Your function exists but your file cannot say so: _xlfn storage tokens
Executed: eight IM* functions LibreOffice implements return #NAME? on all four builds because it cannot read Excel's _xlfn. token for them, while COT and CSC only work under that same prefix. Eleven LibreOffice aliases are erased by its own exporter, and a token change between 24.2 and 24.8 makes a 24.8-written file open as #NAME? in 24.2.