xref: /trunk/audit/openformula-function-gaps/biff-function-mapping.tsv (revision 195598447694ec8542914a9b51ae9942e8ebacd9)
1function    opcode  native_evaluator    biff_function_id    biff_import_mapping biff_export_mapping import_status   export_status   classification  source_reference    notes
2NUMBERVALUE ocNumberValue (392) Yes - ScNumberValue()   None (_xlfnodf.NUMBERVALUE) NOID import-only    255 export-only no-biff-id  xlfnodf-export  correct xlformula.cxx:424 (saFuncTable_Odf), interpr4.cxx:3558  ODF namespace function; Excel shows #NAME? (run)
3FINDB   ocFindB (412)   Yes - ScFindB() BIFF2 ID 205    ocFindB both    ocFindB both    biff-both   biff-both   correct xlformula.cxx:211 (saFuncTable_2), interpr4.cxx:3774    Added 2026-11-18; Excel 16 calculates it from an AOO xls (run)
4SEARCHB ocSearchB (413) Yes - ScSearchB()   BIFF2 ID 206    ocSearchB both  ocSearchB both  biff-both   biff-both   correct xlformula.cxx:212 (saFuncTable_2), interpr4.cxx:3775    Added 2026-11-18
5REPLACEB    ocReplaceB (414)    Yes - ScReplaceB()  BIFF2 ID 207    ocReplaceB both ocReplaceB both biff-both   biff-both   correct xlformula.cxx:213 (saFuncTable_2), interpr4.cxx:3776    Added 2026-11-18
6DATEDIF ocDateDif (415) Yes - ScDateDif()   BIFF5 ID 351    ocDateDif both  ocDateDif both  biff-both   biff-both   correct xlformula.cxx:346 (saFuncTable_5), interpr4.cxx:3777    ocNoName fixed in a330cbd51b; export added 2026-11-18; Excel 16 calculates it (run)
7IFNA    ocIfna  Yes - ScIfna()  None (_xlfn.IFNA)   NOID import-only    255 export-only no-biff-id  xlfn-export correct xlformula.cxx:381 (saFuncTable_Oox), interpr4.cxx:3451  Excel future function; not a BIFF native function
8SKEWP   ocSkewP Yes - ScSkewP() None (_xlfn.SKEW.P) NOID import-only    255 export-only no-biff-id  xlfn-export correct xlformula.cxx:387 (saFuncTable_Oox), interpr4.cxx:3699  Excel future function; not a BIFF native function
9IFERROR ocIfError   Yes - ScIfError()   None (_xlfn.IFERROR)    NOID import-only    255 export-only no-biff-id  xlfn-export correct xlformula.cxx:383 (saFuncTable_Oox), interpr4.cxx:3452  Excel future function; not a BIFF native function
10BITAND  ocBitAnd    Yes - ScBitAnd()    None (_xlfn.BITAND) NOID import-only    255 export-only no-biff-id  xlfn-export correct xlformula.cxx:389 (saFuncTable_Oox), interpr4.cxx:3781  Excel future function; not a BIFF native function
11BITOR   ocBitOr Yes - ScBitOr() None (_xlfn.BITOR)  NOID import-only    255 export-only no-biff-id  xlfn-export correct xlformula.cxx:391 (saFuncTable_Oox), interpr4.cxx:3782  Excel future function; not a BIFF native function
12BITXOR  ocBitXor    Yes - ScBitXor()    None (_xlfn.BITXOR) NOID import-only    255 export-only no-biff-id  xlfn-export correct xlformula.cxx:393 (saFuncTable_Oox), interpr4.cxx:3783  Excel future function; not a BIFF native function
13BITLSHIFT   ocBitLShift Yes - ScBitLShift() None (_xlfn.BITLSHIFT)  NOID import-only    255 export-only no-biff-id  xlfn-export correct xlformula.cxx:395 (saFuncTable_Oox), interpr4.cxx:3784  Excel future function; not a BIFF native function
14BITRSHIFT   ocBitRShift Yes - ScBitRShift() None (_xlfn.BITRSHIFT)  NOID import-only    255 export-only no-biff-id  xlfn-export correct xlformula.cxx:397 (saFuncTable_Oox), interpr4.cxx:3785  Excel future function; not a BIFF native function
15ISOWEEKNUM  ocIsoWeekNum (416)  Yes - ScIsoWeekNum()    None (_xlfn.ISOWEEKNUM) NOID import-only    255 export-only no-biff-id  xlfn-export correct xlformula.cxx:385 (saFuncTable_Oox), interpr4.cxx:3516  Added 2026-11-18; Excel 16 calculates it (run)
16WEEKNUM as ODF ISOWEEKNUM   ocWeek (365)    Yes - ScGetWeekOfYear() None (_xlfnodf.ISOWEEKNUM)  NOID import-only    255 export-only no-biff-id  xlfnodf-export  correct xlformula.cxx:422 (saFuncTable_Odf), interpr4.cxx:3515  How AOO writes WEEKNUM(d;mode) under its ODF name
17DDE ocDde (369) Yes - ScDde()   None    none    none    no-mapping  no-mapping  intentional-limitation  interpr4.cxx:3757   DDE is not a BIFF function; no BIFF ID exists; application-level DDE feature
18ODDFPRICE   None (AddIn)    No - Analysis AddIn None    none    none    no-mapping  no-mapping  intentional-limitation  odffmap.cxx:127 Analysis AddIn function; no native opcode; no BIFF mapping
19ODDFYIELD   None (AddIn)    No - Analysis AddIn None    none    none    no-mapping  no-mapping  intentional-limitation  odffmap.cxx:128 Analysis AddIn function; no native opcode; no BIFF mapping
20RRI ocZGZ (256) Yes - ScZGZ()   None (_xlfnodf.RRI) NOID import-only    255 export-only no-biff-id  xlfnodf-export  correct xlformula.cxx:428 (saFuncTable_Odf), interpr4.cxx:3617  ODF namespace function; Excel shows #NAME? (run)
21ERROR.TYPE  ocErrorTypeODF (419)    Yes - ScErrorType(true) BIFF4 ID 261    ocErrorTypeODF both ocErrorTypeODF both biff-both   biff-both   correct xlformula.cxx:260 (saFuncTable_4), interpr4.cxx:3754    Own opcode since 2026-11-18 (run)
22ERRORTYPE   ocErrorType (151)   Yes - ScErrorType() BIFF4 ID 261    none    ocErrorType export-only none    biff-export correct xlformula.cxx:261 (saFuncTable_4), interpr4.cxx:3753    Written as ERROR.TYPE, as before; read back as ERROR.TYPE (run)
23GETPIVOTDATA    ocGetPivotData (390)    Yes - ScGetPivotData()  BIFF8 ID 358    ocGetPivotData both ocGetPivotData both biff-both   biff-both   correct xlformula.cxx:355 (saFuncTable_8), interpr4.cxx:3767    Native BIFF8 function with both import and export
24FDIST   ocFDist (315)   Yes - ScFDist() BIFF4 ID 281    ocFDist both    ocFDist both    biff-both   biff-both   correct xlformula.cxx:274 (saFuncTable_4), interpr4.cxx:3690    Legacy right tail; unchanged (run)
25FINV    ocFInv (359)    Yes - ScFInv()  BIFF4 ID 282    ocFInv both ocFInv both biff-both   biff-both   correct xlformula.cxx:275 (saFuncTable_4), interpr4.cxx:3744    Legacy right tail; unchanged (run)
26F.DIST  ocFDistLeft (417)   Yes - ScFDistLeft() None (_xlfn.F.DIST) NOID import-only    255 export-only no-biff-id  xlfn-export correct xlformula.cxx:385-386 (saFuncTable_Oox), interpr4.cxx:3691  ODF FDIST; Excel calculates the 4-argument form, shows #N/A for 3 arguments (run); _xlfnodf.FDIST from older files imports as legacy FDIST (xlformula.cxx:421, run)
27F.INV   ocFInvLeft (418)    Yes - ScFInvLeft()  None (_xlfn.F.INV)  NOID import-only    255 export-only no-biff-id  xlfn-export correct xlformula.cxx:387-388 (saFuncTable_Oox), interpr4.cxx:3745  ODF FINV; Excel calculates it (run); _xlfnodf.FINV from older files imports as legacy FINV (xlformula.cxx:422, run)
28HYPGEOMDIST ocHypGeomDist (312) Yes - ScHypGeomDist()   BIFF4 ID 289    ocHypGeomDist both (4 args) ocHypGeomDist both (4 args) biff-both   biff-both   limitation  xlformula.cxx:282 (saFuncTable_4), interpr4.cxx:3687    Five-argument calls are written as NA() (run)
29HARMEAN ocHarMean (321) Yes - ScHarMean()   BIFF4 ID 320    ocHarMean both  ocHarMean both  biff-both   biff-both   correct xlformula.cxx:313 (saFuncTable_4), interpr4.cxx:3703    Native BIFF4 function with both import and export
30LEFTB   ocLeftB (402)   Yes - ScLeftB() BIFF2 ID 208    ocLeftB both    ocLeftB both    biff-both   biff-both   correct xlformula.cxx:214 (saFuncTable_2), interpr4.cxx:3772    Native BIFF2 function with both import and export
31RIGHTB  ocRightB (401)  Yes - ScRightB()    BIFF2 ID 209    ocRightB both   ocRightB both   biff-both   biff-both   correct xlformula.cxx:215 (saFuncTable_2), interpr4.cxx:3771    Native BIFF2 function with both import and export
32MIDB    ocMidB (403)    Yes - ScMidB()  BIFF2 ID 210    ocMidB both ocMidB both biff-both   biff-both   correct xlformula.cxx:216 (saFuncTable_2), interpr4.cxx:3773    Native BIFF2 function with both import and export
33LENB    ocLenB (400)    Yes - ScLenB()  BIFF2 ID 211    ocLenB both ocLenB both biff-both   biff-both   correct xlformula.cxx:217 (saFuncTable_2), interpr4.cxx:3770    Native BIFF2 function with both import and export
34