This is an automated email from the ASF dual-hosted git repository. jimjag pushed a commit to branch openformula in repository https://gitbox.apache.org/repos/asf/openoffice.git
commit 8501d2b60c8391294370b6b46ee16d4e87e13c09 Author: Jim Jagielski <[email protected]> AuthorDate: Wed Nov 18 11:52:46 2026 -0500 oox: read _xlfn.F.DIST, F.INV, NUMBERVALUE and RRI from xlsx --- audit/openformula-function-gaps/biff-function-mapping-audit.md | 4 ++-- audit/openformula-function-gaps/function-gap-inventory.md | 8 ++++---- audit/openformula-function-gaps/function-gap-summary.tsv | 8 ++++---- audit/openformula-function-gaps/function-semantic-test-plan.md | 2 +- audit/openformula-function-gaps/function-source-audit.md | 6 +++--- main/oox/source/xls/formulabase.cxx | 6 +++++- odf_docs/openformula-release-notes.md | 3 ++- 7 files changed, 21 insertions(+), 16 deletions(-) diff --git a/audit/openformula-function-gaps/biff-function-mapping-audit.md b/audit/openformula-function-gaps/biff-function-mapping-audit.md index fde6d8b8bf..d1d1456042 100644 --- a/audit/openformula-function-gaps/biff-function-mapping-audit.md +++ b/audit/openformula-function-gaps/biff-function-mapping-audit.md @@ -171,8 +171,8 @@ mappings, not as a real BIFF function ID for import purposes. The xlsx import is a separate table in oox/source/xls/formulabase.cxx. Since 2026-11-18 it reads FINDB, SEARCHB, REPLACEB, DATEDIF and ERROR.TYPE (run -with a hand-made xlsx); `_xlfn.ISOWEEKNUM`, `_xlfn.F.DIST`, -`_xlfn.NUMBERVALUE` and `_xlfn.RRI` still give #NAME? (run). +with a hand-made xlsx); `_xlfn.F.DIST`, `_xlfn.F.INV`, `_xlfn.NUMBERVALUE` and `_xlfn.RRI` are read too +(run, hand-made xlsx); `_xlfn.ISOWEEKNUM` still gives #NAME? (run). Defects Found ------------- diff --git a/audit/openformula-function-gaps/function-gap-inventory.md b/audit/openformula-function-gaps/function-gap-inventory.md index 6cb41bd8d3..126cade301 100644 --- a/audit/openformula-function-gaps/function-gap-inventory.md +++ b/audit/openformula-function-gaps/function-gap-inventory.md @@ -42,12 +42,12 @@ Summary table of the 15 audited functions plus HYPGEOMDIST (H.9). | DDE | Present (platform-dependent) | ocDde(369) | ScDde() | Yes (HID_FUNC_DDE) | not checked | N/A | No | No | No | n/a (no xlsx export) | Platform-dependent; no file-format mapping | DEFER | HIGH (source) | | ODDFPRICE | Present (AddIn) | None | getOddfprice() (AddIn) | Yes (HID_AAI_FUNC_ODDFPRICE) | Yes (§6.12.31) | not checked | No | No | No | n/a (no xlsx export) | Implemented 2026-11-18 to Excel formulas; 14 of 4524 cases differ from Excel (classified) | Resolved (native opcode deferred) | HIGH (run, Excel 16) | | ODDFYIELD | Present (AddIn) | None | getOddfyield() (AddIn) | Yes (HID_AAI_FUNC_ODDFYIELD) | Yes (§6.12.32) | not checked | No | No | No | n/a (no xlsx export) | Implemented 2026-11-18; bracketed Illinois solver | Resolved (native opcode deferred) | HIGH (run, Excel 16) | -| RRI | Present | ocZGZ(256) | ScZGZ() | Yes (HID_FUNC_ZGZ, 04060118.xhp) | Yes (§6.12.44) | not checked | Yes(_xlfnodf.RRI) | No (_xlfn.RRI gives #NAME?) | _xlfnodf.RRI (Excel #NAME?) | n/a (no xlsx export) | No validation of N > 0; ODF/English name RRI since 2026-11-18, ZGZ alias | P3 | HIGH (run, Excel 16) | +| RRI | Present | ocZGZ(256) | ScZGZ() | Yes (HID_FUNC_ZGZ, 04060118.xhp) | Yes (§6.12.44) | not checked | Yes(_xlfnodf.RRI) | Yes (_xlfn.RRI) | _xlfnodf.RRI (Excel #NAME?) | n/a (no xlsx export) | No validation of N > 0; ODF/English name RRI since 2026-11-18, ZGZ alias | P3 | HIGH (run, Excel 16) | | ERROR.TYPE | Present | ocErrorTypeODF(419) | ScErrorType(true) | Yes (HID_FUNC_ERROR_TYPE_ODF) | Yes (§6.13.11) | Large Group (not rechecked) | Yes(BIFF4,ID261) | Yes | Yes(BIFF4,ID261) | n/a (no xlsx export) | Own opcode since 2026-11-18 (Jim); mapping like XclTools::GetXclErrorCode; ERRORTYPE unchanged | Resolved | HIGH (run, Excel 16) | -| NUMBERVALUE | Present | ocNumberValue(392) | ScNumberValue() | Yes (HID_FUNC_NUMBERVALUE) | Yes (§6.13.28) | not checked | Yes(_xlfnodf.NUMBERVALUE) | No (_xlfn.NUMBERVALUE gives #NAME?) | _xlfnodf.NUMBERVALUE (Excel #NAME?) | n/a (no xlsx export) | ODF steps since 2026-11-18; empty text and empty GroupSeparator differ from Excel on purpose | Resolved | HIGH (run, Excel 16) | +| NUMBERVALUE | Present | ocNumberValue(392) | ScNumberValue() | Yes (HID_FUNC_NUMBERVALUE) | Yes (§6.13.28) | not checked | Yes(_xlfnodf.NUMBERVALUE) | Yes (_xlfn.NUMBERVALUE) | _xlfnodf.NUMBERVALUE (Excel #NAME?) | n/a (no xlsx export) | ODF steps since 2026-11-18; empty text and empty GroupSeparator differ from Excel on purpose | Resolved | HIGH (run, Excel 16) | | GETPIVOTDATA | Present | ocGetPivotData(390) | ScGetPivotData() | Yes (HID_FUNC_GETPIVOTDATA) | not checked | N/A | Yes(BIFF8,ID358) | Yes (import-only row, not run) | Yes(BIFF8) | n/a (no xlsx export) | DataPilot-dependent | P3 | HIGH (source) | -| FDIST | Present | ocFDistLeft(417) for ODF FDIST; ocFDist(315) is LEGACY.FDIST | ScFDistLeft() | Yes (HID_FUNC_F_DIST_LEFT) | Yes (§6.18.22) | N/A | Yes(`_xlfn.F.DIST`; `_xlfnodf.FDIST` reads as legacy FDIST) | No (`_xlfn.F.DIST` gives #NAME?) | `_xlfn.F.DIST` (Excel calculates 4 args, #N/A for 3) | n/a (no xlsx export) | New opcode 2026-11-18 (Jim); legacy FDIST unchanged | Resolved | HIGH (run, Excel 16) | -| FINV | Present | ocFInvLeft(418) for ODF FINV; ocFInv(359) is LEGACY.FINV | ScFInvLeft() | Yes (HID_FUNC_F_INV_LEFT) | Yes (§6.18.24) | N/A | Yes(`_xlfn.F.INV`; `_xlfnodf.FINV` reads as legacy FINV) | No (`_xlfn.F.INV` not mapped) | `_xlfn.F.INV` (Excel calculates it) | n/a (no xlsx export) | New opcode 2026-11-18 (Jim); legacy FINV unchanged | Resolved | HIGH (run, Excel 16) | +| FDIST | Present | ocFDistLeft(417) for ODF FDIST; ocFDist(315) is LEGACY.FDIST | ScFDistLeft() | Yes (HID_FUNC_F_DIST_LEFT) | Yes (§6.18.22) | N/A | Yes(`_xlfn.F.DIST`; `_xlfnodf.FDIST` reads as legacy FDIST) | Yes (`_xlfn.F.DIST`, 4 args) | `_xlfn.F.DIST` (Excel calculates 4 args, #N/A for 3) | n/a (no xlsx export) | New opcode 2026-11-18 (Jim); legacy FDIST unchanged | Resolved | HIGH (run, Excel 16) | +| FINV | Present | ocFInvLeft(418) for ODF FINV; ocFInv(359) is LEGACY.FINV | ScFInvLeft() | Yes (HID_FUNC_F_INV_LEFT) | Yes (§6.18.24) | N/A | Yes(`_xlfn.F.INV`; `_xlfnodf.FINV` reads as legacy FINV) | Yes (`_xlfn.F.INV`) | `_xlfn.F.INV` (Excel calculates it) | n/a (no xlsx export) | New opcode 2026-11-18 (Jim); legacy FINV unchanged | Resolved | HIGH (run, Excel 16) | | HYPGEOMDIST | Present | ocHypGeomDist(312) | ScHypGeomDist() | Yes (HID_FUNC_HYPGEOMVERT) | Yes (§6.18.37) | not checked | Yes(BIFF4,ID289) | Yes | Yes(BIFF4,ID289; 5 args written as NA()) | n/a (no xlsx export) | Cumulative added (H.9); PMF replaced 2026-11-18 (trunk gave 3.2E+181 for large args) | Resolved | HIGH (run, Excel 16) | | HARMEAN | Present | ocHarMean(321) | ScHarMean() | Yes (HID_FUNC_HARMITTEL, 04060182.xhp) | Yes (not rechecked) | not checked | Yes(BIFF4,ID320) | Yes | Yes(BIFF4,ID320) | n/a (no xlsx export) | None found | P3 | HIGH (source) | diff --git a/audit/openformula-function-gaps/function-gap-summary.tsv b/audit/openformula-function-gaps/function-gap-summary.tsv index f37519861c..627f2ff47b 100644 --- a/audit/openformula-function-gaps/function-gap-summary.tsv +++ b/audit/openformula-function-gaps/function-gap-summary.tsv @@ -7,11 +7,11 @@ ISOWEEKNUM Yes Large Group (not rechecked) ocIsoWeekNum(416) ISOWEEKNUM ScIsoWee DDE not checked N/A ocDde(369) DDE ScDde() Yes (HID_FUNC_DDE) No No No n/a (no xlsx export) Platform-dependent; no file-format mapping DEFER HIGH (source) interpr2.cxx ScDde(); DDE via sfx2::LinkManager; disabled in server mode ODDFPRICE Yes (§6.12.31) not checked None ODDFPRICE getOddfprice() (AddIn) Yes (HID_AAI_FUNC_ODDFPRICE) No No No n/a (no xlsx export) Implemented 2026-11-18 to Excel formulas; 14 of 4524 cases differ from Excel (classified) Resolved (native opcode deferred) HIGH (run, Excel 16) odffmap.cxx:127; financial.cxx:404; analysishelper.cxx GetOddfprice(); 04060118.xhp ODDFYIELD Yes (§6.12.32) not checked None ODDFYIELD getOddfyield() (AddIn) Yes (HID_AAI_FUNC_ODDFYIELD) No No No n/a (no xlsx export) Implemented 2026-11-18; bracketed Illinois solver Resolved (native opcode deferred) HIGH (run, Excel 16) odffmap.cxx:128; financial.cxx:416; analysishelper.cxx GetOddfyield(); 04060118.xhp -RRI Yes (§6.12.44) not checked ocZGZ(256) RRI (ZGZ read) ScZGZ() Yes (HID_FUNC_ZGZ, 04060118.xhp) Yes(_xlfnodf.RRI) No (_xlfn.RRI gives #NAME?) _xlfnodf.RRI (Excel #NAME?) n/a (no xlsx export) No validation of N > 0; ODF/English name RRI since 2026-11-18, ZGZ alias P3 HIGH (run, Excel 16) interpr2.cxx ScZGZ(); FormulaCompiler.cxx:695 alias; xlformula.cxx:428 +RRI Yes (§6.12.44) not checked ocZGZ(256) RRI (ZGZ read) ScZGZ() Yes (HID_FUNC_ZGZ, 04060118.xhp) Yes(_xlfnodf.RRI) Yes (_xlfn.RRI) _xlfnodf.RRI (Excel #NAME?) n/a (no xlsx export) No validation of N > 0; ODF/English name RRI since 2026-11-18, ZGZ alias P3 HIGH (run, Excel 16) interpr2.cxx ScZGZ(); FormulaCompiler.cxx:695 alias; xlformula.cxx:428 ERROR.TYPE Yes (§6.13.11) Large Group (not rechecked) ocErrorTypeODF(419) ERROR.TYPE ScErrorType(true) Yes (HID_FUNC_ERROR_TYPE_ODF) Yes(BIFF4,ID261) Yes Yes(BIFF4,ID261) n/a (no xlsx export) Own opcode since 2026-11-18 (Jim); mapping like XclTools::GetXclErrorCode; ERRORTYPE unchanged Resolved HIGH (run, Excel 16) compiler.hrc:415; interpr1.cxx lcl_ErrorTypeODF(); xlformula.cxx:260; formulabase.cxx:486; func_errortype.xhp -NUMBERVALUE Yes (§6.13.28) not checked ocNumberValue(392) NUMBERVALUE ScNumberValue() Yes (HID_FUNC_NUMBERVALUE) Yes(_xlfnodf.NUMBERVALUE) No (_xlfn.NUMBERVALUE gives #NAME?) _xlfnodf.NUMBERVALUE (Excel #NAME?) n/a (no xlsx export) ODF steps since 2026-11-18; empty text and empty GroupSeparator differ from Excel on purpose Resolved HIGH (run, Excel 16) compiler.hrc:388; interpr1.cxx ScNumberValue(); xlformula.cxx:424 +NUMBERVALUE Yes (§6.13.28) not checked ocNumberValue(392) NUMBERVALUE ScNumberValue() Yes (HID_FUNC_NUMBERVALUE) Yes(_xlfnodf.NUMBERVALUE) Yes (_xlfn.NUMBERVALUE) _xlfnodf.NUMBERVALUE (Excel #NAME?) n/a (no xlsx export) ODF steps since 2026-11-18; empty text and empty GroupSeparator differ from Excel on purpose Resolved HIGH (run, Excel 16) compiler.hrc:388; interpr1.cxx ScNumberValue(); xlformula.cxx:424 GETPIVOTDATA not checked N/A ocGetPivotData(390) GETPIVOTDATA ScGetPivotData() Yes (HID_FUNC_GETPIVOTDATA) Yes(BIFF8,ID358) Yes (import-only row, not run) Yes(BIFF8) n/a (no xlsx export) DataPilot-dependent P3 HIGH (source) interpr2.cxx ScGetPivotData(); xlformula.cxx:355; formulabase.cxx:692 -FDIST Yes (§6.18.22) N/A ocFDistLeft(417) for ODF FDIST; ocFDist(315) is LEGACY.FDIST F.DIST (ODF FDIST) ScFDistLeft() Yes (HID_FUNC_F_DIST_LEFT) Yes(_xlfn.F.DIST; _xlfnodf.FDIST reads as legacy FDIST) No (_xlfn.F.DIST gives #NAME?) _xlfn.F.DIST (Excel calculates 4 args, #N/A for 3) n/a (no xlsx export) New opcode 2026-11-18 (Jim); legacy FDIST unchanged Resolved HIGH (run, Excel 16) compiler.hrc:413; interpr3.cxx ScFDistLeft(); xlformula.cxx:385-386; 04060182.xhp -FINV Yes (§6.18.24) N/A ocFInvLeft(418) for ODF FINV; ocFInv(359) is LEGACY.FINV F.INV (ODF FINV) ScFInvLeft() Yes (HID_FUNC_F_INV_LEFT) Yes(_xlfn.F.INV; _xlfnodf.FINV reads as legacy FINV) No (_xlfn.F.INV not mapped) _xlfn.F.INV (Excel calculates it) n/a (no xlsx export) New opcode 2026-11-18 (Jim); legacy FINV unchanged Resolved HIGH (run, Excel 16) compiler.hrc:414; interpr3.cxx ScFInvLeft(); xlformula.cxx:387-388; 04060182.xhp +FDIST Yes (§6.18.22) N/A ocFDistLeft(417) for ODF FDIST; ocFDist(315) is LEGACY.FDIST F.DIST (ODF FDIST) ScFDistLeft() Yes (HID_FUNC_F_DIST_LEFT) Yes(_xlfn.F.DIST; _xlfnodf.FDIST reads as legacy FDIST) Yes (_xlfn.F.DIST, 4 args) _xlfn.F.DIST (Excel calculates 4 args, #N/A for 3) n/a (no xlsx export) New opcode 2026-11-18 (Jim); legacy FDIST unchanged Resolved HIGH (run, Excel 16) compiler.hrc:413; interpr3.cxx ScFDistLeft(); xlformula.cxx:385-386; 04060182.xhp +FINV Yes (§6.18.24) N/A ocFInvLeft(418) for ODF FINV; ocFInv(359) is LEGACY.FINV F.INV (ODF FINV) ScFInvLeft() Yes (HID_FUNC_F_INV_LEFT) Yes(_xlfn.F.INV; _xlfnodf.FINV reads as legacy FINV) Yes (_xlfn.F.INV) _xlfn.F.INV (Excel calculates it) n/a (no xlsx export) New opcode 2026-11-18 (Jim); legacy FINV unchanged Resolved HIGH (run, Excel 16) compiler.hrc:414; interpr3.cxx ScFInvLeft(); xlformula.cxx:387-388; 04060182.xhp HYPGEOMDIST Yes (§6.18.37) not checked ocHypGeomDist(312) HYPGEOMDIST ScHypGeomDist() Yes (HID_FUNC_HYPGEOMVERT) Yes(BIFF4,ID289) Yes Yes(BIFF4,ID289; 5 args written as NA()) n/a (no xlsx export) Cumulative added (H.9); PMF replaced 2026-11-18 (trunk gave 3.2E+181 for large args) Resolved HIGH (run, Excel 16) compiler.hrc:308; interpr3.cxx GetHypGeomDist(); xlformula.cxx:282; 04060182.xhp HARMEAN Yes (not rechecked) not checked ocHarMean(321) HARMEAN ScHarMean() Yes (HID_FUNC_HARMITTEL, 04060182.xhp) Yes(BIFF4,ID320) Yes Yes(BIFF4,ID320) n/a (no xlsx export) None found P3 HIGH (source) interpr3.cxx ScHarMean(); xlformula.cxx:313; formulabase.cxx:538 diff --git a/audit/openformula-function-gaps/function-semantic-test-plan.md b/audit/openformula-function-gaps/function-semantic-test-plan.md index 0347693c42..4b834d1a37 100644 --- a/audit/openformula-function-gaps/function-semantic-test-plan.md +++ b/audit/openformula-function-gaps/function-semantic-test-plan.md @@ -231,7 +231,7 @@ Test cases: e) =RRI(10;-100;200) — negative Pv (not run) f) =RRI(10;100) — wrong arg count (error) g) xls: `_xlfnodf.RRI` (AOO reads it back, Excel #NAME?); xlsx - `_xlfn.RRI` gives #NAME? + `_xlfn.RRI` is read Expected: ScZGZ() (interpr2.cxx) computes pow(Fv/Pv, 1/N) - 1 with NO validation. c) to e) are not checked by the code. diff --git a/audit/openformula-function-gaps/function-source-audit.md b/audit/openformula-function-gaps/function-source-audit.md index 2129e4eed0..1d3e5cca5e 100644 --- a/audit/openformula-function-gaps/function-source-audit.md +++ b/audit/openformula-function-gaps/function-source-audit.md @@ -438,7 +438,7 @@ C. Format compatibility - ODF: of:RRI written; of:ZGZ and of:RRI read (run). - XLS: `_xlfnodf.RRI`; AOO reads it back, Excel shows #NAME? (run). -- XLSX import: `_xlfn.RRI` gives #NAME? (run). +- XLSX import: `_xlfn.RRI` is read (run, 2026-11-18). D. Documentation: English help (04060118.xhp, unchanged from trunk). @@ -542,7 +542,7 @@ B. Actual implementation: the ODF steps in order: group separators C. Format compatibility - XLS: `_xlfnodf.NUMBERVALUE`; AOO reads it back, Excel shows #NAME? (run). -- XLSX import: `_xlfn.NUMBERVALUE` gives #NAME? (run). +- XLSX import: `_xlfn.NUMBERVALUE` is read (run, 2026-11-18). D. Documentation: func_numbervalue.xhp (rules added 2026-11-18). @@ -636,7 +636,7 @@ C. Format compatibility - ODF: of:FDIST ↔ F.DIST, of:LEGACY.FDIST ↔ FDIST (run, round trip). - XLS: FDIST as 281 (run); F.DIST as `_xlfn.F.DIST`, Excel calculates the 4-argument form (run); `_xlfnodf.FDIST` from an older xls reads as FDIST (run). -- XLSX: FDIST (281) read (run); `_xlfn.F.DIST` gives #NAME? (run). +- XLSX: FDIST (281) read (run); `_xlfn.F.DIST` is read (run, 2026-11-18). D. Documentation: FDIST help as on trunk; F.DIST section added. diff --git a/main/oox/source/xls/formulabase.cxx b/main/oox/source/xls/formulabase.cxx index 314b879aa7..3a94b16c74 100644 --- a/main/oox/source/xls/formulabase.cxx +++ b/main/oox/source/xls/formulabase.cxx @@ -734,7 +734,11 @@ static const FunctionData saFuncTableOox[] = { "BITOR", "BITOR", NOID, NOID, 2, 2, V, { VR }, FUNCFLAG_MACROCALL }, { "BITXOR", "BITXOR", NOID, NOID, 2, 2, V, { VR }, FUNCFLAG_MACROCALL }, { "BITLSHIFT", "BITLSHIFT", NOID, NOID, 2, 2, V, { VR }, FUNCFLAG_MACROCALL }, - { "BITRSHIFT", "BITRSHIFT", NOID, NOID, 2, 2, V, { VR }, FUNCFLAG_MACROCALL } + { "BITRSHIFT", "BITRSHIFT", NOID, NOID, 2, 2, V, { VR }, FUNCFLAG_MACROCALL }, + { "FDIST", "F.DIST", NOID, NOID, 4, 4, V, { VR }, FUNCFLAG_MACROCALL }, + { "FINV", "F.INV", NOID, NOID, 3, 3, V, { VR }, FUNCFLAG_MACROCALL }, + { "NUMBERVALUE", "NUMBERVALUE", NOID, NOID, 1, 3, V, { VR }, FUNCFLAG_MACROCALL }, + { "RRI", "RRI", NOID, NOID, 3, 3, V, { VR }, FUNCFLAG_MACROCALL } }; /** Functions defined by OpenFormula, but not supported by Calc or by Excel. */ diff --git a/odf_docs/openformula-release-notes.md b/odf_docs/openformula-release-notes.md index 45de43bfaf..327f860334 100644 --- a/odf_docs/openformula-release-notes.md +++ b/odf_docs/openformula-release-notes.md @@ -64,6 +64,7 @@ As-of 2026-11-18. - xls and xlsx: ERROR.TYPE in an Excel file is read as ERROR.TYPE. It used to be read as ERRORTYPE and gave the internal error number. ERRORTYPE is still saved as ERROR.TYPE, so in an xls it comes back as ERROR.TYPE. - xlsx: we read DATEDIF, FINDB, SEARCHB and REPLACEB. - xlsx: we read `_xlfn.BITAND` and plain `BITAND`, and the same for the other four bit functions. They gave #NAME? before. +- xlsx: we read `_xlfn.F.DIST`, `_xlfn.F.INV`, `_xlfn.NUMBERVALUE` and `_xlfn.RRI`. They gave #NAME? before. ## Known limitations @@ -73,7 +74,7 @@ As-of 2026-11-18. - SKEWP of symmetric data can return a tiny leftover like 3.7E-17 instead of 0. - DCOUNT and DCOUNTA with field 0 count all the matching records instead of giving an error. An empty criteria cell is ignored, so `DCOUNT(R1:T6;"Age";W1:W2)` counts all 5 records. - xls: HYPGEOMDIST with five arguments is saved as `NA()`; the xls function only takes four. NUMBERVALUE and RRI are saved under ODF names that we read back but Excel shows as #NAME?. F.DIST with three arguments is saved as `_xlfn.F.DIST`, which Excel shows as #N/A because it wants four. -- xlsx: `_xlfn.ISOWEEKNUM`, `_xlfn.F.DIST`, `_xlfn.F.INV`, `_xlfn.NUMBERVALUE` and `_xlfn.RRI` give #NAME?. +- xlsx: `_xlfn.ISOWEEKNUM` gives #NAME?. - ERROR.TYPE gives an `Err:` error the number Excel gets when the file is saved as xls, so `ERROR.TYPE(SQRT(-1))` is 3 (`Err:502` becomes #VALUE!). Excel gives 6. - NUMBERVALUE of empty text is an error, as ODF says; Excel gives 0. An empty GroupSeparator is fine here and an error in Excel. - DATEDIF "yd" from February 29, 2020 to March 1, 2023 gives 1; Excel gives 0.
