[MS-XLSB]:
Excel (.xlsb) Binary File Format
Intellectual Property Rights Notice for Open Specifications Documentation Technical Documentation. Microsoft publishes Open Specifications documentation (“this documentation”) for protocols, file formats, data portability, computer languages, and standards support. Additionally, overview documents cover inter-protocol relationships and interactions. Copyrights. This documentation is covered by Microsoft copyrights. Regardless of any other terms that are contained in the terms of use for the Microsoft website that hosts this documentation, you can make copies of it in order to develop implementations of the technologies that are described in this documentation and can distribute portions of it in your implementations that use these technologies or in your documentation as necessary to properly document the implementation. You can also distribute in your implementation, with or without modification, any schemas, IDLs, or code samples that are included in the documentation. This permission also applies to any documents that are referenced in the Open Specifications documentation. No Trade Secrets. Microsoft does not claim any trade secret rights in this documentation. Patents. Microsoft has patents that might cover your implementations of the technologies described in the Open Specifications documentation. Neither this notice nor Microsoft's delivery of this documentation grants any licenses under those patents or any other Microsoft patents. However, a given Open Specifications document might be covered by the Microsoft Open Specifications Promise or the Microsoft Community Promise. If you would prefer a written license, or if the technologies described in this documentation are not covered by the Open Specifications Promise or Community Promise, as applicable, patent licenses are available by contacting iplg@microsoft.com. License Programs. To see all of the protocols in scope under a specific license program and the associated patents, visit the Patent Map. Trademarks. The names of companies and products contained in this documentation might be covered by trademarks or similar intellectual property rights. This notice does not grant any licenses under those rights. For a list of Microsoft trademarks, visit www.microsoft.com/trademarks. Fictitious Names. The example companies, organizations, products, domain names, email addresses, logos, people, places, and events that are depicted in this documentation are fictitious. No association with any real company, organization, product, domain name, email address, logo, person, place, or event is intended or should be inferred. Reservation of Rights. All other rights are reserved, and this notice does not grant any rights other than as specifically described above, whether by implication, estoppel, or otherwise.
Tools. The Open Specifications documentation does not require the use of Microsoft programming tools or programming environments in order for you to develop an implementation. If you have access to Microsoft programming tools and environments, you are free to take advantage of them. Certain Open Specifications documents are intended for use in conjunction with publicly available standards specifications and network programming art and, as such, assume that the reader either is familiar with the aforementioned material or has immediate access to it.
Support. For questions and support, please contact dochelp@microsoft.com.
1 / 1118
[MS-XLSB] - v20251113
Excel (.xlsb) Binary File Format
Copyright © 2025 Microsoft Corporation
Release: November 13, 2025
Revision Summary
Revision Revision
Date History Class Comments
6/27/2008 1.0 New First release
10/6/2008 1.02 Minor Revised and edited the technical content
12/12/2008 1.03 Minor Revised and edited the technical content
1/16/2009 1.04 Minor Updated the Intellectual Property Rights Notice
7/13/2009 1.05 Major Revised and edited the technical content
8/28/2009 1.06 Editorial Revised and edited the technical content
11/6/2009 1.07 Editorial Revised and edited the technical content
2/19/2010 2.0 Major Updated and revised the technical content
3/31/2010 2.01 Editorial Revised and edited the technical content
4/30/2010 2.02 Editorial Revised and edited the technical content
6/7/2010 2.03 Editorial Revised and edited the technical content
6/29/2010 2.04 Editorial Changed language and formatting in the technical content.
7/23/2010 2.04 None No changes to the meaning, language, or formatting of the technical content.
9/27/2010 2.05 Minor Clarified the meaning of the technical content.
11/15/2010 2.05 None No changes to the meaning, language, or formatting of the technical content.
12/17/2010 2.05 None No changes to the meaning, language, or formatting of the technical content.
3/18/2011 2.6 Minor Clarified the meaning of the technical content.
6/10/2011 2.6 None No changes to the meaning, language, or formatting of the technical content.
1/20/2012 3.0 Major Significantly changed the technical content.
4/11/2012 3.0 None No changes to the meaning, language, or formatting of the technical content.
7/16/2012 4.0 Major Significantly changed the technical content.
10/8/2012 5.0 Major Significantly changed the technical content.
2/11/2013 5.1 Minor Clarified the meaning of the technical content.
7/30/2013 5.2 Minor Clarified the meaning of the technical content.
11/18/2013 5.2 None No changes to the meaning, language, or formatting of the technical content.
2/10/2014 5.2 None No changes to the meaning, language, or formatting of the technical content.
4/30/2014 5.3 Minor Clarified the meaning of the technical content.
2 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
Revision Revision
Date History Class Comments
7/31/2014 6.0 Major Significantly changed the technical content.
10/30/2014 6.0 None No changes to the meaning, language, or formatting of the technical content.
3/16/2015 7.0 Major Significantly changed the technical content.
9/4/2015 8.0 Major Significantly changed the technical content.
7/15/2016 8.0 None No changes to the meaning, language, or formatting of the technical content.
9/14/2016 8.0 None No changes to the meaning, language, or formatting of the technical content.
9/29/2016 8.0 None No changes to the meaning, language, or formatting of the technical content.
10/17/2016 8.0 None No changes to the meaning, language, or formatting of the technical content.
1/18/2017 9.0 Major Significantly changed the technical content.
6/20/2017 9.1 Minor Clarified the meaning of the technical content.
9/19/2017 9.2 Minor Clarified the meaning of the technical content.
12/12/2017 9.3 Minor Clarified the meaning of the technical content.
4/27/2018 10.0 Major Significantly changed the technical content.
8/28/2018 11.0 Major Significantly changed the technical content.
12/11/2018 11.1 Minor Clarified the meaning of the technical content.
1/11/2019 12.0 Major Significantly changed the technical content.
3/19/2019 12.0 None No changes to the meaning, language, or formatting of the technical content.
9/24/2019 12.1 Minor Clarified the meaning of the technical content.
2/19/2020 12.2 Minor Clarified the meaning of the technical content.
8/18/2020 13.0 Major Significantly changed the technical content.
2/16/2021 13.1 Minor Clarified the meaning of the technical content.
4/22/2021 14.0 Major Significantly changed the technical content.
8/17/2021 15.0 Major Significantly changed the technical content.
11/16/2021 15.0 None No changes to the meaning, language, or formatting of the technical content.
2/15/2022 15.1 Minor Clarified the meaning of the technical content.
5/17/2022 15.2 Minor Clarified the meaning of the technical content.
2/20/2024 16.0 Major Significantly changed the technical content.
4/16/2024 17.0 Major Significantly changed the technical content.
3 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
Revision Revision
Date History Class Comments
5/21/2024 17.1 Minor Clarified the meaning of the technical content.
8/20/2024 18.0 Major Significantly changed the technical content.
2/18/2025 19.0 Major Significantly changed the technical content.
4/4/2025 20.0 Major Significantly changed the technical content.
5/20/2025 20.1 Minor Clarified the meaning of the technical content.
8/19/2025 20.1 None No changes to the meaning, language, or formatting of the technical content.
9/16/2025 21.0 Major Significantly changed the technical content.
11/13/2025 21.1 Minor Clarified the meaning of the technical content.
4 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
Table of Contents 1 Introduction .......................................................................................................... 34 1.1 Glossary ......................................................................................................... 34 1.2 References ...................................................................................................... 53 1.2.1 Normative References ................................................................................. 53 1.2.2 Informative References ............................................................................... 55 1.3 Structure Overview (Synopsis) .......................................................................... 55 1.4 Relationship to Protocols and Other Structures .................................................... 56 1.5 Applicability Statement ..................................................................................... 56 1.6 Versioning and Localization ............................................................................... 56 1.7 Vendor-Extensible Fields ................................................................................... 57 2 Structures ............................................................................................................. 58 2.1 File Structure................................................................................................... 58 2.1.1 Package .................................................................................................... 58 2.1.2 Part .......................................................................................................... 58 2.1.3 Relationship ............................................................................................... 58 2.1.4 Record ...................................................................................................... 59 2.1.5 Collection of Records................................................................................... 59 2.1.6 Future Record ............................................................................................ 60 2.1.6.1 Future Record Mechanism ...................................................................... 60 2.1.6.2 Alternate Content Mechanism ................................................................. 60 2.1.7 Part Enumeration........................................................................................ 61 2.1.7.1 ActiveX ................................................................................................ 63 2.1.7.1.1 Elements ........................................................................................ 65 2.1.7.1.1.1 font.......................................................................................... 65 2.1.7.1.1.2 ocx .......................................................................................... 65 2.1.7.1.1.3 ocxPr........................................................................................ 66 2.1.7.1.1.4 picture...................................................................................... 67 2.1.7.1.2 Simple Types .................................................................................. 67 2.1.7.1.2.1 ST_Persistence .......................................................................... 67 2.1.7.1.2.2 ST_String ................................................................................. 68 2.1.7.2 ActiveX Binary ...................................................................................... 68 2.1.7.3 Attached Toolbars ................................................................................. 68 2.1.7.4 Calculation Chain .................................................................................. 69 2.1.7.5 Chart................................................................................................... 69 2.1.7.6 Chart Drawing ...................................................................................... 69 2.1.7.7 Chart Sheet.......................................................................................... 69 2.1.7.8 Comments ........................................................................................... 70 2.1.7.9 Control Properties ................................................................................. 70 2.1.7.10 Custom Data ........................................................................................ 70 2.1.7.11 Custom Data Properties ......................................................................... 70 2.1.7.12 Custom Property ................................................................................... 70 2.1.7.13 Custom XML Data Storage ..................................................................... 71 2.1.7.14 Custom XML Data Storage Properties ...................................................... 71 2.1.7.15 Custom XML Maps ................................................................................. 71 2.1.7.16 Diagram Colors..................................................................................... 71 2.1.7.17 Diagram Data ....................................................................................... 71 2.1.7.18 Diagram Layout Definition...................................................................... 71 2.1.7.19 Diagram Styles ..................................................................................... 71 2.1.7.20 Dialog Sheet......................................................................................... 71 2.1.7.21 Digital Signature Origin.......................................................................... 72 2.1.7.22 Digital Signature XML Signature.............................................................. 72 2.1.7.23 Drawings ............................................................................................. 72 2.1.7.23.1 compatSp ....................................................................................... 72 2.1.7.23.2 CT_CompatShape ............................................................................ 73
5 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
2.1.7.24 External Data Connections ..................................................................... 73
2.1.7.25 External Link ........................................................................................ 73
2.1.7.26 File Properties, Core .............................................................................. 74
2.1.7.27 File Properties, Custom .......................................................................... 74
2.1.7.28 File Properties, Extended ....................................................................... 74
2.1.7.29 File Properties, Thumbnail ...................................................................... 75
2.1.7.30 Images ................................................................................................ 75
2.1.7.31 International Macro Sheet ...................................................................... 75
2.1.7.32 Macro Sheet ......................................................................................... 75
2.1.7.33 Macro Sheet Binary Index ...................................................................... 76
2.1.7.34 Metadata ............................................................................................. 76
2.1.7.35 Model .................................................................................................. 77
2.1.7.36 OLE Object ........................................................................................... 77
2.1.7.37 OLE Package ........................................................................................ 77
2.1.7.38 PivotCache Definition............................................................................. 77
2.1.7.39 PivotCache Records ............................................................................... 78
2.1.7.40 PivotTable ............................................................................................ 78
2.1.7.41 Printer Settings..................................................................................... 79
2.1.7.42 Query Table ......................................................................................... 79
2.1.7.43 Revision Headers .................................................................................. 79
2.1.7.44 Revision Log......................................................................................... 80
2.1.7.45 Shared Strings...................................................................................... 80
2.1.7.46 Single Cell Tables.................................................................................. 81
2.1.7.47 Slicer Cache ......................................................................................... 81
2.1.7.48 Slicers ................................................................................................. 81
2.1.7.49 Sort Map.............................................................................................. 82
2.1.7.50 Styles.................................................................................................. 82
2.1.7.51 Table ................................................................................................... 82
2.1.7.52 Theme ................................................................................................. 83
2.1.7.53 Timeline Cache ..................................................................................... 83
2.1.7.54 Timelines ............................................................................................. 83
2.1.7.55 User Names ......................................................................................... 84
2.1.7.56 VBA Project .......................................................................................... 84
2.1.7.57 VBA Project Agile Signature.................................................................... 85
2.1.7.58 VBA Project Signature ........................................................................... 85
2.1.7.59 VML Drawings....................................................................................... 85
2.1.7.60 Volatile Dependencies............................................................................ 85
2.1.7.61 Workbook ............................................................................................ 86
2.1.7.62 Worksheet ........................................................................................... 87
2.1.7.63 Worksheet Binary Index......................................................................... 88
2.1.8 Common Productions .................................................................................. 88 2.1.9 Hyperlinks ................................................................................................. 88 2.1.10 External Workbooks .................................................................................... 88 2.1.10.1 External Workbook Base Paths................................................................ 89 2.2 Conceptual Overview ........................................................................................ 89 2.2.1 Cell Table .................................................................................................. 89 2.2.1.1 Retrieval of Last-Calculated Cell Values Without Loading Cell Table ............. 90 2.2.2 Formulas ................................................................................................... 90 2.2.2.1 Operator Tokens ................................................................................... 91 2.2.2.2 Operand Tokens.................................................................................... 91 2.2.2.2.1 Value Class..................................................................................... 91 2.2.2.2.2 Reference Class............................................................................... 91 2.2.2.3 Control Tokens ..................................................................................... 92 2.2.2.4 Display Tokens ..................................................................................... 92 2.2.2.5 Mem Tokens......................................................................................... 92 2.2.2.6 Formula Elements ................................................................................. 92 2.2.3 Charts ....................................................................................................... 92 2.2.3.1 Chart Part ............................................................................................ 92
6 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
2.2.3.2 Pivot Chart ........................................................................................... 92 2.2.4 Metadata ................................................................................................... 92 2.2.4.1 Metadata Types .................................................................................... 93 2.2.4.2 Cell Metadata ....................................................................................... 94 2.2.4.3 Value Metadata..................................................................................... 94 2.2.4.4 Metadata Stores ................................................................................... 94 2.2.4.5 Metadata Block ..................................................................................... 94 2.2.4.6 Metadata Block Stores ........................................................................... 94 2.2.4.7 Metadata String Store ........................................................................... 94 2.2.4.8 MDX Metadata ...................................................................................... 95 2.2.4.8.1 MDX Tuple Metadata ........................................................................ 96 2.2.4.8.2 MDX Set Metadata ........................................................................... 96 2.2.4.8.3 MDX Member Property Metadata ....................................................... 96 2.2.4.8.4 MDX KPI Metadata........................................................................... 96 2.2.4.9 Future Metadata ................................................................................... 97 2.2.5 PivotTables ................................................................................................ 97 2.2.5.1 Data Functionality Level......................................................................... 97 2.2.5.2 PivotCache ........................................................................................... 98 2.2.5.2.1 Source Data.................................................................................... 98 2.2.5.2.1.1 Multiple Consolidation Ranges ..................................................... 99 2.2.5.2.2 Cache Fields ..................................................................................103 2.2.5.2.2.1 Member Properties ....................................................................104 2.2.5.2.3 Cache Items ..................................................................................105 2.2.5.2.4 Grouping .......................................................................................107 2.2.5.2.5 Calculated Fields ............................................................................114 2.2.5.2.6 Calculated Items ............................................................................114 2.2.5.2.7 Cache Hierarchies...........................................................................115 2.2.5.2.7.1 Measures .................................................................................116 2.2.5.2.7.2 KPIs ........................................................................................116 2.2.5.2.7.3 Named Sets .............................................................................116 2.2.5.2.8 OLAP Grouping ...............................................................................116 2.2.5.2.9 OLAP Calculated Members ...............................................................117 2.2.5.2.10 Cache Records ...............................................................................117 2.2.5.2.11 Tuple Cache ...................................................................................118 2.2.5.3 PivotTable View ...................................................................................119 2.2.5.3.1 Relationship to PivotCache...............................................................120 2.2.5.3.2 Pivot Fields ....................................................................................120 2.2.5.3.2.1 Pivot Field Sorting.....................................................................120 2.2.5.3.3 Pivot Items ....................................................................................121 2.2.5.3.4 Pivot Hierarchies ............................................................................122 2.2.5.3.5 Manual Filters ................................................................................122 2.2.5.3.5.1 Non-OLAP Manual Filters............................................................123 2.2.5.3.5.2 OLAP Manual Filters ..................................................................123 2.2.5.3.6 Filtering by Criteria .........................................................................123 2.2.5.3.6.1 Advanced Filters .......................................................................123 2.2.5.3.6.1.1 Label Filters ........................................................................124 2.2.5.3.6.1.2 Date Filters.........................................................................124 2.2.5.3.6.1.3 Value Filters........................................................................124 2.2.5.3.6.2 Simple Filters ...........................................................................125 2.2.5.3.7 PivotTable Axes ..............................................................................125 2.2.5.3.7.1 Page Axis.................................................................................125 2.2.5.3.7.1.1 Non-OLAP Page Filtering.......................................................126 2.2.5.3.7.1.2 OLAP Page Filtering .............................................................126 2.2.5.3.7.2 Row Axis..................................................................................126 2.2.5.3.7.3 Column Axis .............................................................................127 2.2.5.3.7.4 Nesting....................................................................................128 2.2.5.3.7.4.1 Collapsing ..........................................................................128 2.2.5.3.7.4.2 Subtotaling.........................................................................129
7 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
2.2.5.3.7.5 Data Axis .................................................................................131
2.2.5.3.7.5.1 Data Items .........................................................................131
2.2.5.3.7.5.2 Data Field...........................................................................131
2.2.5.3.8 PivotTable Layout ...........................................................................132 2.2.5.3.8.1 Location and Body ....................................................................132 2.2.5.3.8.1.1 Row Area ...........................................................................134 2.2.5.3.8.1.2 Column Area.......................................................................134 2.2.5.3.8.1.3 Page Area...........................................................................135 2.2.5.3.8.1.4 Data Area...........................................................................135 2.2.5.3.8.2 Truncation ...............................................................................136 2.2.5.3.8.3 Pivot Lines ...............................................................................136 2.2.5.3.8.4 Pivot Line Entries ......................................................................137 2.2.5.3.9 PivotTable Rules .............................................................................137 2.2.5.3.10 PivotTable What-if Analysis..............................................................138 2.2.5.4 OLAP Data Model .................................................................................139 2.2.5.5 Non-Worksheet PivotTables ...................................................................140 2.2.5.6 PivotValues .........................................................................................140 2.2.5.6.1 PivotValueCell ................................................................................141 2.2.5.6.1.1 Value ......................................................................................141 2.2.5.6.1.2 Server Formatting.....................................................................141 2.2.6 Styles ......................................................................................................141 2.2.6.1 XFs ....................................................................................................141 2.2.6.1.1 Cell XFs.........................................................................................141 2.2.6.1.2 Cell Styles .....................................................................................142 2.2.6.1.2.1 Cell Style XFs ...........................................................................142 2.2.6.1.2.2 Normal Style ............................................................................142 2.2.6.2 Differential Formatting (DXFs) ...............................................................142 2.2.6.2.1 Conditional Formatting ....................................................................142 2.2.6.2.2 Table Style Elements ......................................................................143 2.2.6.2.3 Table Block-Level Formatting ...........................................................143 2.2.6.2.4 PivotTable Areas.............................................................................143 2.2.6.2.5 Sorting and Filtering .......................................................................143 2.2.6.3 Table Styles ........................................................................................143 2.2.6.3.1 Slicer Styles...................................................................................144 2.2.6.3.2 Timeline Styles ..............................................................................144 2.2.6.4 Format Conflicts...................................................................................144 2.2.7 External References ...................................................................................144 2.2.7.1 External Reference Consumers ..............................................................145 2.2.7.2 Supporting Link ...................................................................................146 2.2.7.3 Supporting Link Record.........................................................................146 2.2.7.4 External Link .......................................................................................146 2.2.7.4.1 External Workbook Links .................................................................147 2.2.7.4.1.1 External Defined Name ..............................................................147 2.2.7.4.1.2 External Cell Cache ...................................................................147 2.2.7.4.1.2.1 External Cells......................................................................147 2.2.7.4.2 DDE Data Source............................................................................148 2.2.7.4.2.1 DDE Data Item .........................................................................148 2.2.7.4.3 OLE Data Source ............................................................................148 2.2.7.4.3.1 OLE Data Item..........................................................................148 2.2.8 External Connections .................................................................................148 2.2.8.1 Connection Name.................................................................................149 2.2.8.2 External Connection Files ......................................................................149 2.2.8.3 OLE DB Connections .............................................................................149 2.2.8.3.1 OLAP Connections ..........................................................................149 2.2.8.4 ODBC Connections ...............................................................................149 2.2.8.5 Web Connections .................................................................................149 2.2.8.6 Text Import Connections.......................................................................150 2.2.8.7 ADO Recordset Connections ..................................................................150
8 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
2.2.8.8 DAO Recordset Connections ..................................................................150
2.2.8.9 Model Data Source Connections .............................................................150
2.2.8.9.1 Model Data Source OLE DB Connections ............................................150
2.2.8.9.2 Model Data Source Data Feed Connections ........................................151
2.2.8.9.3 Model Data Source Worksheet Connections........................................151
2.2.8.9.4 Model Data Source Text import Connections ......................................151
2.2.9 Password Verifier Algorithm ........................................................................151 2.2.10 Strong Password Verifier Algorithm ..............................................................151 2.2.11 Encryption (Password to Open) ...................................................................152 2.2.12 Shared Workbooks.....................................................................................152 2.2.12.1 User Log .............................................................................................153 2.2.12.2 Revision Headers Log ...........................................................................154 2.2.12.3 Revision Logs ......................................................................................154 2.2.12.4 Revision Records..................................................................................154 2.2.12.5 Format Revision...................................................................................154 2.2.12.6 Insertion / Deletion of Rows / Columns Revision ......................................155 2.2.12.7 Move Cells Revision..............................................................................155 2.2.12.8 Change Cells Revision...........................................................................155 2.2.12.9 Undo Chain .........................................................................................156 2.2.12.10 Sort Map.............................................................................................156 2.2.13 Volatile Dependencies ................................................................................156 2.2.13.1 Types .................................................................................................156 2.2.13.2 Main Topic ..........................................................................................156 2.2.13.3 Subtopic Sequences .............................................................................156 2.2.13.4 Cached returned values ........................................................................157 2.2.14 Slicers......................................................................................................157 2.2.14.1 Slicer Cache ........................................................................................157 2.2.14.1.1 Slicer Source Data ..........................................................................157 2.2.14.1.2 Slicer Cache Relationship to PivotCache.............................................157 2.2.14.1.3 Slicer Cache Relationship to PivotTable View ......................................158 2.2.14.1.4 Slicer Items ...................................................................................159 2.2.14.1.4.1 Non-OLAP Slicer Items ..............................................................159 2.2.14.1.4.2 OLAP Slicer Items .....................................................................159 2.2.14.1.5 Slicer Cross Filtering .......................................................................160 2.2.14.2 Slicer View ..........................................................................................160 2.2.14.2.1 Slicer View Relationship to Slicer Cache.............................................160 2.2.14.3 Slicers and Cube Functions....................................................................161 2.2.15 Timelines..................................................................................................161 2.2.15.1 Timeline Cache ....................................................................................161 2.2.15.1.1 Timeline Source Data ......................................................................161 2.2.15.1.2 Timeline Cache Relationship to PivotCache ........................................162 2.2.15.1.3 Timeline Cache Relationship to PivotTable View ..................................162 2.2.15.1.4 Timeline State................................................................................162 2.2.15.2 Timeline View ......................................................................................163 2.2.15.2.1 Timeline View Relationship to Timeline Cache ....................................163 2.2.15.3 Timelines and Cube Functions................................................................163 2.3 Record Enumeration ........................................................................................163 2.3.1 By Name ..................................................................................................163 2.3.2 By Number ...............................................................................................193 2.4 Records .........................................................................................................221 2.4.1 BrtAbsPath15 ............................................................................................221 2.4.2 BrtACBegin ...............................................................................................222 2.4.3 BrtACEnd..................................................................................................222 2.4.4 BrtActiveX ................................................................................................222 2.4.5 BrtAFilterDateGroupItem ............................................................................223 2.4.6 BrtArrFmla ................................................................................................224 2.4.7 BrtBeginActiveXControls .............................................................................225 2.4.8 BrtBeginAFilter ..........................................................................................225
9 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
2.4.9 BrtBeginAutoSortScope ..............................................................................225
2.4.10 BrtBeginBook ............................................................................................226
2.4.11 BrtBeginBookViews ....................................................................................226
2.4.12 BrtBeginBorders ........................................................................................226
2.4.13 BrtBeginBundleShs ....................................................................................226
2.4.14 BrtBeginCacheVersionInfo...........................................................................226
2.4.15 BrtBeginCalcFeatures .................................................................................227
2.4.16 BrtBeginCellIgnoreECs................................................................................227
2.4.17 BrtBeginCellIgnoreECs14 ............................................................................227
2.4.18 BrtBeginCellSmartTag ................................................................................227
2.4.19 BrtBeginCellSmartTags ...............................................................................227
2.4.20 BrtBeginCellStyleXFs ..................................................................................228
2.4.21 BrtBeginCellWatches ..................................................................................228
2.4.22 BrtBeginCellXFs .........................................................................................228
2.4.23 BrtBeginCFRule .........................................................................................228
2.4.24 BrtBeginCFRule14 ......................................................................................234
2.4.25 BrtBeginColBrk ..........................................................................................240
2.4.26 BrtBeginColInfos........................................................................................241
2.4.27 BrtBeginColorPalette ..................................................................................241
2.4.28 BrtBeginColorScale ....................................................................................241
2.4.29 BrtBeginColorScale14.................................................................................241
2.4.30 BrtBeginComment .....................................................................................242
2.4.31 BrtBeginCommentAuthors...........................................................................242
2.4.32 BrtBeginCommentList.................................................................................242
2.4.33 BrtBeginComments ....................................................................................242
2.4.34 BrtBeginConditionalFormatting ....................................................................243
2.4.35 BrtBeginConditionalFormatting14.................................................................243
2.4.36 BrtBeginConditionalFormattings...................................................................244
2.4.37 BrtBeginCRErrs..........................................................................................244
2.4.38 BrtBeginCsView .........................................................................................245
2.4.39 BrtBeginCsViews........................................................................................246
2.4.40 BrtBeginCustomFilters ................................................................................246
2.4.41 BrtBeginCustomFilters14 ............................................................................246
2.4.42 BrtBeginCustomRichFilters ..........................................................................247
2.4.43 BrtBeginDatabar ........................................................................................247
2.4.44 BrtBeginDatabar14 ....................................................................................248
2.4.45 BrtBeginDataFeedPr15 ...............................................................................251
2.4.46 BrtBeginDataModel ....................................................................................251
2.4.47 BrtBeginDbTables15...................................................................................251
2.4.48 BrtBeginDCon ...........................................................................................251
2.4.49 BrtBeginDecoupledPivotCacheIDs ................................................................252
2.4.50 BrtBeginDeletedName ................................................................................252
2.4.51 BrtBeginDeletedNames ...............................................................................253
2.4.52 BrtBeginDim .............................................................................................253
2.4.53 BrtBeginDims ............................................................................................254
2.4.54 BrtBeginDRefs ...........................................................................................254
2.4.55 BrtBeginDVals ...........................................................................................254
2.4.56 BrtBeginDVals14........................................................................................255
2.4.57 BrtBeginDXF14s ........................................................................................255
2.4.58 BrtBeginDXFs ............................................................................................255
2.4.59 BrtBeginDXFs15 ........................................................................................256
2.4.60 BrtBeginDynamicArrayPr ............................................................................256
2.4.61 BrtBeginECDbProps....................................................................................256
2.4.62 BrtBeginECOlapProps .................................................................................257
2.4.63 BrtBeginECParam ......................................................................................259
2.4.64 BrtBeginECParams .....................................................................................261
2.4.65 BrtBeginECTwFldInfo..................................................................................262
2.4.66 BrtBeginECTwFldInfo15 ..............................................................................262
10 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
2.4.67 BrtBeginECTWFldInfoLst .............................................................................262
2.4.68 BrtBeginECTWFldInfoLst15..........................................................................263
2.4.69 BrtBeginECTxtWiz ......................................................................................263
2.4.70 BrtBeginECTxtWiz15 ..................................................................................263
2.4.71 BrtBeginECWebProps .................................................................................264
2.4.72 BrtBeginEcWpTables ..................................................................................266
2.4.73 BrtBeginEsfmd ..........................................................................................267
2.4.74 BrtBeginEsmdb..........................................................................................267
2.4.75 BrtBeginEsmdtinfo .....................................................................................268
2.4.76 BrtBeginEsmdx..........................................................................................268
2.4.77 BrtBeginEsstr ............................................................................................268
2.4.78 BrtBeginExtConn14 ....................................................................................269
2.4.79 BrtBeginExtConn15 ....................................................................................269
2.4.80 BrtBeginExtConnection ...............................................................................271
2.4.81 BrtBeginExtConnections .............................................................................274
2.4.82 BrtBeginExternals ......................................................................................274
2.4.83 BrtBeginFills..............................................................................................274
2.4.84 BrtBeginFilterColumn .................................................................................275
2.4.85 BrtBeginFilters ..........................................................................................275
2.4.86 BrtBeginFmd .............................................................................................276
2.4.87 BrtBeginFmts ............................................................................................276
2.4.88 BrtBeginFnGroup .......................................................................................276
2.4.89 BrtBeginFonts ...........................................................................................276
2.4.90 BrtBeginHeaderFooter ................................................................................277
2.4.91 BrtBeginIconSet ........................................................................................278
2.4.92 BrtBeginIconSet14.....................................................................................279
2.4.93 BrtBeginIndexedColors ...............................................................................280
2.4.94 BrtBeginISXTHCols ....................................................................................280
2.4.95 BrtBeginISXTHRws.....................................................................................281
2.4.96 BrtBeginISXVDCols ....................................................................................281
2.4.97 BrtBeginISXVDRws ....................................................................................282
2.4.98 BrtBeginISXVIs .........................................................................................282
2.4.99 BrtBeginItemUniqueNames .........................................................................283
2.4.100 BrtBeginList ..............................................................................................283
2.4.101 BrtBeginListCol..........................................................................................286
2.4.102 BrtBeginListCols ........................................................................................288
2.4.103 BrtBeginListParts .......................................................................................288
2.4.104 BrtBeginListXmlCPr ....................................................................................288
2.4.105 BrtBeginMap .............................................................................................289
2.4.106 BrtBeginMdx .............................................................................................289
2.4.107 BrtBeginMdxKPI ........................................................................................290
2.4.108 BrtBeginMdxMbrProp..................................................................................290
2.4.109 BrtBeginMdxSet.........................................................................................290
2.4.110 BrtBeginMdxTuple......................................................................................291
2.4.111 BrtBeginMergeCells ....................................................................................292
2.4.112 BrtBeginMetadata ......................................................................................292
2.4.113 BrtBeginMG ..............................................................................................292
2.4.114 BrtBeginMGMaps .......................................................................................292
2.4.115 BrtBeginMgs .............................................................................................293
2.4.116 brtBeginModelRelationships.........................................................................293
2.4.117 BrtBeginModelTables ..................................................................................293
2.4.118 brtBeginModelTimeGrouping .......................................................................293
2.4.119 brtBeginModelTimeGroupings ......................................................................294
2.4.120 BrtBeginMRUColors ....................................................................................294
2.4.121 BrtBeginOledbPr15.....................................................................................294
2.4.122 BrtBeginOleObjects ....................................................................................295
2.4.123 BrtBeginPCD14..........................................................................................295
2.4.124 BrtBeginPCDCalcItem .................................................................................295
11 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
2.4.125 BrtBeginPCDCalcItems ...............................................................................296
2.4.126 BrtBeginPCDCalcMem.................................................................................296
2.4.127 BrtBeginPCDCalcMem14 .............................................................................296
2.4.128 BrtBeginPCDCalcMemExt ............................................................................298
2.4.129 BrtBeginPCDCalcMems ...............................................................................298
2.4.130 BrtBeginPCDCalcMemsExt ...........................................................................299
2.4.131 BrtBeginPCDFAtbl ......................................................................................299
2.4.132 BrtBeginPCDFGDiscrete ..............................................................................301
2.4.133 BrtBeginPCDFGItems .................................................................................302
2.4.134 BrtBeginPCDFGRange.................................................................................302
2.4.135 BrtBeginPCDFGroup ...................................................................................304
2.4.136 BrtBeginPCDField.......................................................................................305
2.4.137 BrtBeginPCDFields .....................................................................................308
2.4.138 BrtBeginPCDHFieldsUsage...........................................................................308
2.4.139 BrtBeginPCDHGLevel..................................................................................309
2.4.140 BrtBeginPCDHGLevels ................................................................................310
2.4.141 BrtBeginPCDHGLGMember ..........................................................................310
2.4.142 BrtBeginPCDHGLGMembers.........................................................................311
2.4.143 BrtBeginPCDHGLGroup ...............................................................................311
2.4.144 BrtBeginPCDHGLGroups .............................................................................312
2.4.145 BrtBeginPCDHierarchies..............................................................................312
2.4.146 BrtBeginPCDHierarchy ................................................................................313
2.4.147 BrtBeginPCDIRun.......................................................................................317
2.4.148 BrtBeginPCDKPI ........................................................................................318
2.4.149 BrtBeginPCDKPIs .......................................................................................321
2.4.150 BrtBeginPCDSConsol ..................................................................................321
2.4.151 BrtBeginPCDSCPage...................................................................................321
2.4.152 BrtBeginPCDSCPages .................................................................................322
2.4.153 BrtBeginPCDSCPItem .................................................................................322
2.4.154 BrtBeginPCDSCSet.....................................................................................322
2.4.155 BrtBeginPCDSCSets ...................................................................................324
2.4.156 BrtBeginPCDSDTCEMember ........................................................................325
2.4.157 BrtBeginPCDSDTCEMembers .......................................................................326
2.4.158 BrtBeginPCDSDTCEMembersSortBy..............................................................326
2.4.159 BrtBeginPCDSDTCEntries ............................................................................327
2.4.160 BrtBeginPCDSDTCQueries ...........................................................................327
2.4.161 BrtBeginPCDSDTCQuery .............................................................................327
2.4.162 BrtBeginPCDSDTCSet .................................................................................328
2.4.163 BrtBeginPCDSDTCSets ...............................................................................328
2.4.164 BrtBeginPCDSDTupleCache .........................................................................329
2.4.165 BrtBeginPcdSFCIEntries ..............................................................................329
2.4.166 BrtBeginPCDSource....................................................................................329
2.4.167 BrtBeginPCDSRange...................................................................................330
2.4.168 BrtBeginPivotCacheDef ...............................................................................331
2.4.169 BrtBeginPivotCacheID ................................................................................333
2.4.170 BrtBeginPivotCacheIDs ...............................................................................333
2.4.171 BrtBeginPivotCacheRecords.........................................................................333
2.4.172 BrtBeginPivotRuleFilterSubtotals ..................................................................334
2.4.173 BrtBeginPivotTableRefs...............................................................................334
2.4.174 BrtBeginPivotTableUISettings ......................................................................334
2.4.175 BrtBeginPivotVersionInfo ............................................................................335
2.4.176 BrtBeginPName .........................................................................................335
2.4.177 BrtBeginPNames........................................................................................336
2.4.178 BrtBeginPNPair ..........................................................................................336
2.4.179 BrtBeginPNPairs ........................................................................................337
2.4.180 BrtBeginPRFilter ........................................................................................338
2.4.181 BrtBeginPRFilter14.....................................................................................338
2.4.182 BrtBeginPRFilters .......................................................................................339
12 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
2.4.183 BrtBeginPRFilters14 ...................................................................................339
2.4.184 BrtBeginPRFItem .......................................................................................339
2.4.185 BrtBeginPRFItem14....................................................................................340
2.4.186 BrtBeginPRule ...........................................................................................340
2.4.187 BrtBeginPRule14........................................................................................341
2.4.188 BrtBeginQSI..............................................................................................341
2.4.189 BrtBeginQSIF ............................................................................................343
2.4.190 BrtBeginQSIFs...........................................................................................344
2.4.191 BrtBeginQSIR ............................................................................................344
2.4.192 BrtBeginRichFilterColumn ...........................................................................345
2.4.193 BrtBeginRichFilters.....................................................................................346
2.4.194 BrtBeginRichSortCondition ..........................................................................346
2.4.195 BrtBeginRichValueBlock ..............................................................................347
2.4.196 BrtBeginRRSort .........................................................................................347
2.4.197 BrtBeginRwBrk ..........................................................................................348
2.4.198 BrtBeginScenMan ......................................................................................348
2.4.199 BrtBeginSct...............................................................................................349
2.4.200 BrtBeginSheet ...........................................................................................350
2.4.201 BrtBeginSheetData ....................................................................................350
2.4.202 BrtBeginSingleCells ....................................................................................350
2.4.203 BrtBeginSlicer ...........................................................................................350
2.4.204 BrtBeginSlicerCache ...................................................................................352
2.4.205 BrtBeginSlicerCacheDef ..............................................................................352
2.4.206 BrtBeginSlicerCacheID ...............................................................................353
2.4.207 BrtBeginSlicerCacheIDs ..............................................................................353
2.4.208 BrtBeginSlicerCacheLevelData .....................................................................354
2.4.209 BrtBeginSlicerCacheLevelsData....................................................................355
2.4.210 BrtBeginSlicerCacheNative ..........................................................................355
2.4.211 BrtBeginSlicerCacheOlapImpl ......................................................................357
2.4.212 BrtBeginSlicerCacheSelections.....................................................................357
2.4.213 BrtBeginSlicerCacheSiRange .......................................................................357
2.4.214 BrtBeginSlicerCacheSiRanges ......................................................................358
2.4.215 BrtBeginSlicerCachesPivotCacheID...............................................................358
2.4.216 BrtBeginSlicerCachesPivotCacheIDs .............................................................358
2.4.217 BrtBeginSlicerEx ........................................................................................359
2.4.218 BrtBeginSlicers ..........................................................................................359
2.4.219 BrtBeginSlicersEx ......................................................................................359
2.4.220 BrtBeginSlicerStyle ....................................................................................359
2.4.221 BrtBeginSlicerStyleElements .......................................................................360
2.4.222 BrtBeginSlicerStyles...................................................................................360
2.4.223 BrtBeginSmartTags ....................................................................................361
2.4.224 BrtBeginSmartTagTypes .............................................................................361
2.4.225 BrtBeginSortCond ......................................................................................361
2.4.226 BrtBeginSortCond14 ..................................................................................362
2.4.227 BrtBeginSortState......................................................................................364
2.4.228 BrtBeginSparklineGroup .............................................................................365
2.4.229 BrtBeginSparklineGroups ............................................................................368
2.4.230 BrtBeginSparklines ....................................................................................368
2.4.231 BrtBeginSst...............................................................................................369
2.4.232 BrtBeginStyles ..........................................................................................369
2.4.233 BrtBeginStyleSheet ....................................................................................369
2.4.234 BrtBeginStyleSheetExt14 ............................................................................369
2.4.235 BrtBeginSupBook.......................................................................................369
2.4.236 BrtBeginSXChange.....................................................................................370
2.4.237 BrtBeginSXChanges ...................................................................................371
2.4.238 BrtBeginSXCondFmt...................................................................................371
2.4.239 BrtBeginSXCondFmt14 ...............................................................................372
2.4.240 BrtBeginSXCondFmts .................................................................................373
13 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
2.4.241 BrtBeginSXCondFmts14..............................................................................374
2.4.242 BrtBeginSXCrtFormat .................................................................................374
2.4.243 BrtBeginSXCrtFormats................................................................................375
2.4.244 BrtBeginSXDI ............................................................................................375
2.4.245 BrtBeginSXDIs ..........................................................................................377
2.4.246 BrtBeginSXEdit ..........................................................................................377
2.4.247 BrtBeginSXEdits ........................................................................................378
2.4.248 BrtBeginSXFILTER .....................................................................................378
2.4.249 BrtBeginSXFilters.......................................................................................380
2.4.250 BrtBeginSXFormat .....................................................................................380
2.4.251 BrtBeginSXFormats....................................................................................381
2.4.252 BrtBeginSXLI ............................................................................................381
2.4.253 BrtBeginSXLICols.......................................................................................382
2.4.254 BrtBeginSXLIRws .......................................................................................382
2.4.255 BrtBeginSXLocation....................................................................................383
2.4.256 BrtBeginSXPI ............................................................................................383
2.4.257 BrtBeginSXPIs ...........................................................................................385
2.4.258 BrtBeginSxRow..........................................................................................385
2.4.259 BrtBeginSXRules........................................................................................386
2.4.260 BrtBeginSXRules14 ....................................................................................386
2.4.261 BrtBeginSxSelect .......................................................................................386
2.4.262 BrtBeginSXTDMP .......................................................................................389
2.4.263 BrtBeginSXTDMPS .....................................................................................390
2.4.264 BrtBeginSXTH ...........................................................................................390
2.4.265 BrtBeginSXTHItem.....................................................................................392
2.4.266 BrtBeginSXTHItems ...................................................................................393
2.4.267 BrtBeginSXTHs ..........................................................................................393
2.4.268 BrtBeginSXTupleSet ...................................................................................394
2.4.269 BrtBeginSXTupleSetData ............................................................................394
2.4.270 BrtBeginSXTupleSetHeader .........................................................................394
2.4.271 BrtBeginSXTupleSetRow .............................................................................394
2.4.272 BrtBeginSxvcells........................................................................................395
2.4.273 BrtBeginSXVD ...........................................................................................395
2.4.274 BrtBeginSXVDs..........................................................................................402
2.4.275 BrtBeginSxvdSubtotalLineItems...................................................................403
2.4.276 BrtBeginSxvdSubtotals ...............................................................................403
2.4.277 BrtBeginSXVI ............................................................................................403
2.4.278 BrtBeginSXView.........................................................................................405
2.4.279 BrtBeginSXView14 .....................................................................................412
2.4.280 BrtBeginSXView16 .....................................................................................414
2.4.281 BrtBeginSXVIs...........................................................................................415
2.4.282 BrtBeginTableSlicerCache ...........................................................................415
2.4.283 BrtBeginTableStyle ....................................................................................416
2.4.284 BrtBeginTableStyles ...................................................................................417
2.4.285 BrtBeginTimelineCacheID ...........................................................................417
2.4.286 BrtBeginTimelineCacheIDs ..........................................................................418
2.4.287 BrtBeginTimelineCachePivotCacheIDs...........................................................418
2.4.288 BrtBeginTimelineEx ....................................................................................418
2.4.289 BrtBeginTimelinesEx ..................................................................................419
2.4.290 BrtBeginTimelineStyle ................................................................................419
2.4.291 BrtBeginTimelineStyleElements ...................................................................419
2.4.292 BrtBeginTimelineStyles...............................................................................420
2.4.293 BrtBeginTimelineStylesheetExt15.................................................................420
2.4.294 BrtBeginUserCsView...................................................................................420
2.4.295 BrtBeginUserCsViews .................................................................................421
2.4.296 BrtBeginUsers ...........................................................................................421
2.4.297 BrtBeginUserShView ..................................................................................421
2.4.298 BrtBeginUserShViews .................................................................................424
14 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
2.4.299 BrtBeginVolDeps........................................................................................425
2.4.300 BrtBeginVolMain ........................................................................................425
2.4.301 BrtBeginVolTopic .......................................................................................425
2.4.302 BrtBeginVolType ........................................................................................425
2.4.303 BrtBeginWebExtensions ..............................................................................426
2.4.304 BrtBeginWebPubItem .................................................................................426
2.4.305 BrtBeginWebPubItems................................................................................428
2.4.306 BrtBeginWsSortMap ...................................................................................428
2.4.307 BrtBeginWsView ........................................................................................428
2.4.308 BrtBeginWsViews .......................................................................................430
2.4.309 BrtBigName ..............................................................................................430
2.4.310 BrtBkHim..................................................................................................431
2.4.311 BrtBookProtection......................................................................................431
2.4.312 BrtBookProtectionIso..................................................................................432
2.4.313 BrtBookView .............................................................................................433
2.4.314 BrtBorder .................................................................................................434
2.4.315 BrtBrk ......................................................................................................435
2.4.316 BrtBundleSh..............................................................................................436
2.4.317 BrtCalcFeature ..........................................................................................437
2.4.318 BrtCalcProp...............................................................................................438
2.4.319 BrtCellBlank ..............................................................................................439
2.4.320 BrtCellBool................................................................................................440
2.4.321 BrtCellError...............................................................................................440
2.4.322 BrtCellIgnoreEC.........................................................................................441
2.4.323 BrtCellIgnoreEC14 .....................................................................................441
2.4.324 BrtCellIsst.................................................................................................443
2.4.325 BrtCellMeta ...............................................................................................443
2.4.326 BrtCellReal................................................................................................443
2.4.327 BrtCellRk ..................................................................................................444
2.4.328 BrtCellRString ...........................................................................................444
2.4.329 BrtCellSmartTagProperty ............................................................................445
2.4.330 BrtCellSt...................................................................................................445
2.4.331 BrtCellWatch .............................................................................................445
2.4.332 BrtCFIcon .................................................................................................446
2.4.333 BrtCFRuleExt.............................................................................................446
2.4.334 BrtCFVO ...................................................................................................447
2.4.335 BrtCFVO14................................................................................................448
2.4.336 BrtColInfo .................................................................................................450
2.4.337 BrtColor....................................................................................................451
2.4.338 BrtColor14 ................................................................................................453
2.4.339 BrtColorFilter ............................................................................................453
2.4.340 BrtCommentAuthor ....................................................................................453
2.4.341 BrtCommentText .......................................................................................454
2.4.342 BrtCrashRecErr..........................................................................................454
2.4.343 BrtCsPageSetup.........................................................................................454
2.4.344 BrtCsProp .................................................................................................458
2.4.345 BrtCsProtection .........................................................................................459
2.4.346 BrtCsProtectionIso .....................................................................................460
2.4.347 BrtCUsr ....................................................................................................461
2.4.348 BrtCustomFilter .........................................................................................461
2.4.349 BrtCustomFilter14......................................................................................462
2.4.350 BrtCustomRichFilter ...................................................................................463
2.4.351 BrtDbCommand15 .....................................................................................465
2.4.352 BrtDbTable15 ............................................................................................465
2.4.353 BrtDecoupledPivotCacheID..........................................................................466
2.4.354 BrtDrawing ...............................................................................................466
2.4.355 BrtDRef ....................................................................................................467
2.4.356 BrtDVal ....................................................................................................469
15 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
2.4.357 BrtDVal14.................................................................................................471
2.4.358 BrtDValList ...............................................................................................474
2.4.359 BrtDXF .....................................................................................................475
2.4.360 BrtDXF14..................................................................................................475
2.4.361 BrtDXF15..................................................................................................476
2.4.362 BrtDynamicFilter........................................................................................476
2.4.363 BrtDynamicRichFilter..................................................................................478
2.4.364 BrtEndActiveXControls................................................................................482
2.4.365 BrtEndAFilter.............................................................................................482
2.4.366 BrtEndAutoSortScope .................................................................................482
2.4.367 BrtEndBook...............................................................................................482
2.4.368 BrtEndBookViews.......................................................................................482
2.4.369 BrtEndBorders ...........................................................................................482
2.4.370 BrtEndBundleShs .......................................................................................482
2.4.371 BrtEndCacheVersionInfo .............................................................................483
2.4.372 BrtEndCalcFeatures....................................................................................483
2.4.373 BrtEndCellIgnoreECs ..................................................................................483
2.4.374 BrtEndCellIgnoreECs14...............................................................................483
2.4.375 BrtEndCellSmartTag ...................................................................................483
2.4.376 BrtEndCellSmartTags .................................................................................483
2.4.377 BrtEndCellStyleXFs ....................................................................................483
2.4.378 BrtEndCellWatches.....................................................................................484
2.4.379 BrtEndCellXFs ...........................................................................................484
2.4.380 BrtEndCFRule ............................................................................................484
2.4.381 BrtEndCFRule14 ........................................................................................484
2.4.382 BrtEndColBrk ............................................................................................484
2.4.383 BrtEndColInfos ..........................................................................................484
2.4.384 BrtEndColorPalette.....................................................................................484
2.4.385 BrtEndColorScale .......................................................................................484
2.4.386 BrtEndColorScale14 ...................................................................................484
2.4.387 BrtEndComment ........................................................................................485
2.4.388 BrtEndCommentAuthors .............................................................................485
2.4.389 BrtEndCommentList ...................................................................................485
2.4.390 BrtEndComments.......................................................................................485
2.4.391 BrtEndConditionalFormatting .......................................................................485
2.4.392 BrtEndConditionalFormatting14 ...................................................................485
2.4.393 BrtEndConditionalFormattings .....................................................................485
2.4.394 BrtEndCRErrs ............................................................................................485
2.4.395 BrtEndCsView............................................................................................485
2.4.396 BrtEndCsViews ..........................................................................................486
2.4.397 BrtEndCustomFilters ..................................................................................486
2.4.398 BrtEndCustomRichFilters.............................................................................486
2.4.399 BrtEndDatabar ..........................................................................................486
2.4.400 BrtEndDatabar14 .......................................................................................486
2.4.401 BrtEndDataFeedPr15 ..................................................................................486
2.4.402 BrtEndDataModel .......................................................................................486
2.4.403 BrtEndDbTables15 .....................................................................................486
2.4.404 BrtEndDCon ..............................................................................................486
2.4.405 BrtEndDecoupledPivotCacheIDs ...................................................................487
2.4.406 BrtEndDeletedName...................................................................................487
2.4.407 BrtEndDeletedNames .................................................................................487
2.4.408 BrtEndDim ................................................................................................487
2.4.409 BrtEndDims ..............................................................................................487
2.4.410 BrtEndDRefs .............................................................................................487
2.4.411 BrtEndDVals..............................................................................................487
2.4.412 BrtEndDVals14 ..........................................................................................487
2.4.413 BrtEndDXF14s ...........................................................................................487
2.4.414 BrtEndDXFs ..............................................................................................488
16 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
2.4.415 BrtEndDXFs15 ...........................................................................................488
2.4.416 BrtEndDynamicArrayPr ...............................................................................488
2.4.417 BrtEndECDbProps ......................................................................................488
2.4.418 BrtEndECOlapProps....................................................................................488
2.4.419 BrtEndECParam .........................................................................................488
2.4.420 BrtEndECParams .......................................................................................488
2.4.421 BrtEndECTWFldInfoLst................................................................................488
2.4.422 BrtEndECTWFldInfoLst15 ............................................................................489
2.4.423 BrtEndECTxtWiz ........................................................................................489
2.4.424 BrtEndECTxtWiz15 .....................................................................................489
2.4.425 BrtEndECWebProps ....................................................................................489
2.4.426 BrtEndECWPTables ....................................................................................489
2.4.427 BrtEndEsfmd .............................................................................................489
2.4.428 BrtEndEsmdb ............................................................................................489
2.4.429 BrtEndEsmdtinfo........................................................................................489
2.4.430 BrtEndEsmdx ............................................................................................489
2.4.431 BrtEndEsstr...............................................................................................490
2.4.432 BrtEndExtConn14 ......................................................................................490
2.4.433 BrtEndExtConn15 ......................................................................................490
2.4.434 BrtEndExtConnection .................................................................................490
2.4.435 BrtEndExtConnections ................................................................................490
2.4.436 BrtEndExternals.........................................................................................490
2.4.437 BrtEndFills ................................................................................................490
2.4.438 BrtEndFilterColumn ....................................................................................490
2.4.439 BrtEndFilters .............................................................................................490
2.4.440 BrtEndFmd................................................................................................491
2.4.441 BrtEndFmts...............................................................................................491
2.4.442 BrtEndFnGroup..........................................................................................491
2.4.443 BrtEndFonts ..............................................................................................491
2.4.444 BrtEndHeaderFooter...................................................................................491
2.4.445 BrtEndIconSet ...........................................................................................491
2.4.446 BrtEndIconSet14 .......................................................................................491
2.4.447 BrtEndIndexedColors .................................................................................491
2.4.448 BrtEndISXTHCols .......................................................................................491
2.4.449 BrtEndISXTHRws .......................................................................................492
2.4.450 BrtEndISXVDCols.......................................................................................492
2.4.451 BrtEndISXVDRws .......................................................................................492
2.4.452 BrtEndISXVIs ............................................................................................492
2.4.453 BrtEndItemUniqueNames............................................................................492
2.4.454 BrtEndList.................................................................................................492
2.4.455 BrtEndListCol ............................................................................................492
2.4.456 BrtEndListCols ...........................................................................................492
2.4.457 BrtEndListParts..........................................................................................492
2.4.458 BrtEndListXmlCPr.......................................................................................493
2.4.459 BrtEndMap ................................................................................................493
2.4.460 BrtEndMdx ................................................................................................493
2.4.461 BrtEndMdxKPI ...........................................................................................493
2.4.462 BrtEndMdxMbrProp ....................................................................................493
2.4.463 BrtEndMdxSet ...........................................................................................493
2.4.464 BrtEndMdxTuple ........................................................................................493
2.4.465 BrtEndMergeCells ......................................................................................493
2.4.466 BrtEndMetadata.........................................................................................493
2.4.467 BrtEndMG .................................................................................................494
2.4.468 BrtEndMGMaps ..........................................................................................494
2.4.469 BrtEndMGs................................................................................................494
2.4.470 brtEndModelRelationships ...........................................................................494
2.4.471 BrtEndModelTables ....................................................................................494
2.4.472 brtEndModelTimeGrouping ..........................................................................494
17 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
2.4.473 brtEndModelTimeGroupings ........................................................................494
2.4.474 BrtEndMRUColors.......................................................................................494
2.4.475 BrtEndOledbPr15 .......................................................................................494
2.4.476 BrtEndOleObjects ......................................................................................495
2.4.477 BrtEndPCD14 ............................................................................................495
2.4.478 BrtEndPCDCalcItem ...................................................................................495
2.4.479 BrtEndPCDCalcItems ..................................................................................495
2.4.480 BrtEndPCDCalcMem ...................................................................................495
2.4.481 BrtEndPCDCalcMem14................................................................................495
2.4.482 BrtEndPCDCalcMemExt ...............................................................................495
2.4.483 BrtEndPCDCalcMems ..................................................................................495
2.4.484 BrtEndPCDCalcMemsExt .............................................................................495
2.4.485 BrtEndPCDFAtbl.........................................................................................496
2.4.486 BrtEndPCDFGDiscrete.................................................................................496
2.4.487 BrtEndPCDFGItems ....................................................................................496
2.4.488 BrtEndPCDFGRange ...................................................................................496
2.4.489 BrtEndPCDFGroup......................................................................................496
2.4.490 BrtEndPCDField .........................................................................................496
2.4.491 BrtEndPCDFields ........................................................................................496
2.4.492 BrtEndPCDHFieldsUsage .............................................................................496
2.4.493 BrtEndPCDHGLevel ....................................................................................497
2.4.494 BrtEndPCDHGLevels ...................................................................................497
2.4.495 BrtEndPCDHGLGMember.............................................................................497
2.4.496 BrtEndPCDHGLGMembers ...........................................................................497
2.4.497 BrtEndPCDHGLGroup .................................................................................497
2.4.498 BrtEndPCDHGLGroups ................................................................................497
2.4.499 BrtEndPCDHierarchies ................................................................................497
2.4.500 BrtEndPCDHierarchy ..................................................................................497
2.4.501 BrtEndPCDIRun .........................................................................................497
2.4.502 BrtEndPCDKPI ...........................................................................................498
2.4.503 BrtEndPCDKPIs..........................................................................................498
2.4.504 BrtEndPCDSConsol.....................................................................................498
2.4.505 BrtEndPCDSCPage .....................................................................................498
2.4.506 BrtEndPCDSCPages....................................................................................498
2.4.507 BrtEndPCDSCPItem....................................................................................498
2.4.508 BrtEndPCDSCSet .......................................................................................498
2.4.509 BrtEndPCDSCSets ......................................................................................498
2.4.510 BrtEndPCDSDTCEMember ...........................................................................499
2.4.511 BrtEndPCDSDTCEMembers..........................................................................499
2.4.512 BrtEndPCDSDTCEntries ..............................................................................499
2.4.513 BrtEndPCDSDTCQueries .............................................................................499
2.4.514 BrtEndPCDSDTCQuery................................................................................499
2.4.515 BrtEndPCDSDTCSet ...................................................................................499
2.4.516 BrtEndPCDSDTCSets ..................................................................................499
2.4.517 BrtEndPCDSDTupleCache............................................................................499
2.4.518 BrtEndPCDSFCIEntries................................................................................499
2.4.519 BrtEndPCDSource ......................................................................................500
2.4.520 BrtEndPCDSRange .....................................................................................500
2.4.521 BrtEndPivotCacheDef .................................................................................500
2.4.522 BrtEndPivotCacheID ...................................................................................500
2.4.523 BrtEndPivotCacheIDs .................................................................................500
2.4.524 BrtEndPivotCacheRecords ...........................................................................500
2.4.525 BrtEndPivotRuleFilterSubtotals ....................................................................500
2.4.526 BrtEndPivotTableRefs .................................................................................501
2.4.527 BrtEndPivotTableUISettings.........................................................................501
2.4.528 BrtEndPivotVersionInfo ...............................................................................501
2.4.529 BrtEndPName ............................................................................................501
2.4.530 BrtEndPNames ..........................................................................................501
18 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
2.4.531 BrtEndPNPair ............................................................................................501
2.4.532 BrtEndPNPairs ...........................................................................................501
2.4.533 BrtEndPRFilter ...........................................................................................502
2.4.534 BrtEndPRFilter14 .......................................................................................502
2.4.535 BrtEndPRFilters .........................................................................................502
2.4.536 BrtEndPRFilters14 ......................................................................................502
2.4.537 BrtEndPRFItem..........................................................................................502
2.4.538 BrtEndPRFItem14 ......................................................................................502
2.4.539 BrtEndPRule ..............................................................................................502
2.4.540 BrtEndPRule14 ..........................................................................................502
2.4.541 BrtEndQSI ................................................................................................502
2.4.542 BrtEndQSIF...............................................................................................503
2.4.543 BrtEndQSIFs .............................................................................................503
2.4.544 BrtEndQSIR ..............................................................................................503
2.4.545 BrtEndRichFilterColumn ..............................................................................503
2.4.546 BrtEndRichFilters .......................................................................................503
2.4.547 BrtEndRichSortCondition.............................................................................503
2.4.548 BrtEndRichValueBlock ................................................................................503
2.4.549 BrtEndRRSort ............................................................................................503
2.4.550 BrtEndRwBrk.............................................................................................503
2.4.551 BrtEndScenMan .........................................................................................504
2.4.552 BrtEndSct .................................................................................................504
2.4.553 BrtEndSheet .............................................................................................504
2.4.554 BrtEndSheetData .......................................................................................504
2.4.555 BrtEndSingleCells ......................................................................................504
2.4.556 BrtEndSlicer ..............................................................................................504
2.4.557 BrtEndSlicerCache .....................................................................................504
2.4.558 BrtEndSlicerCacheDef.................................................................................504
2.4.559 BrtEndSlicerCacheID ..................................................................................504
2.4.560 BrtEndSlicerCacheIDs.................................................................................505
2.4.561 BrtEndSlicerCacheLevelData........................................................................505
2.4.562 BrtEndSlicerCacheLevelsData ......................................................................505
2.4.563 BrtEndSlicerCacheNative ............................................................................505
2.4.564 BrtEndSlicerCacheOlapImpl.........................................................................505
2.4.565 BrtEndSlicerCacheSelections .......................................................................505
2.4.566 BrtEndSlicerCacheSiRange ..........................................................................505
2.4.567 BrtEndSlicerCacheSiRanges.........................................................................505
2.4.568 BrtEndSlicerCachesPivotCacheID .................................................................505
2.4.569 BrtEndSlicerCachesPivotCacheIDs ................................................................506
2.4.570 BrtEndSlicerEx ..........................................................................................506
2.4.571 BrtEndSlicers ............................................................................................506
2.4.572 BrtEndSlicersEx .........................................................................................506
2.4.573 BrtEndSlicerStyle .......................................................................................506
2.4.574 BrtEndSlicerStyleElements ..........................................................................506
2.4.575 BrtEndSlicerStyles .....................................................................................506
2.4.576 BrtEndSmartTags ......................................................................................506
2.4.577 BrtEndSmartTagTypes................................................................................507
2.4.578 BrtEndSortCond.........................................................................................507
2.4.579 BrtEndSortCond14 .....................................................................................507
2.4.580 BrtEndSortState ........................................................................................507
2.4.581 BrtEndSparklineGroup ................................................................................507
2.4.582 BrtEndSparklineGroups...............................................................................507
2.4.583 BrtEndSparklines .......................................................................................507
2.4.584 BrtEndSst .................................................................................................507
2.4.585 BrtEndStyles .............................................................................................508
2.4.586 BrtEndStyleSheet ......................................................................................508
2.4.587 BrtEndStyleSheetExt14 ..............................................................................508
2.4.588 BrtEndSupBook .........................................................................................508
19 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
2.4.589 BrtEndSXChange .......................................................................................508
2.4.590 BrtEndSXChanges......................................................................................508
2.4.591 BrtEndSXCondFmt .....................................................................................508
2.4.592 BrtEndSXCondFmt14..................................................................................508
2.4.593 BrtEndSXCondFmts....................................................................................509
2.4.594 BrtEndSXCondFmts14 ................................................................................509
2.4.595 BrtEndSXCrtFormat....................................................................................509
2.4.596 BrtEndSXCrtFormats ..................................................................................509
2.4.597 BrtEndSXDI ..............................................................................................509
2.4.598 BrtEndSXDIs .............................................................................................509
2.4.599 BrtEndSXEdit ............................................................................................509
2.4.600 BrtEndSXEdits ...........................................................................................509
2.4.601 BrtEndSXFilter...........................................................................................510
2.4.602 BrtEndSXFilters .........................................................................................510
2.4.603 BrtEndSXFormat ........................................................................................510
2.4.604 BrtEndSxFormats.......................................................................................510
2.4.605 BrtEndSXLI ...............................................................................................510
2.4.606 BrtEndSXLICols .........................................................................................510
2.4.607 BrtEndSXLIRws .........................................................................................510
2.4.608 BrtEndSXLocation ......................................................................................510
2.4.609 BrtEndSXPI ...............................................................................................510
2.4.610 BrtEndSXPIs .............................................................................................511
2.4.611 BrtEndSxRow ............................................................................................511
2.4.612 BrtEndSxRules ..........................................................................................511
2.4.613 BrtEndSXRules14.......................................................................................511
2.4.614 BrtEndSxSelect .........................................................................................511
2.4.615 BrtEndSXTDMP ..........................................................................................511
2.4.616 BrtEndSXTDMPs ........................................................................................511
2.4.617 BrtEndSXTH ..............................................................................................511
2.4.618 BrtEndSXTHItem .......................................................................................511
2.4.619 BrtEndSXTHItems ......................................................................................512
2.4.620 BrtEndSXTHs ............................................................................................512
2.4.621 BrtEndSXTupleSet .....................................................................................512
2.4.622 BrtEndSXTupleSetData ...............................................................................512
2.4.623 BrtEndSXTupleSetHeader ...........................................................................512
2.4.624 BrtEndSXTupleSetRow................................................................................512
2.4.625 BrtEndSxvcells ..........................................................................................512
2.4.626 BrtEndSXVD..............................................................................................512
2.4.627 BrtEndSXVDs ............................................................................................513
2.4.628 BrtEndSxvdSubtotalLineItems .....................................................................513
2.4.629 BrtEndSxvdSubtotals .................................................................................513
2.4.630 BrtEndSXVI...............................................................................................513
2.4.631 BrtEndSXView ...........................................................................................513
2.4.632 BrtEndSXView14........................................................................................513
2.4.633 BrtEndSXView16........................................................................................514
2.4.634 BrtEndSXVIs .............................................................................................514
2.4.635 BrtEndTableSlicerCache ..............................................................................514
2.4.636 BrtEndTableStyle .......................................................................................514
2.4.637 BrtEndTableStyles......................................................................................514
2.4.638 BrtEndTimelineCacheID ..............................................................................514
2.4.639 BrtEndTimelineCacheIDs.............................................................................514
2.4.640 BrtEndTimelineCachePivotCacheIDs .............................................................514
2.4.641 BrtEndTimelineEx ......................................................................................515
2.4.642 BrtEndTimelinesEx .....................................................................................515
2.4.643 BrtEndTimelineStyle...................................................................................515
2.4.644 BrtEndTimelineStyleElements ......................................................................515
2.4.645 BrtEndTimelineStyles .................................................................................515
2.4.646 BrtEndTimelineStylesheetExt15 ...................................................................515
20 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
2.4.647 BrtEndUserCsView .....................................................................................515
2.4.648 BrtEndUserCsViews ....................................................................................515
2.4.649 BrtEndUserShView .....................................................................................515
2.4.650 BrtEndUserShViews....................................................................................516
2.4.651 BrtEndVolDeps ..........................................................................................516
2.4.652 BrtEndVolMain...........................................................................................516
2.4.653 BrtEndVolTopic ..........................................................................................516
2.4.654 BrtEndVolType ..........................................................................................516
2.4.655 BrtEndWebExtensions ................................................................................516
2.4.656 BrtEndWebPubItem....................................................................................516
2.4.657 BrtEndWebPubItems ..................................................................................516
2.4.658 BrtEndWsSortMap......................................................................................517
2.4.659 BrtEndWsView ...........................................................................................517
2.4.660 BrtEndWsViews .........................................................................................517
2.4.661 BrtEOF .....................................................................................................517
2.4.662 BrtExternalCodeService ..............................................................................517
2.4.663 BrtExternalCodeServiceImageAsInput ..........................................................517
2.4.664 BrtExternalLinksAlternateUrls ......................................................................518
2.4.665 BrtExternalLinksPr .....................................................................................519
2.4.666 BrtExternCellBlank .....................................................................................519
2.4.667 BrtExternCellBool.......................................................................................519
2.4.668 BrtExternCellError......................................................................................519
2.4.669 BrtExternCellReal.......................................................................................520
2.4.670 BrtExternCellString ....................................................................................520
2.4.671 BrtExternRowHdr .......................................................................................521
2.4.672 BrtExternSheet..........................................................................................521
2.4.673 BrtExternTableEnd .....................................................................................521
2.4.674 BrtExternTableStart ...................................................................................521
2.4.675 BrtExternValueMeta ...................................................................................522
2.4.676 BrtFieldListActiveItem ................................................................................522
2.4.677 BrtFileRecover ...........................................................................................523
2.4.678 BrtFileSharing ...........................................................................................524
2.4.679 BrtFileSharingIso .......................................................................................524
2.4.680 BrtFileVersion............................................................................................525
2.4.681 BrtFill .......................................................................................................526
2.4.682 BrtFilter ....................................................................................................531
2.4.683 BrtFilter14 ................................................................................................532
2.4.684 BrtFmlaBool ..............................................................................................532
2.4.685 BrtFmlaError .............................................................................................533
2.4.686 BrtFmlaNum..............................................................................................533
2.4.687 BrtFmlaString............................................................................................534
2.4.688 BrtFmt .....................................................................................................534
2.4.689 BrtFnGroup ...............................................................................................535
2.4.690 BrtFont.....................................................................................................535
2.4.691 BrtFRTBegin..............................................................................................538
2.4.692 BrtFRTEnd ................................................................................................538
2.4.693 BrtHLink ...................................................................................................538
2.4.694 BrtIconFilter..............................................................................................539
2.4.695 BrtIconFilter14 ..........................................................................................539
2.4.696 BrtIndexBlock ...........................................................................................540
2.4.697 BrtIndexedColor ........................................................................................540
2.4.698 BrtIndexPartEnd ........................................................................................540
2.4.699 BrtIndexRowBlock .....................................................................................541
2.4.700 BrtInfo .....................................................................................................542
2.4.701 BrtItemUniqueName ..................................................................................543
2.4.702 BrtKnownFonts ..........................................................................................543
2.4.703 BrtLegacyDrawing......................................................................................544
2.4.704 BrtLegacyDrawingHF ..................................................................................544
21 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
2.4.705 BrtList14 ..................................................................................................544
2.4.706 BrtListCCFmla ...........................................................................................545
2.4.707 BrtListPart ................................................................................................545
2.4.708 BrtListTrFmla ............................................................................................545
2.4.709 BrtMargins ................................................................................................546
2.4.710 BrtMdb .....................................................................................................547
2.4.711 BrtMdtinfo ................................................................................................547
2.4.712 BrtMdxMbrIstr ...........................................................................................547
2.4.713 BrtMergeCell .............................................................................................548
2.4.714 brtModelRelationship..................................................................................548
2.4.715 BrtModelTable ...........................................................................................549
2.4.716 brtModelTimeGroupingCalcCol .....................................................................550
2.4.717 BrtMRUColor .............................................................................................551
2.4.718 BrtName...................................................................................................551
2.4.719 BrtNameExt ..............................................................................................553
2.4.720 BrtOleObject .............................................................................................554
2.4.721 BrtOleSize ................................................................................................555
2.4.722 BrtPageSetup ............................................................................................556
2.4.723 BrtPane ....................................................................................................561
2.4.724 BrtPCDCalcMem15 .....................................................................................562
2.4.725 BrtPCDField14 ...........................................................................................563
2.4.726 BrtPCDH14 ...............................................................................................564
2.4.727 BrtPCDH15 ...............................................................................................566
2.4.728 BrtPCDIABoolean .......................................................................................567
2.4.729 BrtPCDIADatetime .....................................................................................567
2.4.730 BrtPCDIAError ...........................................................................................568
2.4.731 BrtPCDIAMissing........................................................................................568
2.4.732 BrtPCDIANumber .......................................................................................568
2.4.733 BrtPCDIAString..........................................................................................569
2.4.734 BrtPCDIBoolean.........................................................................................569
2.4.735 BrtPCDIDatetime .......................................................................................569
2.4.736 BrtPCDIError .............................................................................................569
2.4.737 BrtPCDIIndex ............................................................................................570
2.4.738 BrtPCDIMissing..........................................................................................570
2.4.739 BrtPCDINumber.........................................................................................570
2.4.740 BrtPCDIString ...........................................................................................571
2.4.741 BrtPCDSFCIEntry .......................................................................................571
2.4.742 BrtPCRRecord............................................................................................572
2.4.743 BrtPCRRecordDt ........................................................................................573
2.4.744 BrtPhoneticInfo .........................................................................................573
2.4.745 BrtPivotCacheAutoRefresh ..........................................................................574
2.4.746 BrtPivotCacheConnectionName ....................................................................574
2.4.747 BrtPivotCacheDataSource ...........................................................................575
2.4.748 BrtPivotCacheIdVersion ..............................................................................575
2.4.749 BrtPivotCacheImplicitMeasureSupport ..........................................................575
2.4.750 BrtPivotCacheRichData ...............................................................................576
2.4.751 BrtPivotDataFieldFutureData .......................................................................576
2.4.752 BrtPivotFieldFeatureSupportInfo ..................................................................577
2.4.753 BrtPivotFieldIgnorableAfter .........................................................................577
2.4.754 BrtPivotHierarchyIgnorableAfter ..................................................................578
2.4.755 BrtPivotLastUsedFeature.............................................................................578
2.4.756 BrtPivotRequiredFeature .............................................................................578
2.4.757 BrtPivotRuleFilterSubtotal ...........................................................................579
2.4.758 BrtPivotTableRef ........................................................................................579
2.4.759 BrtPlaceholderName...................................................................................580
2.4.760 BrtPrintOptions..........................................................................................580
2.4.761 BrtQsi15 ...................................................................................................580
2.4.762 BrtRangePr15............................................................................................581
22 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
2.4.763 BrtRangeProtection ....................................................................................581
2.4.764 BrtRangeProtection14 ................................................................................582
2.4.765 BrtRangeProtectionIso................................................................................583
2.4.766 BrtRangeProtectionIso14 ............................................................................583
2.4.767 brtRevisionPtr ...........................................................................................585
2.4.768 BrtRichFilter ..............................................................................................585
2.4.769 BrtRichFilterDateGroupItem ........................................................................586
2.4.770 BrtRowHdr ................................................................................................587
2.4.771 BrtRRAutoFmt ...........................................................................................589
2.4.772 BrtRRChgCell ............................................................................................590
2.4.773 BrtRRConflict ............................................................................................592
2.4.774 BrtRRDefName ..........................................................................................592
2.4.775 BrtRREndChgCell .......................................................................................595
2.4.776 BrtRREndFormat........................................................................................595
2.4.777 BrtRREndInsDel.........................................................................................595
2.4.778 BrtRREndMove ..........................................................................................595
2.4.779 BrtRRFormat .............................................................................................596
2.4.780 BrtRRHeader .............................................................................................597
2.4.781 BrtRRInsDel ..............................................................................................599
2.4.782 BrtRRInsertSh ...........................................................................................600
2.4.783 BrtRRMove................................................................................................601
2.4.784 BrtRRNote ................................................................................................602
2.4.785 BrtRRRenSheet..........................................................................................603
2.4.786 BrtRRSortItem ..........................................................................................604
2.4.787 BrtRRTQSIF ..............................................................................................604
2.4.788 BrtRRUserView ..........................................................................................605
2.4.789 BrtRwDescent ...........................................................................................605
2.4.790 BrtSel ......................................................................................................606
2.4.791 BrtSheetCalcProp.......................................................................................607
2.4.792 BrtSheetProtection.....................................................................................607
2.4.793 BrtSheetProtectionIso ................................................................................612
2.4.794 BrtShowDataTypeIcons ..............................................................................617
2.4.795 BrtShowDataTypeIconsUserShView ..............................................................618
2.4.796 BrtShrFmla ...............................................................................................618
2.4.797 BrtSlc.......................................................................................................619
2.4.798 BrtSlicerCacheBookPivotTables ....................................................................619
2.4.799 BrtSlicerCacheHideItemsWithNoData............................................................620
2.4.800 BrtSlicerCacheNativeItem ...........................................................................621
2.4.801 BrtSlicerCacheOlapItem..............................................................................621
2.4.802 BrtSlicerCachePivotTables ...........................................................................622
2.4.803 BrtSlicerCacheSelection ..............................................................................622
2.4.804 BrtSlicerStyleElement.................................................................................623
2.4.805 BrtSmartTagType ......................................................................................624
2.4.806 BrtSparkline..............................................................................................624
2.4.807 BrtSSTItem...............................................................................................625
2.4.808 BrtStr.......................................................................................................625
2.4.809 BrtStyle ....................................................................................................625
2.4.810 BrtSupAddin..............................................................................................626
2.4.811 BrtSupBookSrc ..........................................................................................626
2.4.812 BrtSupNameBits ........................................................................................627
2.4.813 BrtSupNameBool .......................................................................................627
2.4.814 BrtSupNameEnd ........................................................................................627
2.4.815 BrtSupNameErr .........................................................................................628
2.4.816 BrtSupNameFmla.......................................................................................628
2.4.817 BrtSupNameNil..........................................................................................628
2.4.818 BrtSupNameNum .......................................................................................629
2.4.819 BrtSupNameSt ..........................................................................................629
2.4.820 BrtSupNameStart ......................................................................................629
23 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
2.4.821 BrtSupNameValueEnd ................................................................................629
2.4.822 BrtSupNameValueStart...............................................................................630
2.4.823 BrtSupSame .............................................................................................630
2.4.824 BrtSupSelf ................................................................................................630
2.4.825 BrtSupTabs ...............................................................................................630
2.4.826 BrtSXDI14 ................................................................................................631
2.4.827 BrtSXDI15 ................................................................................................632
2.4.828 BrtSXDIAggregation ...................................................................................632
2.4.829 BrtSxFilter15.............................................................................................633
2.4.830 BrtSXTDMPOrder .......................................................................................634
2.4.831 BrtSXTH14................................................................................................634
2.4.832 BrtSXTupleItems .......................................................................................635
2.4.833 BrtSXTupleSetHeaderItem ..........................................................................635
2.4.834 BrtSXTupleSetRowItem ..............................................................................636
2.4.835 BrtSxvcellBool ...........................................................................................637
2.4.836 BrtSxvcellDate ..........................................................................................637
2.4.837 BrtSxvcellErr .............................................................................................638
2.4.838 BrtSxvcellNil .............................................................................................639
2.4.839 BrtSxvcellNum ..........................................................................................639
2.4.840 BrtSxvcellStr.............................................................................................640
2.4.841 BrtSXVD14 ...............................................................................................640
2.4.842 BrtSxvdSubtotal ........................................................................................641
2.4.843 BrtSxvdSubtotalLineItem ............................................................................641
2.4.844 BrtTable ...................................................................................................642
2.4.845 BrtTableSlicerCacheID ................................................................................643
2.4.846 BrtTableSlicerCacheIDs ..............................................................................644
2.4.847 BrtTableStyleClient ....................................................................................644
2.4.848 BrtTableStyleElement .................................................................................645
2.4.849 BrtTextPr15 ..............................................................................................645
2.4.850 BrtTimelineCachePivotCacheID ....................................................................646
2.4.851 BrtTimelineStyleElement.............................................................................646
2.4.852 BrtTop10Filter ...........................................................................................647
2.4.853 BrtTop10RichFilter .....................................................................................648
2.4.854 BrtUCR .....................................................................................................649
2.4.855 BrtUid ......................................................................................................651
2.4.856 BrtUserBookView .......................................................................................652
2.4.857 BrtUsr ......................................................................................................656
2.4.858 BrtValueMeta ............................................................................................657
2.4.859 BrtVolBool ................................................................................................657
2.4.860 BrtVolErr ..................................................................................................658
2.4.861 BrtVolNum ................................................................................................658
2.4.862 BrtVolRef ..................................................................................................658
2.4.863 BrtVolStr ..................................................................................................659
2.4.864 BrtVolSubtopic ..........................................................................................659
2.4.865 BrtWbFactoid ............................................................................................659
2.4.866 BrtWbProp ................................................................................................660
2.4.867 BrtWbProp14 ............................................................................................661
2.4.868 BrtWebExtension .......................................................................................662
2.4.869 BrtWebOpt................................................................................................663
2.4.870 BrtWorkbookCompatibilityVersion ................................................................664
2.4.871 BrtWorkBookPr15 ......................................................................................664
2.4.872 BrtWsDim .................................................................................................664
2.4.873 BrtWsFmtInfo............................................................................................665
2.4.874 BrtWsFmtInfoEx14.....................................................................................666
2.4.875 BrtWsProp ................................................................................................666
2.4.876 BrtXF .......................................................................................................668
2.5 Structures ......................................................................................................671 2.5.1 ACProductVersion ......................................................................................671
24 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
2.5.2 AggregationType .......................................................................................672
2.5.3 ArgDesc ...................................................................................................672
2.5.4 AutoFormatID ...........................................................................................673
2.5.5 Blxf..........................................................................................................679
2.5.6 Bold .........................................................................................................680
2.5.7 BookProtectionFlags ...................................................................................680
2.5.8 BorderStyle...............................................................................................681
2.5.9 BrtColSpan ...............................................................................................681
2.5.10 Cell ..........................................................................................................682
2.5.11 CellStyleName...........................................................................................683
2.5.12 CFDateOper ..............................................................................................683
2.5.13 CFFlag......................................................................................................684
2.5.14 CFFlag14 ..................................................................................................684
2.5.15 CFOper.....................................................................................................684
2.5.16 CFTemp....................................................................................................685
2.5.17 CFTextOper...............................................................................................687
2.5.18 CFType.....................................................................................................687
2.5.19 CFVOtype .................................................................................................687
2.5.20 CFVOType14 .............................................................................................688
2.5.21 CmdType ..................................................................................................688
2.5.22 CodeName ................................................................................................689
2.5.23 Col...........................................................................................................689
2.5.24 ColNullable ...............................................................................................689
2.5.25 ColRel ......................................................................................................690
2.5.26 ColRelShort...............................................................................................690
2.5.27 ColShort ...................................................................................................690
2.5.28 DataConsolidationFunction ..........................................................................691
2.5.29 DataFunctionalityLevel ...............................................................................691
2.5.30 DateAsXnum .............................................................................................691
2.5.31 DBType ....................................................................................................692
2.5.32 DCol ........................................................................................................692
2.5.33 DColShort .................................................................................................692
2.5.34 DDEItemProperties ....................................................................................692
2.5.35 DRw.........................................................................................................693
2.5.36 DVals .......................................................................................................693
2.5.37 DValStrings...............................................................................................694
2.5.38 DXFId ......................................................................................................695
2.5.39 DXFId14 ...................................................................................................695
2.5.40 ECTwFldInfoData .......................................................................................695
2.5.41 ECTxtWizData ...........................................................................................696
2.5.42 Etxp.........................................................................................................697
2.5.43 ExternalNameProperties .............................................................................700
2.5.44 ExternalReferenceType ...............................................................................701
2.5.45 ExtPtgArea3D............................................................................................701
2.5.46 ExtPtgAreaErr3D........................................................................................702
2.5.47 ExtPtgErr ..................................................................................................703
2.5.48 ExtPtgRef3D .............................................................................................703
2.5.49 ExtPtgRefErr3D .........................................................................................703
2.5.50 ExtSheetPair .............................................................................................704
2.5.51 FillPattern .................................................................................................705
2.5.52 FnGroupID ................................................................................................705
2.5.53 FontFlags..................................................................................................706
2.5.54 FontScheme..............................................................................................707
2.5.55 FRTBlank ..................................................................................................707
2.5.56 FRTCFParsedFormula14 ..............................................................................708
2.5.57 FRTCFVOParsedFormula14 ..........................................................................708
2.5.58 FRTDVParsedFormula14 .............................................................................709
2.5.59 FRTFormula ..............................................................................................710
25 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
2.5.60 FRTFormulas .............................................................................................710
2.5.61 FRTHeader ................................................................................................711
2.5.62 FRTProductVersion.....................................................................................712
2.5.63 FRTRef .....................................................................................................712
2.5.64 FRTRefs ....................................................................................................713
2.5.65 FRTRelID ..................................................................................................713
2.5.66 FRTSqref ..................................................................................................714
2.5.67 FRTSqrefs .................................................................................................714
2.5.68 GradientStop.............................................................................................715
2.5.69 GrbitBeginSlicer.........................................................................................715
2.5.70 GrbitFmla .................................................................................................716
2.5.71 GrbitSXTupleSetHeaderItem .......................................................................716
2.5.72 GrbitSXTupleSetRowItem ...........................................................................716
2.5.73 HeaderFooterString....................................................................................717
2.5.74 HorizAlign .................................................................................................720
2.5.75 Icon .........................................................................................................720
2.5.76 Icv...........................................................................................................721
2.5.77 Ifmt .........................................................................................................723
2.5.78 IHDB........................................................................................................724
2.5.79 IIFtab.......................................................................................................724
2.5.80 IsoPasswordData .......................................................................................725
2.5.81 Istr ..........................................................................................................725
2.5.82 ISXDI.......................................................................................................725
2.5.83 ISXTH ......................................................................................................726
2.5.84 ISXVD ......................................................................................................726
2.5.85 KPIProp ....................................................................................................726
2.5.86 KPISets ....................................................................................................727
2.5.87 KPISets14.................................................................................................727
2.5.88 ListTotalRowFunction .................................................................................729
2.5.89 ListType ...................................................................................................730
2.5.90 LongRGBA ................................................................................................730
2.5.91 LPByteBuf .................................................................................................731
2.5.92 LPWideString ............................................................................................731
2.5.93 Margin......................................................................................................731
2.5.94 Mdir .........................................................................................................732
2.5.95 MdtFlags...................................................................................................732
2.5.96 MdxMbrIstrFlags ........................................................................................734
2.5.97 OLEItemProperties.....................................................................................734
2.5.98 Parsed Expressions ....................................................................................735
2.5.98.1 ArrayParsedFormula .............................................................................735
2.5.98.2 BErr ...................................................................................................736
2.5.98.3 Boolean ..............................................................................................736
2.5.98.4 CellParsedFormula ...............................................................................736
2.5.98.5 Cetab .................................................................................................737
2.5.98.6 CFParsedFormula .................................................................................760
2.5.98.7 CFVOParsedFormula .............................................................................760
2.5.98.8 DVParsedFormula.................................................................................761
2.5.98.9 FRTParsedFormula ...............................................................................763
2.5.98.10 Ftab ...................................................................................................763
2.5.98.11 ListParsedFormula................................................................................797
2.5.98.12 NameParsedFormula ............................................................................798
2.5.98.13 ObjectParsedFormula............................................................................798
2.5.98.14 ParameterParsedFormula ......................................................................799
2.5.98.15 PivotParsedFormula ..............................................................................800
2.5.98.16 Ptg.....................................................................................................801
2.5.98.17 PtgAdd ...............................................................................................803
2.5.98.18 PtgArea ..............................................................................................803
2.5.98.19 PtgArea3d ...........................................................................................804
26 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
2.5.98.20 PtgAreaErr ..........................................................................................804
2.5.98.21 PtgAreaErr3d.......................................................................................805
2.5.98.22 PtgAreaN ............................................................................................805
2.5.98.23 PtgArray .............................................................................................806
2.5.98.24 PtgAttrBaxcel ......................................................................................807
2.5.98.25 PtgAttrChoose .....................................................................................807
2.5.98.26 PtgAttrGoTo ........................................................................................807
2.5.98.27 PtgAttrIf .............................................................................................808
2.5.98.28 PtgAttrIfError ......................................................................................808
2.5.98.29 PtgAttrSemi.........................................................................................809
2.5.98.30 PtgAttrSpace .......................................................................................809
2.5.98.31 PtgAttrSpaceSemi ................................................................................809
2.5.98.32 PtgAttrSpaceType ................................................................................810
2.5.98.33 PtgAttrSum .........................................................................................810
2.5.98.34 PtgBool...............................................................................................811
2.5.98.35 PtgConcat ...........................................................................................811
2.5.98.36 PtgDataType .......................................................................................811
2.5.98.37 PtgDiv ................................................................................................811
2.5.98.38 PtgEq .................................................................................................812
2.5.98.39 PtgErr.................................................................................................812
2.5.98.40 PtgExp................................................................................................812
2.5.98.41 PtgExtraArray ......................................................................................813
2.5.98.42 PtgExtraCol .........................................................................................814
2.5.98.43 PtgExtraList.........................................................................................814
2.5.98.44 PtgExtraMem.......................................................................................815
2.5.98.45 PtgFunc ..............................................................................................815
2.5.98.46 PtgFuncVar .........................................................................................815
2.5.98.47 PtgGe .................................................................................................816
2.5.98.48 PtgGt..................................................................................................816
2.5.98.49 PtgInt.................................................................................................816
2.5.98.50 PtgIsect ..............................................................................................817
2.5.98.51 PtgLe..................................................................................................817
2.5.98.52 PtgList ................................................................................................817
2.5.98.53 PtgLt ..................................................................................................819
2.5.98.54 PtgMemArea........................................................................................819
2.5.98.55 PtgMemErr ..........................................................................................819
2.5.98.56 PtgMemFunc........................................................................................820
2.5.98.57 PtgMemNoMem....................................................................................820
2.5.98.58 PtgMissArg ..........................................................................................821
2.5.98.59 PtgMul ................................................................................................821
2.5.98.60 PtgName.............................................................................................821
2.5.98.61 PtgNameX...........................................................................................822
2.5.98.62 PtgNe .................................................................................................823
2.5.98.63 PtgNum ..............................................................................................823
2.5.98.64 PtgParen .............................................................................................823
2.5.98.65 PtgPercent ..........................................................................................823
2.5.98.66 PtgPower ............................................................................................824
2.5.98.67 PtgRange ............................................................................................824
2.5.98.68 PtgRef ................................................................................................824
2.5.98.69 PtgRef3d.............................................................................................825
2.5.98.70 PtgRefErr ............................................................................................825
2.5.98.71 PtgRefErr3d.........................................................................................826
2.5.98.72 PtgRefN ..............................................................................................826
2.5.98.73 PtgRowType ........................................................................................827
2.5.98.74 PtgStr.................................................................................................827
2.5.98.75 PtgSub ...............................................................................................827
2.5.98.76 PtgSxName .........................................................................................828
2.5.98.77 PtgUMinus...........................................................................................828
27 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
2.5.98.78 PtgUnion.............................................................................................828
2.5.98.79 PtgUPlus .............................................................................................829
2.5.98.80 RevExtern ...........................................................................................829
2.5.98.81 RevItab ..............................................................................................829
2.5.98.82 RevLblName ........................................................................................830
2.5.98.83 RevName ............................................................................................831
2.5.98.84 RevNamePly ........................................................................................832
2.5.98.85 RevNameTabid ....................................................................................832
2.5.98.86 RevSheetName ....................................................................................833
2.5.98.87 RgbExtra.............................................................................................833
2.5.98.88 Rgce...................................................................................................834
2.5.98.89 RgceArea ............................................................................................838
2.5.98.90 RgceAreaRel........................................................................................838
2.5.98.91 RgceLoc ..............................................................................................839
2.5.98.92 RgceLocRel..........................................................................................839
2.5.98.93 SerAr .................................................................................................839
2.5.98.94 SerBool...............................................................................................840
2.5.98.95 SerErr ................................................................................................840
2.5.98.96 SerNum ..............................................................................................840
2.5.98.97 SerStr ................................................................................................841
2.5.98.98 SharedParsedFormula...........................................................................841
2.5.98.99 SxOs ..................................................................................................842
2.5.98.100 SxSu ..................................................................................................842
2.5.98.101 VirtualPath ..........................................................................................843
2.5.98.102 XLUnicodeString ..................................................................................845
2.5.98.103 XtiIndex..............................................................................................845
2.5.99 PCDCalcMemCommon ................................................................................846
2.5.100 PCDIAddlInfo ............................................................................................847
2.5.101 PCDIDateTime...........................................................................................848
2.5.102 PCDISrvFmt ..............................................................................................849
2.5.103 PhRun ......................................................................................................849
2.5.104 PivotFilterType ..........................................................................................851
2.5.105 PivotItemType...........................................................................................852
2.5.106 PivotNumFmt ............................................................................................853
2.5.107 PivotNumFmtExt........................................................................................853
2.5.108 Pnn..........................................................................................................853
2.5.109 PRFilter ....................................................................................................854
2.5.110 PrintErrorsAs.............................................................................................855
2.5.111 PRuleHeaderData.......................................................................................856
2.5.112 QsiFieldId .................................................................................................859
2.5.113 RangeProtectionTitleSDRel ..........................................................................859
2.5.114 ReadingOrder ............................................................................................860
2.5.115 RelID .......................................................................................................860
2.5.116 RevisionLogSheetName ..............................................................................861
2.5.117 RevisionType.............................................................................................861
2.5.118 RfX ..........................................................................................................862
2.5.119 RfXRel ......................................................................................................862
2.5.120 RgceAreaSmall ..........................................................................................863
2.5.121 RgceLocSmall ............................................................................................863
2.5.122 RichStr .....................................................................................................864
2.5.123 RkNumber ................................................................................................865
2.5.124 RRd .........................................................................................................866
2.5.125 RRdDnGrbit...............................................................................................866
2.5.126 Rw...........................................................................................................867
2.5.127 Rw_Col.....................................................................................................867
2.5.128 RwNullable................................................................................................867
2.5.129 RwRelNeg .................................................................................................868
2.5.130 RwShort ...................................................................................................868
28 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
2.5.131 Script .......................................................................................................868
2.5.132 SdSetSortOrder .........................................................................................868
2.5.133 ShortDtr ...................................................................................................869
2.5.134 ShowDataAs .............................................................................................869
2.5.135 SlicerCacheLevelData .................................................................................870
2.5.136 SlicerCacheNativeItem ...............................................................................871
2.5.137 SlicerCachePivotTable ................................................................................871
2.5.138 SqEtxp .....................................................................................................872
2.5.139 SrvFmtCV .................................................................................................872
2.5.140 SrvFmtData ..............................................................................................872
2.5.141 SrvFmtFlags..............................................................................................873
2.5.142 SrvFmtNum ..............................................................................................873
2.5.143 ST_SheetState ..........................................................................................874
2.5.144 StrRun .....................................................................................................874
2.5.145 StyleFlags.................................................................................................875
2.5.146 SXAxis .....................................................................................................875
2.5.147 SXET ........................................................................................................875
2.5.148 SXMA .......................................................................................................876
2.5.149 TagFnMdx .................................................................................................876
2.5.150 TSEType ...................................................................................................876
2.5.151 Tws..........................................................................................................881
2.5.152 TypeSql ....................................................................................................881
2.5.153 UncheckedCol ...........................................................................................882
2.5.154 UncheckedRfX ...........................................................................................882
2.5.155 UncheckedRw............................................................................................883
2.5.156 UncheckedSqRfX .......................................................................................883
2.5.157 Underline..................................................................................................883
2.5.158 VertAlign ..................................................................................................883
2.5.159 XFProp .....................................................................................................884
2.5.160 XFPropBorder ............................................................................................886
2.5.161 XFPropColor ..............................................................................................886
2.5.162 XFPropGradient .........................................................................................887
2.5.163 XFPropGradientStop ...................................................................................888
2.5.164 XFProps ....................................................................................................889
2.5.165 XFPropTextRotation ...................................................................................889
2.5.166 XLNameWideString ....................................................................................890
2.5.167 XLNullableWideString .................................................................................891
2.5.168 XLView .....................................................................................................892
2.5.169 XLWideString ............................................................................................892
2.5.170 XmlDataType ............................................................................................892
2.5.171 XmlMappedXpath.......................................................................................894
2.5.172 Xnum .......................................................................................................894
2.5.173 Xti ...........................................................................................................894
3 Structure Examples ............................................................................................. 897 3.1 Conditional Formatting.....................................................................................897 3.1.1 Conditional Formatting: BrtBeginConditionalFormatting ..................................897 3.1.2 Conditional Formatting: BrtBeginCFRule .......................................................899 3.1.3 Conditional Formatting: BrtEndCFRule ..........................................................901 3.1.4 Conditional Formatting: BrtEndConditionalFormatting.....................................901 3.1.5 Conditional Formatting: BrtDXF ...................................................................901 3.2 Defined Name.................................................................................................903 3.2.1 Defined Name: BrtName.............................................................................904 3.2.2 Defined Name: BrtBeginExternals ................................................................906 3.2.3 Defined Name: BrtSupSelf ..........................................................................906 3.2.4 Defined Name: BrtExternSheet....................................................................906 3.2.5 Defined Name: BrtEndExternals...................................................................907 3.3 Table .............................................................................................................907
29 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
3.3.1 Table: BrtListPart.......................................................................................907
3.3.2 Table: BrtBeginList ....................................................................................908
3.3.3 Table: BrtBeginAFilter ................................................................................910
3.3.4 Table: BrtEndAFilter ...................................................................................910
3.3.5 Table: BrtBeginListCols...............................................................................910
3.3.6 Table: BrtBeginListCol 1 .............................................................................911
3.3.7 Table: BrtEndListCol 1................................................................................912
3.3.8 Table: BrtBeginListCol 2 .............................................................................912
3.3.9 Table: BrtEndListCol 2................................................................................913
3.3.10 Table: BrtBeginListCol 3 .............................................................................913
3.3.11 Table: BrtListCCFmla..................................................................................914
3.3.12 Table: BrtEndListCol 3................................................................................916
3.3.13 Table: BrtEndListCols .................................................................................916
3.3.14 Table: BrtTableStyleClient ..........................................................................917
3.3.15 Table: BrtEndList .......................................................................................917
3.4 Filters ............................................................................................................918 3.4.1 Filters: BrtBeginAFilter ...............................................................................918 3.4.2 Filters: BrtBeginFilterColumn.......................................................................919 3.4.3 Filters: BrtBeginCustomFilters .....................................................................919 3.4.4 Filters: BrtCustomFilters .............................................................................919 3.4.5 Filters: BrtEndCustomFilters........................................................................920 3.4.6 Filters: BrtEndFilterColumn .........................................................................920 3.4.7 Filters: BrtEndAFilter ..................................................................................920 3.5 External References.........................................................................................920 3.5.1 External References: BrtRowHdr ..................................................................921 3.5.2 External References: BrtFmlaString..............................................................923 3.5.3 External References: BrtBeginSupBook.........................................................925 3.5.4 External References: BrtSupTabs .................................................................925 3.5.5 External References: BrtExternTableStart 1 ..................................................926 3.5.6 External References: BrtExternRowHdr .........................................................926 3.5.7 External References: BrtExternCellString ......................................................926 3.5.8 External References: BrtExternTableEnd 1 ....................................................927 3.5.9 External References: BrtExternTableStart 2 ..................................................927 3.5.10 External References: BrtExternTableEnd 2 ....................................................927 3.5.11 External References: BrtExternTableStart 3 ..................................................927 3.5.12 External References: BrtExternTableEnd 3 ....................................................928 3.5.13 External References: BrtEndSupBook ...........................................................928 3.6 Formatting .....................................................................................................928 3.6.1 Formatting: BrtCellReal 1 ...........................................................................929 3.6.2 Formatting: BrtCellReal 2 ...........................................................................930 3.6.3 Formatting: BrtCellReal 3 ...........................................................................930 3.6.4 Formatting: BrtBeginFmts...........................................................................931 3.6.5 Formatting: BrtFmt ....................................................................................931 3.6.6 Formatting: BrtEndFmts .............................................................................931 3.6.7 Formatting: BrtBeginFonts ..........................................................................931 3.6.8 Formatting: BrtFont 1 ................................................................................932 3.6.9 Formatting: BrtFont 2 ................................................................................934 3.6.10 Formatting: BrtEndFonts ............................................................................935 3.6.11 Formatting: BrtBeginFills ............................................................................935 3.6.12 Formatting: BrtFill 1...................................................................................936 3.6.13 Formatting: BrtFill 2...................................................................................937 3.6.14 Formatting: BrtEndFills...............................................................................939 3.6.15 Formatting: BrtBeginCellStyleXFs ................................................................939 3.6.16 Formatting: BrtXF 1 ...................................................................................939 3.6.17 Formatting: BrtEndCellStyleXFs ...................................................................941 3.6.18 Formatting: BrtBeginCellXFs .......................................................................941 3.6.19 Formatting: BrtXF 2 ...................................................................................942 3.6.20 Formatting: BrtXF 3 ...................................................................................943
30 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
3.6.21 Formatting: BrtXF 4 ...................................................................................944
3.6.22 Formatting: BrtXF 5 ...................................................................................945
3.6.23 Formatting: BrtEndCellXFs ..........................................................................947
3.7 Workbook ......................................................................................................947 3.7.1 Workbook: BrtBeginBook ............................................................................947 3.7.2 Workbook: BrtFileVersion ...........................................................................948 3.7.3 Workbook: BrtWbProp ................................................................................948 3.7.4 Workbook: BrtBeginBookViews ....................................................................950 3.7.5 Workbook: BrtBookView .............................................................................950 3.7.6 Workbook: BrtEndBookViews ......................................................................951 3.7.7 Workbook: BrtBeginBundleShs ....................................................................951 3.7.8 Workbook: BrtBundleSh 1...........................................................................952 3.7.9 Workbook: BrtBundleSh 2...........................................................................952 3.7.10 Workbook: BrtBundleSh 3...........................................................................952 3.7.11 Workbook: BrtEndBundleShs.......................................................................953 3.7.12 Workbook: BrtCalcProp ..............................................................................953 3.7.13 Workbook: BrtWbFactoid ............................................................................954 3.7.14 Workbook: BrtFileRecover...........................................................................955 3.7.15 Workbook: BrtEndBook ..............................................................................955 3.7.16 Workbook: BrtBeginSst ..............................................................................955 3.7.17 Workbook: BrtSSTItem 1............................................................................956 3.7.18 Workbook: BrtSSTItem 2............................................................................956 3.7.19 Workbook: BrtEndSst .................................................................................956 3.7.20 Workbook: BrtBeginSheet...........................................................................956 3.7.21 Workbook: BrtWsProp ................................................................................957 3.7.22 Workbook: BrtWsDim .................................................................................959 3.7.23 Workbook: BrtBeginWsViews.......................................................................959 3.7.24 Workbook: BrtBeginWsView ........................................................................960 3.7.25 Workbook: BrtSel ......................................................................................961 3.7.26 Workbook: BrtEndWsView...........................................................................962 3.7.27 Workbook: BrtEndWsViews .........................................................................963 3.7.28 Workbook: BrtWsFmtInfo ...........................................................................963 3.7.29 Workbook: BrtBeginSheetData ....................................................................964 3.7.30 Workbook: BrtRowHdr 1 .............................................................................964 3.7.31 Workbook: BrtCellIsst 1..............................................................................965 3.7.32 Workbook: BrtRowHdr 2 .............................................................................966 3.7.33 Workbook: BrtCellRk ..................................................................................967 3.7.34 Workbook: BrtRowHdr 3 .............................................................................967 3.7.35 Workbook: BrtCellIsst 2..............................................................................968 3.7.36 Workbook: BrtRowHdr 4 .............................................................................969 3.7.37 Workbook: BrtFmlaNum .............................................................................970 3.7.38 Workbook: BrtEndSheetData.......................................................................972 3.7.39 Workbook: BrtSheetProtection ....................................................................972 3.7.40 Workbook: BrtPrintOptions .........................................................................974 3.7.41 Workbook: BrtMargins................................................................................974 3.7.42 Workbook: BrtEndSheet .............................................................................975 3.8 PivotTable ......................................................................................................976 3.8.1 PivotTable: BrtBeginPivotCacheIDs ..............................................................976 3.8.2 PivotTable: BrtBeginPivotCacheID................................................................977 3.8.3 PivotTable: BrtBeginPivotCacheDef ..............................................................977 3.8.4 PivotTable: BrtBeginPCDSource ...................................................................979 3.8.5 PivotTable: BrtBeginPCDSRange ..................................................................979 3.8.6 PivotTable: BrtBeginPCDFields.....................................................................980 3.8.7 PivotTable: BrtBeginPCDField 1 ...................................................................980 3.8.8 PivotTable: BrtBeginPCDFAtbl .....................................................................981 3.8.9 PivotTable: BrtPCDIString 1 ........................................................................982 3.8.10 PivotTable: BrtPCDIString 2 ........................................................................983 3.8.11 PivotTable: BrtBeginPCDField 2 ...................................................................983
31 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
3.8.12 PivotTable: BrtBeginPCDFAtbl 1...................................................................984
3.8.13 PivotTable: BrtBeginPCDIRun ......................................................................985
3.8.14 PivotTable: BrtBeginPCDField 3 ...................................................................990
3.8.15 PivotTable: BrtBeginPCDField 4 ...................................................................991
3.8.16 PivotTable: BrtBeginPCDField 5 ...................................................................992
3.8.17 PivotTable: BrtBeginPCDFAtbl 2...................................................................993
3.8.18 PivotTable: BrtBeginPivotCacheRecords ........................................................994
3.8.19 PivotTable: BrtPCRRecord 1 ........................................................................994
3.8.20 PivotTable: BrtPCRRecord 2 ........................................................................995
3.8.21 PivotTable: BrtPCRRecord 3 ........................................................................996
3.8.22 PivotTable: BrtPCRRecord 4 ........................................................................996
3.8.23 PivotTable: BrtPCRRecord 5 ........................................................................997
3.8.24 PivotTable: BrtPCRRecord 6 ........................................................................998
3.8.25 PivotTable: BrtPCRRecord 7 ........................................................................999
3.8.26 PivotTable: BrtBeginSXView ........................................................................999
3.8.27 PivotTable: BrtBeginSxLocation .................................................................1005
3.8.28 PivotTable: BrtBeginSXVDs .......................................................................1006
3.8.29 PivotTable: BrtBeginSXVD 1......................................................................1006
3.8.30 PivotTable: BrtBeginSXVIs 1 .....................................................................1010
3.8.31 PivotTable: BrtBeginSXVI 1.......................................................................1010
3.8.32 PivotTable: BrtBeginSXVI 2.......................................................................1011
3.8.33 PivotTable: BrtBeginSXVI 3.......................................................................1012
3.8.34 PivotTable: BrtBeginSXVI 4.......................................................................1013
3.8.35 PivotTable: BrtBeginSXVI 5.......................................................................1014
3.8.36 PivotTable: BrtBeginSXVD 2......................................................................1015
3.8.37 PivotTable: BrtBeginSXVIs 2 .....................................................................1017
3.8.38 PivotTable: BrtBeginSXVI 6.......................................................................1018
3.8.39 PivotTable: BrtBeginSXVI 7.......................................................................1019
3.8.40 PivotTable: BrtBeginSXVI 8.......................................................................1020
3.8.41 PivotTable: BrtBeginSXVD 3......................................................................1020
3.8.42 PivotTable: BrtBeginSXVD 4......................................................................1023
3.8.43 PivotTable: BrtBeginSXVD 5......................................................................1025
3.8.44 PivotTable: BrtBeginISXVDRws..................................................................1028
3.8.45 PivotTable: BrtBeginSXLIRws .................................................................... 1028
3.8.46 PivotTable: BrtBeginSXLI 1 .......................................................................1028
3.8.47 PivotTable: BrtBeginISXVIs 1 .................................................................... 1029
3.8.48 PivotTable: BrtBeginSXLI 2 .......................................................................1029
3.8.49 PivotTable: BrtBeginISXVIs 2 .................................................................... 1030
3.8.50 PivotTable: BrtBeginSXLI 3 .......................................................................1030
3.8.51 PivotTable: BrtBeginISXVIs 3 .................................................................... 1031
3.8.52 PivotTable: BrtBeginSXLICols .................................................................... 1031
3.8.53 PivotTable: BrtBeginSXLI 4 .......................................................................1031
3.8.54 PivotTable: BrtBeginSXPIs ........................................................................ 1032
3.8.55 PivotTable: BrtBeginSXPI..........................................................................1032
3.8.56 PivotTable: BrtBeginSXDIs ........................................................................ 1033
3.8.57 PivotTable: BrtBeginSXDI .........................................................................1033
3.9 Metadata ..................................................................................................... 1034 3.9.1 MetaData: BrtBeginExtConnections ............................................................ 1036 3.9.2 MetaData: BrtBeginExtConnection .............................................................1036 3.9.3 MetaData: BrtBeginECDbProps ..................................................................1038 3.9.4 MetaData: BrtBeginECOlapProps................................................................ 1039 3.9.5 MetaData: BrtBeginMetadata .................................................................... 1040 3.9.6 MetaData: BrtBeginEsmdtinfo ...................................................................1040 3.9.7 MetaData: BrtMdtinfo ...............................................................................1040 3.9.8 MetaData: BrtBeginEsstr ..........................................................................1042 3.9.9 MetaData: BrtStr 1 ..................................................................................1042 3.9.10 MetaData: BrtStr 2 ..................................................................................1042 3.9.11 MetaData: BrtStr 3 ..................................................................................1042
32 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
3.9.12 MetaData: BrtStr 4 ..................................................................................1043
3.9.13 MetaData: BrtBeginEsmdx ........................................................................ 1043
3.9.14 MetaData: BrtBeginMdx 1 .........................................................................1043
3.9.15 MetaData: BrtBeginMdxSet .......................................................................1044
3.9.16 MetaData: BrtBeginMdx 2 .........................................................................1044
3.9.17 MetaData: BrtBeginMdxTuple 1 .................................................................1044
3.9.18 MetaData: BrtMdxMbrIstr .........................................................................1045
3.9.19 MetaData: BrtBeginMdx 3 .........................................................................1046
3.9.20 MetaData: BrtBeginMdxTuple 2 .................................................................1046
3.9.21 MetaData: BrtMdxMbrIStr 1 ......................................................................1047
3.9.22 MetaData: BrtBeginMdx 4 .........................................................................1048
3.9.23 MetaData: BrtBeginMdxTuple 3 .................................................................1048
3.9.24 MetaData: BrtMdxMbrIStr 2 ......................................................................1049
3.9.25 MetaData: BrtMdxMbrIStr 3 ......................................................................1050
3.9.26 MetaData: BrtBeginEsmdb ........................................................................ 1050
3.9.27 MetaData: BrtMdb ...................................................................................1050
3.10 Slicer...........................................................................................................1051 3.10.1 Slicer: BrtBeginSlicerCache .......................................................................1053 3.10.2 Slicer: BrtBeginSlicerCacheDef ..................................................................1053 3.10.3 Slicer: BrtSlicerCachePivotTables ............................................................... 1053 3.10.4 Slicer: BrtBeginSlicerCacheNative ..............................................................1054 3.10.5 Slicer: BrtSlicerCacheNativeItem ............................................................... 1055 3.10.6 Slicer: BrtEndSlicerCacheNative................................................................. 1056 3.10.7 Slicer: BrtEndSlicerCacheDef.....................................................................1056 3.10.8 Slicer: BrtEndSlicerCache .........................................................................1056 3.10.9 Slicer: BrtBeginSlicers ..............................................................................1056 3.10.10 Slicer: BrtBeginSlicer ...............................................................................1056 3.10.11 Slicer: BrtEndSlicer ..................................................................................1057 3.10.12 Slicer: BrtEndSlicers ................................................................................ 1057 4 Security Considerations ..................................................................................... 1059 5 Appendix A: Product Behavior ........................................................................... 1060 6 Change Tracking................................................................................................ 1082 7 Index................................................................................................................. 1083
33 / 1118
[MS-XLSB] - v20251113
Excel (.xlsb) Binary File Format
Copyright © 2025 Microsoft Corporation
Release: November 13, 2025
1 Introduction
The Excel Binary File Format (.xlsb) Structure is a collection of records and structures that specify workbook content, which can include unstructured or semi-structured tables of numbers, text, or both numbers and text, formulas, external data connections, charts and images. Workbook content is typically organized in a grid based layout, and often includes numeric data, structured data, and formulas.
Sections 1.7 and 2 of this specification are normative. All other sections and examples in this specification are informative.
1.1 Glossary
This document uses the following terms:
A1: A reference style in which each column (1) is identified sequentially from left-to-right with a letter or series of letters in alphabetical order. Column headings are ordered A-Z, then AA-AZ, BA-BZ... ZA-ZZ, AAA-AAZ, and so forth. Each row is numbered sequentially from the top down.
absolute path: A string that identifies the location of a file and that begins with a drive identifier and root directory or network share and ends with the complete file name. Examples are C:\Documents\Work\example.txt and \netshare\Documents\Work\example.txt.
absolute reference: A reference to a fixed location on a sheet. An absolute reference always refers to the same range, even if the formula that contains it is moved or copied to a new location.
absolute URL: The full Internet address of a page or other World Wide Web resource. The absolute URL includes a protocol, such as "http," a network location, and an optional path and file name — for example, http://www.treyresearch.net/.
active cell: The cell that is currently selected in a worksheet.
active sheet: The sheet that is currently selected.
ActiveX control: A reusable software control, such as a check box or button, that uses ActiveX technology and provides options to users or runs macros or scripts that automate a task. See also ActiveX object.
ActiveX Data Objects (ADO): A data access interface that connects to, retrieves, manipulates, and updates data in Object Linking and Embedding (OLE) database-compliant data sources.
ActiveX object: An object that is supplied by a component that supports automation.
add-in: Supplemental functionality that is provided by an external application or macro to extend the capabilities of an application.
add-in function: A worksheet function that is provided by an add-in, instead of being built-in.
aggregation function: A function, such as sum or average, that appears in the total row of a table and is used to summarize data.
ALL: See OLAP All member.
alternate startup directory: A secondary location that stores files to be opened by an application when the application starts.
American National Standards Institute (ANSI) character set: A character set defined by a code page approved by the American National Standards Institute (ANSI). The term "ANSI" as
34 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
used to signify Windows code pages is a historical reference and a misnomer that persists in the Windows community. The source of this misnomer stems from the fact that the Windows code page 1252 was originally based on an ANSI draft, which became International Organization for Standardization (ISO) Standard 8859-1 [ISO/IEC-8859-1]. In Windows, the ANSI character set can be any of the following code pages: 1252, 1250, 1251, 1253, 1254, 1255, 1256, 1257, 1258, 874, 932, 936, 949, or 950. For example, "ANSI application" is usually a reference to a non-Unicode or code-page-based application. Therefore, "ANSI character set" is often misused to refer to one of the character sets defined by a Windows code page that can be used as an active system code page; for example, character sets defined by code page 1252 or character sets defined by code page 950. Windows is now based on Unicode, so the use of ANSI character sets is strongly discouraged unless they are used to interoperate with legacy applications or legacy data.
ARGB: A color space wherein each color is represented as a quad (A, R, G, B), where A represents the alpha (transparency) component, R represents the red component, G represents the green component, and B represents the blue component. The ARGB value is typically stored as a 32- bit integer, wherein the alpha channel is stored in the highest 8 bits and the blue value is stored in the lowest 8 bits.
ascending order: A sort order in which text strings are arranged in alphabetical order, numerical values are arranged from smallest to largest, and dates and times are arranged from oldest to newest.
ASCII: The American Standard Code for Information Interchange (ASCII) is an 8-bit character- encoding scheme based on the English alphabet. ASCII codes represent text in computers, communications equipment, and other devices that work with text. ASCII refers to a single 8-bit ASCII character or an array of 8-bit ASCII characters with the high bit of each character set to zero.
attribute: A characteristic of some object or entity, typically encoded as a name/value pair.
attribute drilldown: The process of examining the non-atomic constituent parts, such as properties or data elements, that make up an object.
attribute hierarchy: A single-level hierarchy that uses only an attribute or a column from a source, back-end relational database as its hierarchy. An attribute hierarchy typically has the same name as the attribute and is always associated with the attribute on which it is based. An all-level member can optionally be enabled for an attribute hierarchy. See also OLAP hierarchy.
Augmented Backus-Naur Form (ABNF): A modified version of Backus-Naur Form (BNF), commonly used by Internet specifications. ABNF notation balances compactness and simplicity with reasonable representational power. ABNF differs from standard BNF in its definitions and uses of naming rules, repetition, alternatives, order-independence, and value ranges. For more information, see [RFC5234].
AutoFilter: A mechanism that can be used to filter tabular data based on user-defined criteria such as values, strings, and formatting.
AutoFormat: A built-in set of complementary formatting options that can be applied to ranges of cells and other objects in a document.
automatic calculation mode: A calculation mode in which formulas in a worksheet are recalculated automatically whenever the data changes. See also manual calculation mode.
AutoRecover: A feature that recovers document and application states in the event of a hardware or software failure.
AutoShow: A filter option that enables users to display a specified number of the top- or bottom- most items within a PivotTable field.
35 / 1118
[MS-XLSB] - v20251113
Excel (.xlsb) Binary File Format
Copyright © 2025 Microsoft Corporation
Release: November 13, 2025
background color: A color against which characters, patterns, and graphics are displayed. See also foreground color.
Binary Interchange File Format (BIFF): The binary file formats that are used to save Excel workbooks.
Boolean: An operation or expression that can be evaluated only as either true or false.
border: A line that can be applied to the outer edge of a cell, shape, object, or chart element. A border can be variously formatted for style, color, and thickness.
border formatting: A set of properties that, as a whole, specify the appearance of a border, such as color, line style, and thickness.
border style: See border formatting.
build number: A part of a sequential numbering system that is used to differentiate one version of a software product from another.
built-in name: A member of the group of defined names that are reserved for specific functionality.
calculated column: A column (1) in a table that contains a formula that is copied automatically to each record in the column.
calculation mode: A setting that determines whether the formulas in a worksheet are recalculated automatically or manually. See also automatic calculation mode and manual calculation mode.
caption: One or more characters that can be used as a label for display purposes or as an identifier.
cascading style sheet (CSS): An extension to HTML that enables authors and users of HTML documents to attach style sheets to those documents, as described in [CSS-LEVEL1] and [CSS- LEVEL2]. A style sheet includes typographical information about the appearance of a page, including the font for text on the page.
cell: A box that is formed by the intersection of a row and a column (1) in a worksheet or a table. A cell can contain numbers, strings, and formulas, and various formats can be applied to that data.
cell reference: A set of coordinates that a cell occupies on a worksheet. For example, "B3" is the reference of a cell that appears at the intersection of column "B" and row "3".
cell value: The text or numeric content of a cell, or the results of a formula. A cell value does not include a formula expression, cell formatting, or other metadata.
center-across-selection alignment: A formatting setting that centers cell content horizontally within a selected range of cells.
character set: A mapping between the characters of a written language and the values that are used to represent those characters to a computer.
chart sheet: A single logical container that is used to create and store charts in a workbook.
chart sheet view: A set of display settings, such as zoom level, for a chart sheet window.
child element: In an XML document, an element that is subordinate to and is contained by another element, which is referred to as the parent element.
36 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
class identifier (CLSID): A GUID that identifies a software component; for instance, a DCOM object class or a COM class.
code page: An ordered set of characters of a specific script in which a numerical index (code-point value) is associated with each character. Code pages are a means of providing support for character sets and keyboard layouts used in different countries/regions. Devices such as the display and keyboard can be configured to use a specific code page and to switch from one code page (such as the United States) to another (such as Portugal) at the user's request.
collapsed outline state: A state in which the content that is nested within an outline is not displayed.
color scale: A specific range of colors that is used to give additional meaning to data by assigning certain values to colors in the spectrum.
column: (1) A single set of data that is displayed vertically in a worksheet or a table.
(2) See column chart.
comment: An annotation that is associated with a cell, text, or other object to provide context- specific information or reviewer feedback.
compact axis: A state in which PivotTable members from different levels in a hierarchy are displayed in a single column (1).
Component Object Model (COM): An object-oriented programming model that defines how objects interact within a single process or between processes. In COM, clients have access to an object through interfaces implemented on the object. For more information, see [MS-DCOM].
conditional formatting: A mechanism that changes the appearance of a user interface element based on the evaluation of a rule or expression.
connection string: A series of arguments, delimited by a semicolon, that defines the location of a database and how to connect to it.
credential: Previously established, authentication data that is used by a security principal to establish its own identity. When used in reference to the Netlogon Protocol, it is the data that is stored in the NETLOGON_CREDENTIAL structure.
cube: A set of data that is organized and summarized into a multidimensional structure that is defined by a set of dimensions and measures.
cube function: A function that is used to extract and display Online Analytical Processing (OLAP) data sets and values.
custom list: A user-defined list or enumeration that can be used to sort data in a worksheet.
custom view: A collection of display and print settings that users can name and save. Users can switch between custom views to change settings quickly.
Data Access Objects (DAO): A programming interface that can be used to access and manipulate database objects.
data bar: A graphical representation of cell content as a bar graph.
data consolidation: The process of combining tabular data from various worksheets into a single list.
data marker: A customizable symbol or shape that identifies a data point on a line, scatter, or radar chart. A data marker can be formatted with various sizes and colors.
37 / 1118
[MS-XLSB] - v20251113
Excel (.xlsb) Binary File Format
Copyright © 2025 Microsoft Corporation
Release: November 13, 2025
data point: A representation of a PivotTable item in a PivotTable data field contained in a PivotChart report.
data provider: A known data source that is specific to a target type and that provides data to a collector type.
data recovery: A process in which files are repaired through error correction or restored from backup media.
data region: A region of a table that encompasses the range of cells that contains the table records. A data region does not include the header row, insert row, or total row of a table.
data source: A database, web service, disk, file, or other collection of information from which data is queried or submitted. Supported data sources vary based on application and data provider.
data table: A range of cells that is designated to perform what-if analysis for formulas, based on various input values.
data validation: The process of testing the accuracy of data; a set of rules that specify the type and range of data that users can enter.
date system: A method of calculating calendar dates and times.
DDE server: An application that responds to a Dynamic Data Exchange (DDE) request from a DDE client application.
DDE topic: A general classification of information about a Dynamic Data Exchange (DDE) server within which multiple, specific data items related to the topic can be exchanged.
defined name: A word or string of characters in a formula that represents a cell, range of cells, formula, or constant value.
diagonal-down: A cell border formatting that displays a line diagonally from the top left corner of a cell to the bottom right corner.
diagonal-up: A cell border formatting that displays a line diagonally from the bottom left corner of a cell to the top right corner.
dialog sheet: A single logical container that is used to create a custom dialog box.
dimension: A structural attribute of a cube, which is an organized hierarchy of categories (levels) that describe data in a fact table. These categories typically describe a similar set of members upon which the user bases an analysis.
display folder: A folder into which attributes, measures, calculated members, and key performance indicators can be organized to facilitate browsing.
distributed alignment: A formatting setting that spreads text evenly, both vertically and horizontally, between the edges of a cell, object, or page. Distributed alignment is used primarily with East Asian languages. See also justify distributed.
double accounting: An underline style that places two lines beneath the formatted text. Double accounting is frequently used to indicate totals.
drawing object: A shape, curve, line, WordArt, or other type of graphical object that can be inserted into a document.
drillthrough: A query that is used to retrieve individual records that were used to calculate an aggregate value.
38 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
drop zone: An area of a PivotTable report where fields can be positioned to affect the layout of the report. Each PivotTable report has four drop zones.
dynamic array: An array resulting from a formula whose dimensions can change when the formula is evaluated.
Dynamic Data Exchange (DDE): An inter-process communication method that is featured in Windows. DDE allows two or more applications that are running simultaneously to exchange data and commands.
embedded object: An object that is created by using one application and is hosted in a document that was created by using another application. Embedding an object, rather than inserting or pasting it, ensures that the object retains its original format. Users can double-click an embedded object and edit it with the toolbars and menus from the application that was used to create it. See also Object Linking and Embedding (OLE).
English Metric Unit (EMU): A measurement in computer typography. There are 635 EMUs per twip, 6,350 EMUs per half-point, 12,700 EMUs per point, and 914,400 EMUs per inch. These units are used to translate on-screen layouts to printed layouts for specified printer hardware.
Excel Linked Library (XLL): A Dynamic Link Library (DLL) that is authored to function as an add-in for Microsoft Excel.
Excel macro (XLM): A programming language that provides development capability in Microsoft Excel. XLM was superseded by Microsoft Visual Basic for Applications (VBA).
expand/collapse button: A user interface control that is used to determine which hierarchical level is displayed in an outline, or in row and column groupings.
expression: A combination of operators, symbols, constants, literal values, functions, names of fields or columns, controls, and properties that evaluates to a single value.
external code service: An external service responsible for executing code and returning result or error.
external data: Data that is stored in a repository outside a workbook.
external link: A reference to a cell, range, defined name, or other object in another worksheet or workbook.
external workbook: A workbook, other than the active workbook, that is on disk or in memory and to which a dependency is implied or intended.
file extension: The sequence of characters in a file's name between the end of the file's name and the last "." character. Vendors of applications choose such sequences for the applications to uniquely identify files that were created by those applications. This allows file management software to determine which application are to be used to open a file.
file format compatibility checker: A tool that identifies whether a workbook has compatibility issues that can cause a significant loss of functionality or a minor loss of fidelity in a different version of Microsoft Excel. The compatibility checker finds any potential compatibility issues and generates a report so that they can be resolved.
fill: A color, pattern, or other attribute that is used to format the background of a cell, shape, or chart element. See also fill color and fill pattern.
fill alignment: A setting that repeats a cell value to fill the horizontal space of a cell. If the cell value exceeds the horizontal width of the cell, the value is truncated.
fill color: A color that is used to fill the background of a cell, shape, or chart element.
39 / 1118
[MS-XLSB] - v20251113
Excel (.xlsb) Binary File Format
Copyright © 2025 Microsoft Corporation
Release: November 13, 2025
fill pattern: A repetitive design that users can add to the background of a cell, shape, or chart element.
filter: A mechanism by which a set of data is scoped to display only those entries that meet specified logical criteria.
fit to page: A printing option that scales a document to print on a specified number of pages.
floating-point number: A number that is represented by a mantissa and an exponent according to a given base. The mantissa is typically a value between "0" and "1". To find the value of a floating-point number, the base is raised to the power of the exponent, and the mantissa is multiplied by the result.
folder: A file system construct. File systems organize a volume's data by providing a hierarchy of objects, which are referred to as folders or directories, that contain files and can also contain other folders.
font: An object that defines the graphic design, or formatting, of a collection of numbers, symbols, and letters. A font specifies the style (such as bold and strikeout), size, family (a typeface such as Times New Roman), and other qualities to describe how the collection is drawn.
font face color: A property of a cell that specifies the color that is used to render a font.
font face weight: A value that specifies the thickness of a font.
font family: A set of fonts that all have common stroke width and serif characteristics. For example, Times Roman and Times Roman Italic are members of the same font family.
font scheme: A combination of complementary fonts in a theme.
foreground color: A color that is used to display text, patterns, and other objects that appear in front of or on top of the background color.
format string: A string that contains the number formatting information to apply to data, such as decimal position, percentage indicator, or currency symbol.
formula: A logical equation or function that produces a result in a spreadsheet application.
formula bar: A user interface element that appears at the top of a worksheet and is used to display and edit cell content.
fragment identifier: A portion of a URI that specifies the destination of a hyperlink within a document.
friendly name: A name for a user or object that can be read and understood easily by a human.
frozen panes: Portions of a worksheet that remain static and do not scroll when the worksheet is displayed in split pane view. See also split pane.
function: A code module that takes a value as input, performs an operation, and returns the results to a worksheet.
function category: A group of worksheet functions that are part of the same broad usage area, such as Finance or Statistical. A function category can be built-in or user-defined.
future function: A function that can be written to but is not implemented in a file.
general alignment: A default formatting setting for the horizontal alignment of cell content in a worksheet. Text is positioned to the left and numbers are positioned to the right.
40 / 1118
[MS-XLSB] - v20251113
Excel (.xlsb) Binary File Format
Copyright © 2025 Microsoft Corporation
Release: November 13, 2025
globally unique identifier (GUID): A term used interchangeably with universally unique identifier (UUID) in Microsoft protocol technical documents (TDs). Interchanging the usage of these terms does not imply or require a specific algorithm or mechanism to generate the value. Specifically, the use of this term does not imply or require that the algorithms described in [RFC4122] or [C706] have to be used for generating the GUID. See also universally unique identifier (UUID).
gradient fill: A type of fill that applies gradient formatting to the background of a cell or an object.
gradient stop: A marker on a gradient spectrum that denotes where a specific color is introduced in gradient formatting.
gradient vector: A vector that indicates the direction of a gradient fill. The gradient vector is perpendicular to the bands of color.
grand total: An aggregation of all of the field subtotals in a PivotTable report.
gridline: A line that is drawn on a worksheet or table for use as a visual aid to distinguish between cells.
hash: A fixed-size result that is obtained by applying a one-way mathematical function, which is sometimes referred to as a hash algorithm, to an arbitrary amount of data. If the input data changes, the hash also changes. The hash can be used in many operations, including authentication and digital signing.
header: A line, or lines, of content in the top margin area of a page in a document or a slide in a presentation. A header typically contains elements such as the title of the chapter, the title of the document, a page number, or the name of the author.
header row: A row in a table, typically the first row, that contains labels for columns (1) in the table.
hidden: A condition of an object that prevents it from being displayed in rendered output.
hidden column: A column (1) that does not appear in a worksheet view because its width is set to 0 (zero). A column can be hidden if an outline is collapsed.
hidden protection: A cell protection property that prevents formulas, but not values, from appearing in a cell when a worksheet is protected.
hidden row: A row that does not appear in a worksheet view because its height is set to "0" (zero). A row can be hidden if the data is filtered or an outline is collapsed.
hierarchy: A logical tree structure that organizes the members of a dimension such that each member has one parent member and zero or more child members.
horizontal alignment: A formatting setting that specifies how content is positioned within the horizontal space of a cell, object, or page. Content can be aligned along the left or right edge, or distributed evenly across the horizontal space.
hyperlink: A relationship between two anchors, as described in [RFC1866].
Hypertext Markup Language (HTML): An application of the Standard Generalized Markup Language (SGML) that uses tags to mark elements in a document, as described in [HTML].
icon: A graphical image used to supplement alphanumeric text in the visual identification of an object on a computer monitor. Icons are typically small, relative to the size of the area on which they are displayed.
icon set: A collection of icons that can be used to comment and classify data into categories.
41 / 1118
[MS-XLSB] - v20251113
Excel (.xlsb) Binary File Format
Copyright © 2025 Microsoft Corporation
Release: November 13, 2025
indentation level: A measure of the distance between the position of content that is in a cell and the logical left side of the cell. An indentation level is equal to three spaces.
Information Rights Management (IRM): A technology that provides persistent protection to digital data by using encryption, certificates, and authentication. Authorized recipients or users acquire a license to gain access to the protected files according to the rights or business rules that are set by the content owner.
ink: A process of entering text in handwritten form. Instead of converting handwritten text to typed text, ink is converted to an object and displayed exactly as it was written.
inner rectangle: In a cell that is formatted with a rectangular gradient, a rectangle that is formed by the leftmost, rightmost, topmost, and bottommost lines of pixels in which the initial color of the gradient is completely dissipated. See also rectangular gradient.
input cell: A cell in which each input value from a data table is substituted.
Input Method Editor (IME): An application that is used to enter characters in written Asian languages by using a standard 101-key keyboard. An IME consists of both an engine that converts keystrokes into phonetic and ideographic characters and a dictionary of commonly used ideographic words.
insert row: A placeholder row at the bottom of a table. It is used to enter new records.
iterative calculation: A calculation mode in which calculations are performed until a specific numeric condition is met or a maximum number of iterations is reached.
justify alignment: A formatting setting that spreads text evenly, both vertically and horizontally, between the edges of a cell, object, or page. Also referred to as distributed alignment.
justify distributed: A special, distributed-alignment setting that evenly distributes the last line of text in a cell. The setting is primarily used for East Asian languages. See also distributed alignment.
key performance indicator (KPI): A predefined measure that is used to track performance against a strategic goal, objective, plan, initiative, or business process. A visual cue is frequently used to communicate performance against the measure.
language code identifier (LCID): A 32-bit number that identifies the user interface human language dialect or variation that is supported by an application or a client computer.
left-to-right: A reading order in which characters in words are read from left to right, and words are read from left to right in sentences.
level: A relative position in a hierarchy of data. A level is frequently used when describing how to navigate a hierarchy in an Online Analytical Processing (OLAP) database or a PivotTable report.
library directory: A directory in which Microsoft Excel add-ins are installed.
line style: A style, including width and dash type, that is applied to and alters the appearance of a line or border.
linear gradient: A type of gradient fill in which the color of a cell or other object gradually changes horizontally, vertically, or diagonally from one edge of the object to the other.
linked object: An object that is inserted into a document and continues to exist in a separate source file. If the object in the source file changes, the object in the document is updated automatically to reflect those changes.
little-endian: Multiple-byte values that are byte-ordered with the least significant byte stored in the memory location with the lowest address.
42 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
locale: A collection of rules and data that are specific to a language and a geographical area. A locale can include information about sorting rules, date and time formatting, numeric and monetary conventions, and character classification.
locked: The condition of a cell, worksheet, or other object that restricts edits or modifications to it by users.
locked protection: A cell-protection property that restricts the editing of cell content when a worksheet is protected.
logical left: A position that is relative to the language orientation of a document. Logical left means left, except in a right-to-left language where it means right. Also referred to as leading edge.
logical right: A position that is relative to the language orientation of a document. Logical right means right, except in a right-to-left language where it means left. Also referred to as trailing edge.
logical top-left: A position that is relative to the language orientation of a document. Logical top- left is the upper-left corner of a range or object when in left-to-right mode. It is the upper-right corner when in right-to-left mode.
logical top-right: A position that is relative to the language orientation of a document. Logical top-right is the upper-right corner of a range or object when in left-to-right mode. It is the upper-left corner when in right-to-left mode.
long file name: A folder or file name that is longer than the 8.3 file name standard, which permits as many as eight characters followed by a period and a file name extension of three characters.
macro: A set of instructions that are recorded or written, and then typically saved to a file. When a macro is run, all of the instructions are performed automatically.
macro sheet: A single, logical container that is used to store and run Microsoft Excel 4.0 for Windows macro formulas.
major scheme: A font scheme that is used for primary text elements, such as headings and titles, in a theme.
Mandarin phonetic symbols: A phonetic system for transcribing Chinese through the use of an alphabet that includes characters for all possible sounds in the spoken Mandarin language.
manifest: A file that stores metadata about an expansion pack, such as the name of the expansion pack, the files and resources that are included in the expansion pack, and the dependencies that it has on other files and components.
manual calculation mode: A calculation mode in which the formulas in a workbook are calculated only when specified by a user. See also automatic calculation mode.
MDX query: A query that uses the multidimensional expression (MDX) syntax.
MDX unique name: A unique identifier for a multidimensional expression (MDX) member or value in a given Online Analytical Processing (OLAP) cube, for example "[Customer].[Customer Geography].[Country].&[Australia]".
measure: In a cube, a set of values that are typically numeric and are based on a column in the fact table of the cube. Measures are the central values that are aggregated and analyzed.
measure group: A collection of related measures in a cube that derive from a single fact table, typically in a data source view.
member: See OLAP member.
43 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
member property: An attribute on a data item within a specific dimension in an Online Analytical Processing (OLAP) database.
merged cell: A single cell that is created by combining two or more adjacent cells.
MIME Encapsulation of Aggregate HTML Documents (MHTML): A MIME-encapsulated HTML document, as described in [RFC2557].
minimal save: A process that saves only critical workbook data to disk when errors are detected during a file save operation.
minor scheme: A font scheme that is used for secondary text elements, such as body text, in a theme.
module: A collection of routines and data structures that performs a specific task or implements a specific abstract data type. Modules usually consist of two parts, a module header and a module body. A module header is a set of name/value attribute pairs that specify the linguistic characteristics of the module. A module body is the VBA source code, a set of declarations followed by procedures. VBA supports two types of modules, procedural modules and class modules.
module sheet: A sheet type that contains VBA code and was created by using Microsoft Excel 5.0 for Windows or Microsoft Excel for Windows 95.
Multidimensional Expressions (MDX): A syntax that is used for defining multidimensional objects, and for querying and manipulating multidimensional data.
named range: See defined name.
ninched: A condition in which a group of selected cells or objects do not share a specific property. For example, if a selection has three cells and only two of the cells share the same color formatting, the color formatting of the selection is in a ninched state.
non-contiguous range: A selected range that includes non-adjacent cells.
Normal view: A document view that displays text formatting and a simplified page layout of a document. The Normal view hides some layout elements such as the header and footer. Referred to as Draft view in Microsoft Office Word 2007 and Microsoft Word 2010.
number format: A property of a cell or other type of object that determines how numerical data is displayed or interpreted. For example, a currency number format affixes the proper currency symbol to the number.
object: In COM, a software entity that implements the IUnknown interface and zero or more additional interfaces that can be obtained from each other using the IUnknown interface. A COM object can be exposed to remote clients via the DCOM protocol, in which case it is also a DCOM object.
Object Linking and Embedding (OLE): A technology for transferring and sharing information between applications by inserting a file or part of a file into a compound document. The inserted file can be either embedded or linked. See also embedded object and linked object.
object model: A collection of object-oriented APIs that represent data structures and are designed to promote software interoperability.
OLAP All level: An optional level at the top of a hierarchy. It typically contains an OLAP All member that represents an aggregation of all of the lower-level members of that hierarchy.
OLAP All member: A multidimensional expression (MDX) that evaluates a hierarchy and returns a set that contains all of the members of the specified hierarchy.
44 / 1118
[MS-XLSB] - v20251113
Excel (.xlsb) Binary File Format
Copyright © 2025 Microsoft Corporation
Release: November 13, 2025
OLAP allocation: An operation in which the values for members at lower levels in an OLAP hierarchy are changed based on changes to values for members at higher levels in that hierarchy.
OLAP calculated member: An OLAP member whose value is calculated at run time.
OLAP cube: A data structure that aggregates Online Analytical Processing (OLAP) measures by OLAP levels and OLAP hierarchies. An OLAP cube combines several OLAP hierarchies, such as time, geography, and product lines, with OLAP measures, such as sales or inventory figures.
OLAP hierarchy: An attribute hierarchy or a user-defined hierarchy in a data structure. By default, each dimension attribute has an attribute hierarchy. A user-defined hierarchy is a set of related attribute hierarchies that is used to facilitate browsing an OLAP cube.
OLAP KPI: See key performance indicator (KPI).
OLAP level: Within an OLAP hierarchy, a set of data that is organized into a lower or higher level of detail, such as Year, Quarter, Month, and Day levels in a Time hierarchy.
OLAP measure: A set of numeric values in an OLAP cube that is used in aggregation and analysis.
OLAP member: An item that is in an OLAP level. For example, a Canada member in a Country level of a Geography hierarchy.
OLAP member property: A relationship between two OLAP hierarchies, such as a Population member property of a Country member.
OLAP named set: A collection of OLAP tuples that have the same dimensionality. Also referred to as OLAP set.
OLAP subselect: The ability to execute multiple SELECT commands in a FROM clause that is inside a multidimensional expression (MDX) statement.
OLAP tuple: An ordered collection of members that are from different dimensions of an OLAP cube. A single member is a special case of a tuple.
OLAP weight expression: A multidimensional expression (MDX) that is used to apply and allocate modified values to an Online Analytical Processing (OLAP) provider. It typically returns a decimal value between "0" and "1".
OLE DB: A set of interfaces that are based on the Component Object Model (COM) programming model and expose data from a variety of sources. These interfaces support the amount of Database Management System (DBMS) functionality that is appropriate for a data store and they enable a data store to share data.
OLE object: An object that supports the Object Linking and Embedding (OLE) protocol.
OLE1: See Object Linking and Embedding (OLE).
OLE2: See Object Linking and Embedding (OLE).
one-variable data table: A data table that consists of only one input cell, which is either a row input cell or a column input cell.
Online Analytical Processing (OLAP): A technology that uses multidimensional structures to provide access to data for analysis. The source data for OLAP is stored in data warehouses in a relational database. See also cube.
45 / 1118
[MS-XLSB] - v20251113
Excel (.xlsb) Binary File Format
Copyright © 2025 Microsoft Corporation
Release: November 13, 2025
Open Data Protocol (OData): A web protocol for querying and updating data specified in the OData protocol.
Open Database Connectivity (ODBC): A standard software API method for accessing data that is stored in a variety of proprietary personal computer, minicomputer, and mainframe databases. It is an implementation of [ISO/IEC9075-3:2008] and provides extensions to that standard.
original equipment manufacturer (OEM) code page: A code page used to translate between non-Unicode encoded strings and UTF-16 encoded strings.
outline: A nested grouping of rows or columns (1) that are in a worksheet.
outline level: The number of levels that a task is indented from the top level of an outline; the order associated with an outline.
outline state: A setting that specifies whether an outline is currently outline expanded or outline collapsed.
outline symbol: A user interface control that is used to display or hide subordinate levels in an outline.
page break: A divider that breaks a worksheet into separate pages for printing. Page breaks are inserted automatically based on the paper size, margin settings, scaling options, and the positions of any page breaks that are inserted manually.
Page Break Preview view: A worksheet view that displays the areas to be printed and the locations of page breaks.
Page Layout view: A sheet view that displays a sheet as it would appear on a printed page, including margins, header and footer elements, and pagination.
page margin: The white space at the top, bottom, and sides of a document when a document is printed.
palette color: A specific color among those that are available on the active color palette.
pane: A portion of a software window that has a distinct function and is bounded by and separated from other portions of the window by vertical or horizontal bars.
phonetic guide: A set of supplemental phonetic symbols that appears above text in Japanese and other East Asian languages. A phonetic guide is displayed automatically and can be edited by the user.
phonetic information: A series of characters that appear above text in a cell and provide information that helps users pronounce the text.
phonetic string: A series of characters that appear above a string and provide information that helps users pronounce the string. Phonetic strings are typically used in East Asian languages.
phonetic text run: A series of characters that are within a phonetic string.
PivotChart filter pane: A user interface element that displays a list of active fields in a PivotChart view and is used to apply filters to those fields.
PivotTable: An interactive table that summarizes large amounts of data from various sources by using format and calculation methods. Row and column headings can be rotated to view different summaries of the source data, filter the data, or display detail data for specific areas.
PivotTable data field: A PivotTable field that is contained in the PivotTable area where data values are shown.
46 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
PivotTable field: An element in a PivotTable report that represents a logical collection of data. A PivotTable field can represent a dimension hierarchy or actual data values.
PivotTable field list: A user interface element that displays a list of all of the fields in a PivotTable report. It can be used to populate a PivotTable report and to manipulate the fields.
pixel: A discrete unit of display on a computer display device.
placeholder: A character or symbol that is used in place of an actual value, text, or object. The actual value that the placeholder represents is unknown or unavailable at the current time, or is not displayed for security reasons.
plot area: A portion of a chart area that contains the plotted data and axes.
precision as displayed: A calculation setting that permanently changes stored values in cells from full precision (15 digits) to the currently displayed format, including the number of decimal places.
print area: A collection of one or more ranges of cells that are designated to be printed. If a worksheet includes a print area, only the content inside the print area is printed.
print scale: The size of the output that is printed on a page. It is expressed as a percentage of the size of the original page content.
print settings: The settings that specify how a file is printed in a specific print job, such as duplex or landscape orientation. Printer settings are settings that can differ from printer to printer but apply to every print job of a given printer. Print settings are values that typically vary between print jobs.
print titles: The rows or columns (1) that appear on each page when a page is printed. Print titles are typically used to print column headers above tabular data that spans several printed pages.
ProgID: An identifier that is used by the Windows registry to uniquely identify an object and is in the form OLEServerName.ObjectName, for example, "Excel.Sheet" or "PowerPoint.Slide."
protected: A property that is applied manually to a file or a portion of a file, with or without a password, and that helps prevent users from accidentally or deliberately changing, moving, or deleting data.
protection: A mechanism that helps restrict users from making unwanted changes to the data or structure of a workbook.
publish to server: A process that facilitates saving a document or portions of a document to a web server.
published: A condition of portions of a workbook that are marked as being available to the user when that workbook is processed by a protocol server.
Python script: executable code written in the Python programming language.
query: A formalized instruction to a data source to either extract data or perform a specified action. A query can be in the form of a query expression, a method-based query, or a combination of the two. The data source can be in different forms, such as a relational database, XML document, or in-memory object. See also search query.
query table: A two-dimensional table that presents data from an external data source.
R1C1: A reference style in which each row and each column (1) has a numeric heading that is numbered sequentially from top to bottom and left to right, respectively. "R" stands for row and "C" stands for column.
47 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
range: An addressable region that is in a workbook. A range typically consists of zero or more cells and represents a single, contiguous rectangle of cells on a single sheet.
reading order: The positioning of characters in words and the positioning of words in sentences. This can be left-to-right or right-to-left.
read-only recommended: A file sharing property that displays an alert when a file is being opened. The text of the alert recommends that the user open the file with read-only permission.
real-time data (RTD): Data that is pushed into a worksheet from an RTD server and is updated continually. Real-time data is frequently used to track stock prices or inventory levels in real time.
rectangular gradient: A type of gradient fill in which the color of a cell or other object gradually changes with each successive inner rectangle of pixels.
red-green-blue (RGB): A color model that describes color information in terms of the red (R), green (G), and blue (B) intensities in a color.
red-green-blue-alpha (RGBA): A color model that describes color information in terms of the red (R), green (G), blue (B), and alpha (A) intensities that comprise a color.
refresh: A process that retrieves values from a data source and populates a workbook with those values.
relative reference: A reference to a location on a sheet that is relative to the cell that contains the reference. A relative reference can be stored as a cell reference or as an offset.
relative security descriptor: A security descriptor that contains all associated security information in a contiguous block of memory.
revision: A change in a document, file, or other object.
revision history: A list of data that describes document updates, such as when and by whom a document was modified.
rich value: A complex representation of data that contains a rich value type, a rich value fallback, and a collection of key value pairs (KVP). A rich value can exist as the value of a cell or nested as the value in a key value pair.
rich value key: The name of the key in the key value pair (KVP).
right-to-left: A reading and display order that is optimized for right-to-left languages.
root element: The top-level element in an XML document. It contains all other elements and is not contained by any other element, as described in [XML].
row: A single set of data that is displayed horizontally in a worksheet or a table.
RTD server: A Component Object Model (COM) Automation server that is used by the real-time data (RTD) function to retrieve data in real time. The RTD server can exist as an ActiveX DLL or as an executable (.exe) file that runs on the same local computer or on a remote server.
RTD topic: A discrete combination of parameters that is used to request data from a real-time data (RTD) server.
ruler: A user interface element that enables users to adjust page margins and to measure and align objects in a document.
safe load: A process of loading a file in which additional error checking is performed and various corruption patterns in the file are detected and repaired.
48 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
salt: An additional random quantity, specified as input to an encryption function that is used to increase the strength of the encryption.
scenario: A named set of input values (changing cells) that can be substituted in a worksheet model.
Scenario Manager: A process for creating and managing different sets of input values for calculation models in a worksheet.
security descriptor: A data structure containing the security information associated with a securable object. A security descriptor identifies an object's owner by its security identifier (SID). If access control is configured for the object, its security descriptor contains a discretionary access control list (DACL) with SIDs for the security principals who are allowed or denied access. Applications use this structure to set and query an object's security status. The security descriptor is used to guard access to an object as well as to control which type of auditing takes place when the object is accessed. The security descriptor format is specified in [MS-DTYP] section 2.4.6; a string representation of security descriptors, called SDDL, is specified in [MS-DTYP] section 2.5.1.
selected: The condition of a set of items that has focus in a workbook.
selection: An item or set of items, such as cells, shapes, objects, and chart elements, that has focus in a document.
server name: The name of a server, as specified in the operating system settings for that server.
session: A representation of application data in system memory. It is used to maintain state for application data that is being manipulated or monitored on a protocol server by a user.
shade: A color that is mixed with black. A 10-percent shade is one part of the original color and nine parts black.
shape: A collection of qualifiers, such as names, and quantifiers, such as coordinates, that is used to represent a geometric object. A shape can be contained in a document, file structure, run- time structure, or other medium.
shared workbook: A workbook that is configured to enable multiple users on a network to view and make changes to it at the same time. Each user who saves the workbook sees the changes that are made by other users.
sheet: A part of an Excel workbook. There are four types of sheets: worksheet, macro sheet, dialog sheet, and chart sheet. Multiple sheets are stored together within a workbook.
sheet tab: A control that is used to select a sheet.
sheet view: A collection of display settings, such as which cells are shown, and the zoom level for a sheet window.
shrink to fit: The process of adjusting the font size of text in a cell to fit the current height and width of the cell.
single accounting: An underline style that places one line beneath the text. Single accounting can be used to indicate subtotals.
single sign-on (SSO): A process that enables users who have a domain user account to log on to a network and gain access to any computer or resource in the domain without entering their credentials multiple times.
smart document: A file that is programmed to assist the user as the user creates or updates the document. Several types of files, such as forms and templates, can also function as smart documents.
49 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
smart tag: A feature that adds the ability to recognize and label specific data types, such as people's names, within a document and displays an action button that enables users to perform common tasks for that data type.
smart tag actions button: A user interface control that displays a menu of actions that are associated with a specific smart tag.
smart tag indicator: A triangular symbol that appears in the bottom right corner of a cell and indicates that the cell contains a smart tag.
smart tag recognizer: An add-in that can interpret a specific type of smart tag, such as an address or a financial symbol, in a document and display an action button that enables users to perform common tasks for that data type.
sort: A process that arranges cells in ascending or descending order, based on cell content.
sort condition: A condition that determines how to sort cells in a range.
sort order: (1) A set of rules in a search query that defines the ordering of rows in the search result. Each rule consists of a managed property, such as modified date or size, and a direction for order, such as ascending or descending. Multiple rules are applied sequentially.
(2) A specific arrangement of cells that is based on cell content. The order can be ascending or descending.
source data: The data that is used as the basis for charts, PivotTable reports, and other data visualization features.
sparkline: A miniature chart that can be inserted into text or embedded in a cell on a worksheet to illustrate highs, lows, and trends in data.
split pane: A pane that consists of two or more discrete areas of a window. Each area displays content and scrolls independently from other areas of the window. See also frozen panes.
spreadsheet data model: A local Online Analytical Processing (OLAP) storage of data used by a spreadsheet application.
startup directory: The directory from which an application opens data files when the application starts.
strikethrough formatting: A formatting option in which characters are crossed out by horizontal line.
stripe band: One or more adjacent columns (1) or rows that are in a table and have the same stripe formatting.
stripe formatting: A table formatting option that applies background colors to alternating rows or columns (1) to increase legibility.
stroke order: A sort order that arranges items in a sort range according to the number of strokes that is used to write each glyph. Stroke order is used when sorting text that is written in some East Asian languages.
Structured Query Language (SQL): A database query and programming language that is widely used for accessing, querying, updating, and managing data in relational database systems.
style: A set of formatting options that is applied to text, tables, charts, and other objects in a document.
summary: The orientation of outline expand and outline collapse symbols in relation to the data that is outlined.
50 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
table: A list that is defined in a workbook.
table header: The top row of a table, where the column names are displayed.
target: An actor to which a task is assigned.
text importation: A process that incorporates textual data into a workbook, either by opening a text file or through an external link.
text run: A string of characters that represents a discrete span of text with the same formatting properties.
theme: A set of unified design elements, such as colors, fonts, graphics, and styles, that define the appearance of a website, document, or data visualization.
time hierarchy: A specialized Online Analytical Processing (OLAP) hierarchy that can be organized into lower and higher levels of detail, such as Year, Quarter, Month, and Day.
tooltip: A window displaying text that is created when the mouse is moved over a window or notification icon.
top N filter: A filter that matches the top or bottom N items or N% of items in a specified column (1).
total row: A row in a list or table that provides a selection of aggregate functions that are useful for working with numerical data.
transfer protocol: A protocol that governs the transfer of files, Internet messages, and webpages between networked computers. On the Open Systems Interconnection (OSI) Basic Reference Model, these are application layer protocols. Examples of transfer protocols are Hypertext Transfer Protocol (HTTP), Simple Mail Transfer Protocol (SMTP), and File Transfer Protocol (FTP).
transition formula entry: A worksheet option that enables users to enter formulas that use IBM Lotus 1-2-3 syntax.
transition formula evaluation: A setting that enables formulas in a worksheet to be calculated in a manner that is consistent with IBM Lotus 1-2-3.
tuple: An ordered grouping of members from different dimensions or hierarchies. A single member is a special case of a tuple and can be used as an expression. Every hierarchy does not have to be represented in a tuple.
twip: A unit of measurement that is used in typesetting and desktop publishing. It equals one- twentieth of a printer's point, or 1/1440 of an inch.
two-variable data table: A data table that consists of two input cells, a row input cell and a column input cell.
type library: A binary file that describes the methods, properties, and data structure of a component.
unary operator: A property associated with a dimension member that controls how the member is to be aggregated. The unary operator overrides the defined aggregation function for the measure.
UNC volume: A storage device that is accessible by network protocols and addressed in the standard Universal Naming Convention format, for example, "\Server Name\Share Name".
Unicode: A character encoding standard developed by the Unicode Consortium that represents almost all of the written languages of the world. The Unicode standard [UNICODE5.0.0/2007]
51 / 1118
[MS-XLSB] - v20251113
Excel (.xlsb) Binary File Format
Copyright © 2025 Microsoft Corporation
Release: November 13, 2025
provides three forms (UTF-8, UTF-16, and UTF-32) and seven schemes (UTF-8, UTF-16, UTF-16 BE, UTF-16 LE, UTF-32, UTF-32 LE, and UTF-32 BE).
Uniform Resource Identifier (URI): A string that identifies a resource. The URI is an addressing mechanism defined in Internet Engineering Task Force (IETF) Uniform Resource Identifier (URI): Generic Syntax [RFC3986].
Uniform Resource Locator (URL): A string of characters in a standardized format that identifies a document or resource on the World Wide Web. The format is as specified in [RFC1738].
user-defined function (UDF): A function that is coded in a VBA module, macro sheet, add-in, or Excel Linked Library (XLL). A UDF can be used in formulas to return values to a worksheet, similar to built-in functions.
VBA project: A collection of the modules, class modules, and user forms that are needed to create an application. Modules, class modules, and user forms can be imported into and exported from a project.
Vector Markup Language (VML): A system of marking up or tagging two-dimensional vector graphics for publication on the World Wide Web. VML graphics are scalable and editable, and typically require less disk space and less time to download.
vertical alignment: A formatting setting that specifies how content is positioned within the vertical space of a cell, object, or page. Content can be aligned along the top or bottom edge, or distributed evenly across the vertical space.
visible: A condition of an object that allows it to be displayed in rendered output.
Visual Basic for Applications (VBA): A macro-based programming language that derives from Microsoft Visual Basic and can be used to customize and extend an application. Unlike Visual Basic, VBA code and macros can be run only from within a host application that supports VBA.
volatile: A condition of a formula in which the formula is calculated every time the workbook is calculated. This is unlike a non-volatile formula, which is calculated only when dependent values are changed.
watched cell: A cell whose value is monitored in a separate window while formulas that are associated with the cell are calculated.
web query: An external data connection that retrieves a table from a website and inserts table data into a workbook.
window protection: A workbook protection option that prevents users from changing the position and size of a window.
workbook: A container for a collection of sheets.
workbook view: A set of display settings, such as the height and width, for the windows in a workbook.
worksheet: A single logical container for a set of tabular data and other objects in a workbook.
write reservation: A field or condition that is set on a document, workbook, or presentation to help prevent users from modifying it.
write-reservation password: A sequence of characters that need to be entered to modify a document.
XML: The Extensible Markup Language, as described in [XML1.0].
52 / 1118
[MS-XLSB] - v20251113
Excel (.xlsb) Binary File Format
Copyright © 2025 Microsoft Corporation
Release: November 13, 2025
XML map: A feature that is used to import data from databases and applications and to map XML elements and attributes from the associated XML schema to cells in a worksheet. The revised XML data can then be exported for interaction with other databases and applications.
XML namespace: A collection of names that is used to identify elements, types, and attributes in XML documents identified in a URI reference [RFC3986]. A combination of XML namespace and local name allows XML documents to use elements, types, and attributes that have the same names but come from different sources. For more information, see [XMLNS-2ED].
XML node: The smallest unit of a valid, complete structure in an XML document. For example, a node can represent an element, an attribute, or a text string.
XML Path Language (XPath): A language used to create expressions that can address parts of an XML document, manipulate strings, numbers, and Booleans, and can match a set of nodes in the document, as specified in [XPATH]. XPath models an XML document as a tree of nodes of different types, including element, attribute, and text. XPath expressions can identify the nodes in an XML document based on their type, name, and values, as well as the relationship of a node to other nodes in the document.
XML schema: A description of a type of XML document that is typically expressed in terms of constraints on the structure and content of documents of that type, in addition to the basic syntax constraints that are imposed by XML itself. An XML schema provides a view of a document type at a relatively high level of abstraction.
XML schema definition (XSD): The World Wide Web Consortium (W3C) standard language that is used in defining XML schemas. Schemas are useful for enforcing structure and constraining the types of data that can be used validly within other XML documents. XML schema definition refers to the fully specified and currently recommended standard for use in authoring XML schemas.
XOR obfuscation: A type of file encryption that helps protect private data by using an exclusive or bitwise operation. This is done by adding a mathematical expression that prevents a simple reverse-engineering process.
XPath expression: An expression that searches an71 XML document and can extract and manipulate data in elements or attributes within that document.
zoom level: The degree to which a portion of an image, document, or other screen object is made to appear closer or farther away relative to its default appearance. This value is usually expressed as a percentage of the default appearance.
MAY, SHOULD, MUST, SHOULD NOT, MUST NOT: These terms (in all caps) are used as defined in [RFC2119]. All statements of optional behavior use either MAY, SHOULD, or SHOULD NOT.
1.2 References
Links to a document in the Microsoft Open Specifications library point to the correct section in the most recently published version of the referenced document. However, because individual documents in the library are not updated at the same time, the section numbers in the documents may not match. You can confirm the correct section numbering by checking the Errata.
1.2.1 Normative References
We conduct frequent surveys of the normative references to assure their continued availability. If you have any issue with finding a normative reference, please contact dochelp@microsoft.com. We will assist you in finding the relevant information.
[IEEE754] IEEE, "IEEE Standard for Binary Floating-Point Arithmetic", IEEE 754-1985, October 1985, http://ieeexplore.ieee.org/servlet/opac?punumber=2355
53 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
[ISO-8859-1] International Organization for Standardization, "Information Technology -- 8-Bit Single- Byte Coded Graphic Character Sets -- Part 1: Latin Alphabet No. 1", ISO/IEC 8859-1:1998 April 1998, http://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=28245
[ISO/IEC29500-1:2016] ISO/IEC, "Information technology -- Document description and processing languages -- Office Open XML File Formats -- Part 1: Fundamentals and Markup Language Reference", ISO/IEC 29500-1:2016, https://www.iso.org/standard/71691.html
[ISO/IEC29500-2:2012] ISO/IEC, "Information technology -- Document description and processing languages -- Office Open XML File Formats -- Part 2: Open Packaging Conventions", ISO/IEC 29500- 2:2012, http://www.iso.org/iso/home/store/catalogue_ics/catalogue_detail_ics.htm?csnumber=61796
[ISO/IEC29500-3:2015] ISO/IEC, "Information technology -- Document description and processing languages -- Office Open XML File Formats -- Part 3: Markup Compatibility and Extensibility", https://www.iso.org/standard/65533.html
[ISO/IEC29500-4:2016] ISO/IEC, "Information technology -- Document description and processing languages -- Office Open XML File Formats -- Part 4: Transitional Migration Features", https://www.iso.org/standard/71692.html
[MS-DTYP] Microsoft Corporation, "Windows Data Types".
[MS-ODRAWXML] Microsoft Corporation, "Office Drawing Extensions to Office Open XML Structure".
[MS-OFFCRYPTO] Microsoft Corporation, "Office Document Cryptography Structure".
[MS-OFORMS] Microsoft Corporation, "Office Forms Binary File Formats".
[MS-OSHARED] Microsoft Corporation, "Office Common Data Types and Objects Structures".
[MS-OVBA] Microsoft Corporation, "Office VBA File Format Structure".
[MS-OWEXML] Microsoft Corporation, "Office Web Extensibility Extensions to Office Open XML Structure Specification".
[MS-XLDM] Microsoft Corporation, "Spreadsheet Data Model File Format".
[MS-XLSX] Microsoft Corporation, "Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format".
[MS-XLS] Microsoft Corporation, "Excel Binary File Format (.xls) Structure".
[OData-Protocol] OASIS, "OData Version 4.0 Part 1: Protocol", OASIS Standard, http://docs.oasis- open.org/odata/odata/v4.0/odata-v4.0-part1-protocol.doc
[RFC2119] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, March 1997, https://www.rfc-editor.org/info/rfc2119
[RFC3066] Alvestrand, H., "Tags for the Identification of Languages", BCP 47, RFC 3066, January 2001, https://www.rfc-editor.org/info/rfc3066
[RFC5234] Crocker, D., Ed., and Overell, P., "Augmented BNF for Syntax Specifications: ABNF", STD 68, RFC 5234, January 2008, https://www.rfc-editor.org/info/rfc5234
[UNICODE4.0] The Unicode Consortium, "Unicode 4.0.0", http://www.unicode.org/versions/Unicode4.0.0/
54 / 1118
[MS-XLSB] - v20251113
Excel (.xlsb) Binary File Format
Copyright © 2025 Microsoft Corporation
Release: November 13, 2025
[W3C-XML] Bray, T., Paoli, J., Sperberg-McQueen, C.M., Maler, E., Yergeau, F., Eds., "Extensible Markup Language (XML) 1.1 (Second Edition)", W3C Recommendation, August 2006, http://www.w3.org/TR/2006/REC-xml11-20060816/
[W3C-XSD] World Wide Web Consortium, "XML Schema Part 2: Datatypes Second Edition", 28 October 2004, http://www.w3.org/TR/2004/REC-xmlschema-2-20041028
[XMLNS] Bray, T., Hollander, D., Layman, A., et al., Eds., "Namespaces in XML 1.0 (Third Edition)", W3C Recommendation, December 2009, https://www.w3.org/TR/2009/REC-xml-names-20091208/
[XMLSCHEMA1] Thompson, H., Beech, D., Maloney, M., and Mendelsohn, N., Eds., "XML Schema Part 1: Structures", W3C Recommendation, May 2001, https://www.w3.org/TR/2001/REC-xmlschema-1- 20010502/
[XMLSCHEMA2] Biron, P.V., Ed. and Malhotra, A., Ed., "XML Schema Part 2: Datatypes", W3C Recommendation, May 2001, https://www.w3.org/TR/2001/REC-xmlschema-2-20010502/
1.2.2 Informative References
[CODEPG] Microsoft Corporation, "Code Pages", https://learn.microsoft.com/en- us/globalization/encoding/code-pages
[DEVMODE] Microsoft Corporation, "DEVMODE structure", http://msdn.microsoft.com/en- us/library/dd183565(VS.85).aspx
[MS-ODRAW] Microsoft Corporation, "Office Drawing Binary File Format".
[MS-OLEDS] Microsoft Corporation, "Object Linking and Embedding (OLE) Data Structures".
[MSDN-FONTS] Microsoft Corporation, "About Fonts", http://msdn.microsoft.com/en- us/library/dd162470(VS.85).aspx
[MSDN-MDXFS] Microsoft Corporation, "FORMAT_STRING Contents (MDX)", September 2007, http://msdn.microsoft.com/en-us/library/ms146084.aspx
[MSDN-OpenDBConnectivity] Microsoft Corporation, "Microsoft Open Database Connectivity (ODBC)", http://msdn.microsoft.com/en-us/library/ms710252.aspx
[XPATH] Clark, J. and DeRose, S., "XML Path Language (XPath), Version 1.0", W3C Recommendation, November 1999, http://www.w3.org/TR/1999/REC-xpath-19991116/
1.3 Structure Overview (Synopsis)
This document specifies workbook data contained in a ZIP package (section 2.1.1) conforming to the Open Packaging Conventions as described in [ISO/IEC29500-1:2016]. Individual files stored in the ZIP package, called parts (section 2.1.2), contain information about the content of a workbook including workbook data such as worksheet definitions. Some parts store information by using XML, some parts store information by using binary records (section 2.1.4), and other parts contain information stored as a binary stream of bytes. The binary record structure and content are specified in this document. Each binary record contains its record type, information about the record size, and zero or more type-specific fields depending on its record type, which is specified in Record Enumeration (section 2.3). Type-specific fields contain information further specifying the workbook data. Specifications of the fields for a given record type can be found in Records (section 2.4).
Unless otherwise specified, all data in files of the type specified by this document are stored in little- endian format.
55 / 1118
[MS-XLSB] - v20251113
Excel (.xlsb) Binary File Format
Copyright © 2025 Microsoft Corporation
Release: November 13, 2025
See File Structure (section 2.1) for a more detailed overview of specific file architecture and content.
1.4 Relationship to Protocols and Other Structures
The Excel Binary File Format is a package as described in [ISO/IEC29500-1:2016] containing a set of related parts (section 2.1.2). It is dependent on the structures defined in the following references:
[MS-ODRAW] for the persistence format for shapes.
[MS-OFFCRYPTO] for the persistence format for document signing, information rights management, document encryption and obfuscation.
[MS-OSHARED] for the persistence format for additional common structures.
[MS-OVBA] for the persistence format for a VBA project.
[MS-XLS] for command bar information and number formatting.
[MS-XLSX] for storing custom data, custom data properties, and drawing and control properties.
[MS-ODRAWXML] for images stored in the workbook.
[MS-DTYP] for specifying a relative security descriptor.
1.5 Applicability Statement
This document specifies a persistence format for workbook content and templates, which can include unstructured or semi-structured tables of numbers, text, or both numbers and text, formulas, external data connections, charts, and images. This persistence format is applicable for persistence of documents with a grid based layout, including those with numeric data, structured data, and formulas.
This persistence format is applicable for use as a stand-alone document, and for containment within other documents as an embedded object, as described in [MS-OLEDS].
This persistence format provides interoperability with applications that create or read documents conforming to this structure.
1.6 Versioning and Localization
This document covers versioning issues in the following areas:
Structure Versions: There is only one version of this file format.
Localization: The following records and structures contain fields that specify locale-dependent meaning:
BrtBeginHeaderFooter (section 2.4.90)
BrtFmt (section 2.4.688)
CodeName (section 2.5.22)
BrtFont (section 2.4.690)
The Security Considerations (section 4), Password Verifier Algorithm (section 2.2.9), Encryption (section 2.2.11), and International Macro Sheet (section 2.1.7.31) also specify processes and data that are locale-dependent. See each record, structure, and section description for more information.
56 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
1.7 Vendor-Extensible Fields
This persistence format can be extended by storing information in parts not specified in section 2.1.2. Implementations are not required to preserve or remove additional parts when modifying an existing document. See File Structure (section 2.1) for more information. Implementations can extend a part specified in Section 2 by storing future records and alternate content blocks as specified in Future Record (section 2.1.6). Implementations can extend the XML as described in [ISO/IEC29500- 3:2015]: Markup Compatibility and Extensibility.
57 / 1118
[MS-XLSB] - v20251113
Excel (.xlsb) Binary File Format
Copyright © 2025 Microsoft Corporation
Release: November 13, 2025
2 Structures
2.1 File Structure
This section specifies the overall structure of a file that conforms to this specification.
A file of the type specified by this document is a package (section 2.1.1) that contains a collection of related parts (section 2.1.2). Parts contain information about the contents of a workbook, including workbook data and the structure of the package. Some parts contain information stored using binary records (section 2.1.4), some parts contain information stored using XML, and other parts contain information stored as a binary stream of bytes. Each binary record contains zero or more structured fields that contain the workbook data.
2.1.1 Package
A file of the type specified by this document is a package that is a ZIP archive that conforms to the Open Packaging Conventions as specified in [ISO/IEC29500-2:2012]: Open Packaging Conventions, the further packaging restrictions as specified in [ISO/IEC29500-1:2016]: Fundamentals, section 9, and this specification.
A file of the type specified by this document MUST contain exactly one workbook (section 2.1.7.61) part, and that part (section 2.1.2) MUST be the target of a relationship (section 2.1.3) in the package relationship part. The workbook (section 2.1.7.61) part is the main or starting part in a file of the type specified by this document.
2.1.2 Part
A part is a stream of bytes as specified in [ISO/IEC29500-2:2012]: Open Packaging Conventions, section 8.2. Each part has an associated content type that specifies the nature and type of content stored in the part. Some parts store information using binary records (section 2.1.4). Some parts store information using XML.
The valid parts, content types, and required and optional relationships (section 2.1.3) between all parts in a package (section 2.1.1) are specified in Part Enumeration (section 2.1.7). Each part that contains binary records (section 2.1.4) MUST be written as a series of binary records as specified in Part Enumeration.
This document uses Augmented Backus-Naur Form (ABNF) as specified in [RFC5234] to specify the record (section 2.1.4) sequence for parts that contain binary records.
2.1.3 Relationship
A relationship specifies a connection between a source and a target resource as specified in [ISO/IEC29500-2:2012]: Open Packaging Conventions, section 8.3. Relationship identifiers are used in binary and XML part (section 2.1.2) content to reference unique relationship elements in relationship parts that in turn target other resources. There are several different types of relationships:
A package relationship is a relationship where the target is a part and the source is the package (section 2.1.1) as a whole. A part-to-part relationship is a relationship where the target is a part (section 2.1.2) and the source is a part in the package. An explicit relationship is a relationship where a resource is referenced from the contents of a source part by referencing the ID attribute value of a relationship element. An implicit relationship is a relationship that is not explicit. An internal relationship is a relationship where the target is a part in the package.
58 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
An external relationship is a relationship where the target is an external resource not in the package.
2.1.4 Record
A record is the basic building block used to store information about features in a workbook. Each binary record is a variable-length sequence of bytes. A binary record consists of three components: a record type, a record size, and the record data that is specific to that record type.
The record type is an integer that specifies what type of information is specified by the record and how the structure of the record data specific to this record is ordered and structured. Each valid record type is listed in Record Enumeration (section 2.3). The record type MUST be either one or two bytes. The record type MUST be two bytes if and only if the high bit in the low byte is equal to 1; otherwise, the record type MUST be one byte. If the record type is two bytes, the value consists of seven low bits of the high byte combined with the seven low bits of the low byte. This value MUST be greater than or equal to 128 and less than 16384. For performance reasons, one-byte record types are reserved for commonly used records. Record type values MUST be a value from Record Enumeration (section 2.3) or the record MUST make use of the future record (section 2.1.6) architecture.
The record size specifies the count of bytes that specifies the total size of the record data. This value MUST be one to four bytes. This value MUST be one byte if the high bit in the low byte is equal to 0; otherwise, this value MUST be greater than one byte. If the count of bytes is greater than one byte, the high bit in each successive byte specifies whether an additional byte is used. If the high bit of the second byte is equal to 1, then this value MUST use an additional third byte. If the high bit of the third byte is equal to 1, then this value MUST use an additional fourth byte. The high bit of the fourth byte MUST be ignored. The value consists of the seven low bits of each byte combined. The low, least significant bits are contained within the first byte, and each successive byte contains higher order bits than the previous byte.
The record data component contains fields that correspond to a particular record type and comprise the remainder of the record. The order and structure of the fields for a given record type listed in Record Enumeration (section 2.3) are specified in the corresponding section for that record type in Records (section 2.4). The total size of the record data component MUST be equal to the record size. Fields in the record data component can contain simple values, arrays of values, structures of several fields, arrays of fields, and arrays of structures.
For example, the following record type and record size specify a BrtCommentText (section 2.4.341) record with a size of 200 bytes:
11111101 00000100 11001000 00000001 [Record Fields]
The first byte is 11111101, specifying a low value of 125 and that the record type requires a second byte. The second byte is 00000100, specifying a high value of 4 * 128, which equals 512. The record type value is 125 + 512, or 637, which corresponds to a BrtCommentText (section 2.4.341) record type. The next byte is 11001000, specifying a low value of 72 and that the record size requires a second byte. The second byte is 00000001, specifying a higher value of 1 * 128 and that the record size does not require an additional byte. The record size is 72 + 128, or 200, which specifies the total size, in bytes, of the record data component. The fields in the record data component are specified by BrtCommentText (section 2.4.341).
2.1.5 Collection of Records
A collection of records (section 2.1.4) is a series of related records that are treated as a single set. Records in a collection do not have to share the same record type. A collection of records can further contain other collections of records. The beginning of a collection of records is sometimes indicated by a different type of record, as specified in the record sequence ABNF where the rule that contains that record is specified. Similarly the end of a collection of records is sometimes indicated by a different
59 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
type of record, as specified by the record sequence ABNF where the rule that contains that record is specified. Each record or collection within the collection can be referred to by index, and the index count starts over for each collection.
In this document, record A precedes record B when record A is the last record of that type to appear before record B, in the part (section 2.1.2) that contains those records.
In this document, record B follows record A when record A is the last record of that type to appear before record B, in the part that contains those records.
2.1.6 Future Record
The future record (section 2.1.6) architecture enables the file format to be extended with new or alternate content while maintaining compatibility with applications that do not support the new content. The future record architecture consists of a future record mechanism and an alternate content mechanism. The future record mechanism enables an application that does not support certain future records to open and save the file while ignoring but preserving those future records in the file, and correctly modifying cell references and formulas associated with the records. The alternate content mechanism enables an application to introduce extensions that target particular implementations.
2.1.6.1 Future Record Mechanism
Future records are specified as a collection of records (section 2.1.4) that exists between a set of BrtFRTBegin (section 2.4.691) and BrtFRTEnd (section 2.4.692) record pairs. An application uses the productVersion.product and productVersion.version fields of the BrtFRTBegin record to determine whether that application supports the collection of future records following that BrtFRTEnd record.
An application supports the collection of future records following a given BrtFRTBegin record if the productVersion.product field matches the application’s product value, and the productVersion.version field is less than or equal to the application’s version value. Otherwise the application does not support the collection of future records following this BrtFRTBegin record, and can ignore but preserve those future records in the file, including the BrtFRTBegin and BrtFRTEnd records.
Every record in the collection of future records between a set of BrtFRTBegin and BrtFRTEnd records—except BrtFRTBegin, BrtFRTEnd, BrtACBegin (section 2.4.2), and BrtACEnd (section 2.4.3) records—is a future record and MUST start with an FRTHeader (section 2.5.61) structure that specifies future record attributes unless the record is less than 4 bytes, in which case an FRTBlank (section 2.5.55) is inferred as the FRTHeader structure for that future record, and the bytes in the future record specify record data. Future record data that occurs after the FRTHeader is application specific.
For example, consider an application that implements the basic concepts of a spreadsheet as specified by the structures and records in this document and that implements other features and concepts not specified in this document. That application can use the future record mechanism to persist data associated with those other features and concepts as extensions to the structures and records specified in this document.
2.1.6.2 Alternate Content Mechanism
Alternate content is specified as a collection of records (section 2.1.4) that exists between a set of BrtACBegin (section 2.4.2) and BrtACEnd (section 2.4.3) record pairs. The RgACVer field of a BrtACBegin record specifies an array of ACProductVersion (section 2.5.1) structures that specify a list of application product and version values and whether a version value is extended for all future versions. An application uses the RgACVer.ACProductVersion.fileProduct,
60 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
RgACVer.ACProductVersion.fileVersion and RgACVer.ACProductVersion.fileExtension fields of the BrtACBegin record to determine whether the application is the intended target of the collection of records following that BrtACBegin record.
An application is the target of the collection of records following a given BrtACBegin if for at least one element of the RgACVer array the ACProductVersion.fileProduct field matches the application’s product value, and the ACProductVersion.fileVersion field is equal to the application’s version value and the ACProductVersion.fileExtension field is 0, or the ACProductVersion.fileVersion field is less than or equal to the application’s version value and the ACProductVersion.fileExtension field is
- Otherwise the application is not the target of the collection of records following this BrtACBegin record, and MUST ignore on load and discard these records when saving the file, including the associated BrtACBegin and BrtACEnd records.
Multiple blocks of alternate content for different implementations can be specified with consecutive BrtACBegin and BrtACEnd record pairs and their collections of records. Alternate content records are permitted in any record sequence within any part that contains Binary Interchange File Format (BIFF) records.
For example, consider an application that implements the basic concepts of a spreadsheet as specified by the structures and records in this document and enhances some of those concepts with additional features and concepts that one or more other applications support. That application can persist the basic concepts using records and structures specified by this document, and can persist the enhanced set of properties associated with those concepts and features as alternate content blocks, where each content block targets an application that supports those records. Instead of being required to maintain and preserve each of the alternate content blocks, in this case the application only loads the records it supports and discards all alternate content blocks it does not support. On save the application might or might not write an entirely new or different set of alternate content blocks.
2.1.7 Part Enumeration
This section specifies the parts (section 2.1.2) of the Excel Binary File Format (.xlsb) package. Refer to File Structure (section 2.1) and Relationship (section 2.1.3) for information about packages, parts, implicit relationships, explicit relationships, and the package relationship part.
If a part is in Binary Interchange File Format (BIFF) format, the record sequence is specified using ABNF grammar. The first rule in each rule list comprises the entire record sequence for that part. Subsequent rules are fragments of the first rule.
Parts and their relationships are summarized in the following table:
Part Relationship Target of
ActiveX Worksheet
ActiveX Binary Worksheet
Attached Toolbars Workbook
Calculation Chain Workbook
Chart Drawings
Chart Drawing Chart
Chart Sheet Workbook
Comments Macro Sheet, Worksheet
Control Properties SpreadsheetML control
61 / 1118
[MS-XLSB] - v20251113
Excel (.xlsb) Binary File Format
Copyright © 2025 Microsoft Corporation
Release: November 13, 2025
Part Relationship Target of
Custom Data Custom Data Properties
Custom Data Properties Workbook
Custom Property Macro Sheet, Worksheet
Custom XML Data Storage Workbook
Custom XML Data Storage Custom XML Data Storage Properties
Custom XML Maps Workbook
Diagram Colors Drawings
Diagram Data Drawings
Diagram Layout Definition Drawings
Diagram Styles Drawings
Dialog Sheet Workbook
Digital Signature Origin Package
Digital Signature XML Signature Digital Signature Origin
Drawings Chart Sheet, Worksheet, Macro Sheet
External Data Connections Workbook
External Link Workbook
File Properties, Core Package
File Properties, Custom Package
File Properties, Extended Package
File Properties, Thumbnail Package
Images Chart Sheet, Macro Sheet, Theme, VML Drawings, Worksheet
International Macro Sheet Workbook
Macro Sheet Workbook
Macro Sheet Binary Index Macro Sheet
Metadata Workbook
Model Workbook
OLE Object Dialog Sheet, External Link, Macro Sheet, Worksheet
OLE Package Dialog Sheet, Macro Sheet, Worksheet
PivotCache Definition PivotTable, Workbook
PivotCache Records PivotCache Definition
PivotTable Worksheet
62 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
Part Relationship Target of
Printer Settings Chart Sheet, Dialog Sheet, Macro Sheet, Worksheet
Query Table Table, Worksheet
Revision Headers Workbook
Revision Log Revision Headers
Shared Strings Workbook
Single Cell Tables Worksheet
Slicer Cache Workbook
Slicers Worksheet
Sort Map Macro Sheet, Worksheet
Styles Workbook
Table Worksheet
Theme Workbook
Timeline Cache Workbook
Timelines Worksheet
User Names Workbook
VBA Project Workbook
VBA Project Agile Signature VBA Project
VBA Project Signature VBA Project
VML Drawings Worksheet, Chart Sheet, Dialog Sheet, Macro Sheet
Volatile Dependencies Workbook
Workbook Package
Worksheet Workbook
Worksheet Binary Index Worksheet
2.1.7.1 ActiveX
An instance of the ActiveX part specifies an ActiveX control.
Content type: application/vnd.ms-office.activeX+xml
Source relationship: http://schemas.openxmlformats.org/officeDocument/2006/relationships/control
An ActiveX part MUST be the target of an explicit relationship from the worksheet (section 2.1.7.62) part.
63 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
An ActiveX part is permitted to have explicit relationships to the ActiveX Binary (section 2.1.7.2) part.
An ActiveX part MUST NOT have implicit or explicit relationships to any other part (section 2.1.2) specified by this document.
The syntax of the structures contained in this part uses XML schema definition (XSD), as specified in [XMLSCHEMA1] and [XMLSCHEMA2].
This specification defines and references various XML namespaces using the mechanisms specified in [XMLNS].
The content of the ActiveX part is XML as specified by the following XSD.
<xsd:schema targetNamespace="http://schemas.microsoft.com/office/2006/activeX" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/office/2006/activeX" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" elementFormDefault="qualified" attributeFormDefault="qualified" blockDefault="#all"> <xsd:import id="r" namespace="http://schemas.openxmlformats.org/officeDocument/2006/ relationships" /> <xsd:element name="ocx" type="CT_Ocx" maxOccurs="1" minOccurs="1"/> <xsd:complexType name="CT_Ocx"> xsd:sequence <xsd:element name="ocxPr" type="CT_OcxPr" minOccurs="0" maxOccurs="unbounded"/> </xsd:sequence> <xsd:attribute name="classid" type="ST_String" use="required"/> <xsd:attribute name="license" type="ST_String" use="optional" /> <xsd:attribute ref="r:id" use="optional" /> <xsd:attribute name="persistence" type="ST_Persistence" use="required" /> </xsd:complexType>
<xsd:simpleType name="ST_String">
<xsd:restriction base="xsd:string" />
</xsd:simpleType>
<xsd:simpleType name="ST_Persistence">
<xsd:restriction base="ST_String">
<xsd:enumeration value="persistPropertyBag"/>
<xsd:enumeration value="persistStream"/>
<xsd:enumeration value="persistStreamInit"/>
<xsd:enumeration value="persistStorage"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="CT_OcxPr">
<xsd:sequence>
<xsd:choice>
<xsd:element name="font" type="CT_Font" maxOccurs="1" minOccurs="0" />
<xsd:element name="picture" type="CT_Picture" maxOccurs="1"
minOccurs="0"/>
</xsd:choice>
</xsd:sequence>
<xsd:attribute name="name" type="ST_String" use="required" />
<xsd:attribute name="value" type="ST_String" use="optional" />
</xsd:complexType>
<xsd:complexType name="CT_Font">
<xsd:sequence>
<xsd:element name="ocxPr" type="CT_OcxPr" minOccurs="0"
maxOccurs="unbounded" />
64 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
</xsd:sequence> <xsd:attribute name="persistence" type="ST_Persistence" use="optional"/> <xsd:attribute ref="r:id" use="optional"/> </xsd:complexType>
<xsd:complexType name="CT_Picture"> <xsd:attribute ref="r:id" use="optional"/> </xsd:complexType> </xsd:schema>
The XML schema associated with the imported namespace, "http://schemas.openxmlformats.org/officeDocument/2006/relationships", is specified in [ISO/IEC29500-1:2016], section 22.8.
2.1.7.1.1 Elements
This section specifies the font (section 2.1.7.1.1.1), ocx (section 2.1.7.1.1.2), ocxPr (section 2.1.7.1.1.3), and picture (section 2.1.7.1.1.4) elements that are XSD elements used for persisting ActiveX controls.
2.1.7.1.1.1 font
The font element specifies the persistence of a standard font object (StdFont), as specified in [MS- OFORMS] section 2.4.9.
The following XSD fragment specifies the contents of this element:
<xsd:complexType name="CT_Font"> xsd:sequence <xsd:element name="ocxPr" type="CT_OcxPr" minOccurs="0" maxOccurs="unbounded"/> </xsd:sequence> <xsd:attribute name="persistence" type="ST_Persistence" use="optional"/> <xsd:attribute ref="r:id" use="optional"/> </xsd:complexType>
The following table specifies the attributes for this element:
Attributes Description
persistence Specifies the method used to store properties of the font object.
r:id An ST_RelationshipID, as specified in [ISO/IEC29500-1:2016], section 22.8, that specifies the relationship identifier to the ActiveX Binary (section 2.1.7.2) part that contains the persisted font object.
The target of the relationship MUST be an ActiveX Binary (section 2.1.7.2) part. id
MUST exist if and only if persistence is equal to either persistStorage,
persistStream, or persistStreamInit.
2.1.7.1.1.2 ocx
The ocx element specifies the persistence of an ActiveX control.
The following XSD fragment specifies the contents of this element:
65 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
<xsd:complexType name="CT_Ocx"> xsd:sequence <xsd:element name="ocxPr" type="CT_OcxPr" minOccurs="0" maxOccurs="unbounded"/> </xsd:sequence> <xsd:attribute name="classid" type="ST_String" use="required"/> <xsd:attribute name="license" type="ST_String" use="optional"/> <xsd:attribute ref="r:id" use="optional"/> <xsd:attribute name="persistence" type="ST_Persistence" use="required"/> </xsd:complexType>
Attributes Description
classid Specifies the class identifier (CLSID) of the ActiveX control.
license Specifies the license string for the ActiveX control.
persistence Specifies the method used to store properties of the ActiveX control.
r:id An ST_RelationshipID, as specified in [ISO/IEC29500-1:2016], section 22.8, that specifies the relationship identifier to the ActiveX Binary (section 2.1.7.2) part that contains the persisted ActiveX control.
The target of the relationship MUST be an ActiveX Binary part. id MUST exist if and
only if persistence is equal to either persistStorage, persistStream, or
persistStreamInit.
2.1.7.1.1.3 ocxPr
The ocxPr element specifies a single name and value pair used to persist a property of an ActiveX control that uses the persistPropertyBag method as specified by ST_Persistence (section 2.1.7.1.2.1).
The following XSD fragment specifies the contents of this element:
<xsd:complexType name="CT_OcxPr"> xsd:sequence xsd:choice <xsd:element name="font" type="CT_Font" maxOccurs="1" minOccurs="0"/> <xsd:element name="picture" type="CT_Picture" maxOccurs="1" minOccurs="0"/> </xsd:choice> </xsd:sequence> <xsd:attribute name="name" type="ST_String" use="required"/> <xsd:attribute name="value" type="ST_String" use="optional"/> </xsd:complexType>
Attributes Description
name Specifies the name of the property. name MUST be unique in its collection.
value Specifies the value of the property. value MUST NOT exist if the font or picture child elements exist.
66 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
2.1.7.1.1.4 picture
The picture element specifies the persistence of a standard picture object (StdPicture), as specified in [MS-OFORMS] section 2.4.5.
The following XSD fragment specifies the contents of this element:
<xsd:complexType name="CT_Picture"> <xsd:attribute ref="r:id" use="optional" /> </xsd:complexType>
Attributes Description
r:id An ST_RelationshipID, as specified in [ISO/IEC29500-1:2016], section 22.8, that specifies the relationship identifier to the ActiveX Binary (section 2.1.7.2) part that contains the persisted picture object.
The target of the relationship MUST be an ActiveX Binary part.
2.1.7.1.2 Simple Types
This section specifies the ST_Persistence (section 2.1.7.1.2.1) and ST_String (section 2.1.7.1.2.2) XSD simple types used for persisting ActiveX controls.
2.1.7.1.2.1 ST_Persistence
The ST_Persistence simple type specifies the persistence method used to persist an ActiveX control.
The following XSD fragment specifies the contents of this simple type:
<xsd:simpleType name="ST_Persistence"> <xsd:restriction base="ST_String"> <xsd:enumeration value="persistPropertyBag"/> <xsd:enumeration value="persistStream"/> <xsd:enumeration value="persistStreamInit"/> <xsd:enumeration value="persistStorage"/> </xsd:restriction> </xsd:simpleType>
The following are possible enumeration values for this type:
Enumeration Value Description
persistPropertyBag Specifies that the ActiveX control is persisted using property-bag-based persistence. Property-bag-based persistence stores an ActiveX control by means of a collection of name and value pairs which specify the data persisted by the ActiveX control.
A child ocxPr (section 2.1.7.1.1.3) element MUST appear within the element that
contains this simple type if and only if persistPropertyBag is used.
67 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
Enumeration Value Description
persistStorage Specifies that the ActiveX control is persisted using storage-based persistence.
The id attribute of the element that contains this simple type MUST specify a
relationship to an ActiveX Binary (section 2.1.7.2) part if persistStorage is used.
persistStream Specifies that the ActiveX control is persisted using a stream-based persistence that does not support initialization of the ActiveX control to a default state.
The id attribute of the element that contains this simple type MUST specify a
relationship to an ActiveX Binary (section 2.1.7.2) part if persistStream is used.
persistStreamInit Specifies that the ActiveX control is persisted using a stream-based persistence that supports initialization of the ActiveX control to a default state.
The id attribute of the element that contains this simple type MUST specify a
relationship to an ActiveX Binary (section 2.1.7.2) part if persistStreamInit is used.
2.1.7.1.2.2 ST_String
The ST_String simple type specifies a string.
The following XSD fragment specifies the contents of this simple type:
<xsd:simpleType name="ST_String">
<xsd:restriction base="xsd:string"/>
</xsd:simpleType>
2.1.7.2 ActiveX Binary
An instance of the ActiveX Binary part specifies the persistence of an ActiveX control when the
method used to persist is either persistStream, persistStreamInit, or persistStorage, as specified
in section 2.1.7.1.
Content type: application/vnd.ms-office.activeX
Source relationship: http://schemas.microsoft.com/office/2006/relationships/activeXControlBinary
An ActiveX Binary (section 2.1.7.2) part MUST be the target of an explicit relationship from the
ActiveX (section 2.1.7.1) part.
An ActiveX Binary part MUST NOT have implicit or explicit relationships to any part specified by this
document.
The contents of this part consist of an individual ActiveX control. The internal structure of the ActiveX
control is not specified in this document. See section 2.1.7.1 for more information about general
ActiveX control persistence.
2.1.7.3 Attached Toolbars
An instance of the Attached Toolbars part type specifies the custom toolbars attached to the file.
Content type: application/vnd.ms-excel.attachedToolbars
Source relationship: http://schemas.microsoft.com/office/2006/relationships/attachedToolbars
68 / 1118
[MS-XLSB] - v20251113
Excel (.xlsb) Binary File Format
Copyright © 2025 Microsoft Corporation
Release: November 13, 2025
The internal structure of this part is the same as the structure of the XCB binary stream specified in [MS-XLS] section 2.1.7.10.
An Attached Toolbars part MUST be the target of an implicit relationship from the workbook (section 2.1.7.61) part.
An Attached Toolbars part MUST NOT have implicit or explicit relationships to any part specified in this document.
2.1.7.4 Calculation Chain
The Calculation Chain part consists of an application-specific cache of information.
Content type: application/vnd.ms-excel.calcChain Source relationship: http://schemas.openxmlformats.org/officeDocument/2006/relationships/calcChain
This cache exists for performance reasons only, and can be rebuilt based on information stored elsewhere in the file without affecting calculation results. A package SHOULD NOT<1> contain this part.
A package MUST contain no more than one Calculation Chain part. If it exists, that part MUST be the target of an implicit relationship from the workbook (section 2.1.7.61) part.
A Calculation Chain part MUST NOT have implicit or explicit relationships to any part.
2.1.7.5 Chart
The Chart part (section 2.2.3.1) is specified in [ISO/IEC29500-1:2016], section 14.2.1. The content associated with this part is specified in [ISO/IEC29500-1:2016], section 21.2.
2.1.7.6 Chart Drawing
The Chart Drawing part is specified in [ISO/IEC29500-1:2016], section 14.2.2. The content associated with this part is specified in [ISO/IEC29500-1:2016], section 21.3.
2.1.7.7 Chart Sheet
An instance of the Chart Sheet part type specifies a chart sheet.
Content type: application/vnd.ms-excel.chartsheet Source relationship: http://schemas.openxmlformats.org/officeDocument/2006/relationships/chartsheet
A Chart Sheet part MUST be the target of an explicit relationship from the workbook (section 2.1.7.61) part.
A Chart Sheet part is permitted to have explicit relationships to the following parts specified by this document:
Drawings (section 2.1.7.23)
Images (section 2.1.7.30)
Printer Settings (section 2.1.7.41)
VML Drawings (section 2.1.7.59)
69 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
A Chart Sheet part MUST NOT have implicit or explicit relationships to any other part specified by this document.
Record sequence ABNF:
O25FileFormatDefinitions\excel12\cpp\ValidationABNFs\Biff12ChartsheetGrammar.abnf
For ABNF rules not listed here, see section 2.1.8.
2.1.7.8 Comments
An instance of the Comments part type specifies the comments for a given sheet, as well as the names of the authors of those comments.
Content type: application/vnd.ms-excel.comments Source relationship: http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments
A package MUST contain at most one Comments part per worksheet (section 2.1.7.62) or macro sheet (section 2.1.7.32) part, and each such part MUST be the target of an implicit relationship from a worksheet or macro sheet part.
A Comments part MUST NOT have implicit or explicit relationships to any part specified by this document.
Record sequence ABNF:
COMMENTS = BrtBeginComments COMMENTAUTHORS COMMENTLIST *FRT BrtEndComments
COMMENTAUTHORS = BrtBeginCommentAuthors *BrtCommentAuthor BrtEndCommentAuthors
COMMENTLIST = BrtBeginCommentList *COMMENT BrtEndCommentList
COMMENT = [ACUID] BrtBeginComment [BrtCommentText] BrtEndComment
For ABNF rules not listed here, see section 2.1.8.
2.1.7.9 Control Properties
The Control Properties part is specified in [MS-XLSX] section 2.1.1.
2.1.7.10 Custom Data
The Custom Data part is specified in [MS-XLSX] section 2.1.2.
2.1.7.11 Custom Data Properties
The Custom Data Properties part is specified in [MS-XLSX] section 2.1.3. The content associated with this part is specified in [MS-XLSX] section 2.4.35.
2.1.7.12 Custom Property
The Custom Property part is specified in [ISO/IEC29500-1:2016], section 12.3.5.
70 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
In addition to the explicit relationships specified in [ISO/IEC29500-1:2016], section 12.3.5, a Custom Property part is permitted to be the target of an explicit relationship from the following parts specified by this document:
Macro Sheet (section 2.1.7.32)
2.1.7.13 Custom XML Data Storage
The Custom XML Data Storage part is specified in [ISO/IEC29500-1:2016], section 15.2.5.
Additional XML namespaces are specified in [MS-OSHARED] section 2.3.6.1.
2.1.7.14 Custom XML Data Storage Properties
The Custom XML Data Storage Properties part is specified in [ISO/IEC29500-1:2016], section 15.2.6. The content associated with this part is specified in [ISO/IEC29500-1:2016], section 22.5.
2.1.7.15 Custom XML Maps
The Custom XML Maps part is specified in [ISO/IEC29500-1:2016], section 12.3.6. The content associated with this part is specified in [ISO/IEC29500-1:2016], section 18.6.
2.1.7.16 Diagram Colors
The Diagram Colors part is specified in [ISO/IEC29500-1:2016], section 14.2.3. The content associated with this part is specified in [ISO/IEC29500-1:2016], section 21.4.4.
2.1.7.17 Diagram Data
The Diagram Data part is specified in [ISO/IEC29500-1:2016], section 14.2.4. The content associated with this part is specified in [ISO/IEC29500-1:2016], section 21.4.3.
2.1.7.18 Diagram Layout Definition
The Diagram Layout Definition part is specified in [ISO/IEC29500-1:2016], section 14.2.5. The content associated with this part is specified in [ISO/IEC29500-1:2016], section 21.4.6.
2.1.7.19 Diagram Styles
The Diagram Styles part is specified in [ISO/IEC29500-1:2016], section 14.2.6. The content associated with this part is specified in [ISO/IEC29500-1:2016], section 21.4.5.
2.1.7.20 Dialog Sheet
An instance of the Dialog Sheet part type contains information about a custom dialog box.
Content type: application/vnd.ms-excel.dialogsheet Source relationship: http://schemas.openxmlformats.org/officeDocument/2006/relationships/dialogsheet
A Dialog Sheet part MUST be the target of an explicit relationship from the workbook (section 2.1.7.61) part.
A Dialog Sheet part is permitted to have explicit relationships to the following parts specified by this document:
71 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
OLE Object (section 2.1.7.36)
OLE Package (section 2.1.7.37)
Printer Settings (section 2.1.7.41)
VML Drawings (section 2.1.7.59)
A Dialog Sheet part MUST NOT have implicit or explicit relationships to any other part specified by this document.
Record sequence ABNF:
O25FileFormatDefinitions\excel12\cpp\ValidationABNFs\Biff12DialogsheetGrammar.abnf
For ABNF rules not listed here, see section 2.1.8.
2.1.7.21 Digital Signature Origin
The Digital Signature Origin part is specified in [ISO/IEC29500-1:2016], section 15.2.7. Further information about digital signatures is specified in [ISO/IEC29500-2:2012], section 13.
2.1.7.22 Digital Signature XML Signature
The Digital Signature XML Signature part is specified in [ISO/IEC29500-1:2016], section 15.2.8. The content associated with this part is specified in [ISO/IEC29500-2:2012], section 13.
2.1.7.23 Drawings
The Drawings part is specified in [ISO/IEC29500-1:2016], section 12.3.8. The content associated with this part is specified in [ISO/IEC29500-1:2016], section 20.5.
In addition to the explicit relationships specified in [ISO/IEC29500-1:2016], section 12.3.8, a Drawings part is permitted to be the target of an explicit relationship from the following parts specified by this document:
Macro Sheet (section 2.1.7.32)
Sections 2.1.7.23.1 and 2.1.7.23.2 specify additional extensions to this part.
2.1.7.23.1 compatSp
The compatSp element is a CT_CompatShape that specifies a legacy drawing object. The legacy drawing object MUST be a form control, an OLE object or a legacy ActiveX object.
Target namespace: http://schemas.microsoft.com/office/drawing/2010/compatibility
<xsd:element name="compatSp" type="CT_CompatShape"/>
The graphicData ([ISO/IEC29500-1:2016] section 20.1.2.2.17) element, with parent graphic ([ISO/IEC29500-1:2016] section 20.1.2.2.16) element, with parent graphicFrame ([ISO/IEC29500- 1:2016] section 20.5.2.16) element, with ancestor twoCellAnchor ([ISO/IEC29500-1:2016] section 20.5.2.33), oneCellAnchor ([ISO/IEC29500-1:2016] section 20.5.2.24), or absoluteAnchor ([ISO/IEC29500-1:2016] section 20.5.2.1) element, with parent wsDr ([ISO/IEC29500-1:2016] section 20.5.2.35) element, is extended by the addition of an AlternateContent ([ISO/IEC29500- 3:2015] section 7.5) child element, whose structure is specified in the following table:
72 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
AlternateContent components Structure of child elements Choice: wsDr http://schemas.microsoft.com/office/drawing/2010/compatibility twoCellAnchor or oneCellAnchor or absoluteAnchor grpSp (if inside a group) graphicFrame graphic graphicData compatSp Fallback Empty
Where the grpSp element is specified in [ISO/IEC29500-1:2016] section 20.5.2.17.
2.1.7.23.2 CT_CompatShape
CT_CompatShape is a complex type that specifies a legacy drawing object.
Target namespace: http://schemas.microsoft.com/office/drawing/2010/compatibility
Referenced by: compatSp (section 2.1.7.23.1)
CT_CompatShape has the following attributes:
spid : An ST_ShapeID ([ISO/IEC29500-1:2016] section 20.1.10.55) attribute that specifies the shape identifier of a legacy drawing object.
<xsd:complexType name="CT_CompatShape" oxsd:cname="CompatShapeStg" oxsd:cwrap="CompatShapeStgMethods"> <xsd:attribute name="spid" oxsd:cname="ShapeId" type="a:ST_ShapeID" user="required"/> </xsd:complexType>
2.1.7.24 External Data Connections
An instance of the External Data Connections part type specifies external connections (section 2.2.8) for the workbook.
Content type: application/vnd.ms-excel.connections Source relationship: http://schemas.openxmlformats.org/officeDocument/2006/relationships/connections
A package MUST contain at most one External Data Connections part, which MUST be the target of an implicit relationship from the workbook (section 2.1.7.61) part.
An External Data Connections part MUST NOT have implicit or explicit relationships to any part specified by this document.
Record sequence ABNF:
O25FileFormatDefinitions\excel12\cpp\ValidationABNFs\Biff12ExternalDataConnectionsGrammar.abnf
For ABNF rules not listed here, see section 2.1.8.
2.1.7.25 External Link
An instance of the External Link (section 2.1.7.25) part ABNF specifies an external link (section 2.2.7.4).
Content type: application/vnd.ms-excel.externalLink
73 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
Source relationship:
http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLink
An External Link (section 2.1.7.25) part ABNF MUST be the target of an explicit relationship in the
workbook (section 2.1.7.61) part.
If the External Link part specifies an external link (section 2.2.7.4) that is of type external
workbook (section 2.1.10), the part MUST specify an explicit external relationship to an external
workbook. If the External Link part specifies an external link (section 2.2.7.4) that is of type OLE
data source (section 2.2.7.4.3), the part MUST specify an explicit external relationship to an OLE
object (section 2.1.7.36). If the External Link part specifies an external link (section 2.2.7.4) that is
of type DDE data source (section 2.2.7.4.2), the part MUST NOT specify any relationship.
An External Link part MUST NOT have any implicit or explicit relationships to any other parts specified
by this document.
Record sequence ABNF:
O25FileFormatDefinitions\excel12\cpp\ValidationABNFs\Biff12SupplementaryBookDataGrammar.abnf
For ABNF rules not listed here, see section 2.1.8.
2.1.7.26 File Properties, Core
The File Properties, Core part is specified in [ISO/IEC29500-1:2016] section 15.2.12.1. The content
associated with this part is specified in [ISO/IEC29500-2:2012] section 11.
2.1.7.27 File Properties, Custom
The File Properties, Custom part is specified in [ISO/IEC29500-1:2016] section 15.2.12.2. The
content associated with this part is specified in [ISO/IEC29500-1:2016] section 22.3.
In addition, the custom properties, used by the version of the workbook that is published to or
rendered on a Web or application server, are specified in the following table:
Name attribute Meaning
PROP_ParameterName Specifies a parameter, where ParameterName is a name specified by the
user. The parameter corresponds to the named range specified by the
BrtName (section 2.4.718) element that has a name field equal to
ParameterName.
The contents are an empty lpwstr element. The lpwstr element is
specified in [ISO/IEC29500-1:2016] section 22.4.2.18.
PROP_MULTVAL_ParameterName Specifies a filter parameter, where ParameterName is a name specified
by the user. The parameter corresponds to the named range specified by
the BrtName (section 2.4.718) element that has a name field equal to
ParameterName.
The contents are an empty lpwstr element. The lpwstr element is
specified in [ISO/IEC29500-1:2016] section 22.4.2.18.
2.1.7.28 File Properties, Extended
The File Properties, Extended part is defined in [ISO/IEC29500-1:2016] section 15.2.12.3. The content associated with this part is specified in [ISO/IEC29500-1:2016] section 22.2.
74 / 1118
[MS-XLSB] - v20251113
Excel (.xlsb) Binary File Format
Copyright © 2025 Microsoft Corporation
Release: November 13, 2025
In addition, this document specifies the following name value pairs for the HeadingPairs element specified in [ISO/IEC29500-1:2016] section 22.2.2.8:
Name Value Pair Meaning SheetType, n There are n of these type of sheets in the workbook. SheetType MUST be one of the following: "Worksheets", "Excel 4.0 Macros", "Charts", or "Dialogs". Named Ranges, n There are n named ranges in the workbook.
2.1.7.29 File Properties, Thumbnail
The File Properties, Thumbnail part is specified in [ISO/IEC29500-1:2016] section 15.2.16. The content associated with this part is specified in [ISO/IEC29500-2:2012] section 12.
2.1.7.30 Images
The Images part is specified in [ISO/IEC29500-1:2016] section 15.2.14.
In addition to the explicit relationships specified in [ISO/IEC29500-1:2016] section 15.2.14, an Image part is permitted to be the target of an explicit relationship from the following parts specified in this document:
Chart Sheet (section 2.1.7.7)
Macro Sheet (section 2.1.7.32)
Theme (section 2.1.7.52)
Worksheet (section 2.1.7.62)
2.1.7.31 International Macro Sheet
An instance of the International Macro Sheet part type specifies the same information as a macro sheet (section 2.1.7.32) part type.
Content type: application/vnd.ms-excel.intlmacrosheet Source relationship: http://schemas.microsoft.com/office/2006/relationships/xlIntlMacrosheet
When this part type is present, the associated macro sheet will display and operate with US English locale, regardless of what the product locale, user locale, or system locale is. This will maximize compatibility when running under various locales.
International Macrosheet records and record sequence ABNF are identical to macro sheet (section 2.1.7.32).
2.1.7.32 Macro Sheet
An instance of the Macro Sheet part type specifies a macro sheet.
Content type: application/vnd.ms-excel.macrosheet Source relationship: http://schemas.microsoft.com/office/2006/relationships/xlMacrosheet
References to the Macro Sheet part in this document include International Macro Sheet (section 2.1.7.31).
75 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
A Macro Sheet part MUST be the target of an explicit relationship in the workbook (section 2.1.7.61) part.
A Macro Sheet part is permitted to have implicit relationships to the following parts specified in this document:
Comments (section 2.1.7.8)
Macro Sheet Binary Index (section 2.1.7.33)
Sort Map (section 2.1.7.49)
A Macro Sheet part is permitted to have explicit relationships to the following parts specified in this document:
Custom Property (section 2.1.7.12)
Drawings (section 2.1.7.23)
OLE Object (section 2.1.7.36)
OLE Package (section 2.1.7.37)
Images (section 2.1.7.30)
Printer Settings (section 2.1.7.41)
VML Drawings (section 2.1.7.59)
A Macro Sheet part MUST NOT have implicit or explicit relationships to any other part specified in this document.
Record sequence ABNF:
O25FileFormatDefinitions\excel12\cpp\ValidationABNFs\Biff12MacrosheetGrammar.abnf
For ABNF rules not listed here, see section 2.1.8.
2.1.7.33 Macro Sheet Binary Index
An instance of the Macro Sheet Binary Index part type specifies a binary index (section 2.2.1.1) for a macro sheet, as specified by the Macro Sheet (section 2.1.7.32) part.
Content type: application/vnd.ms-excel.binIndexMs Source relationship: http://schemas.microsoft.com/office/2006/relationships/xlBinaryIndex
This part is identical to the worksheet binary index (section 2.1.7.63) part, except that it applies to a macro sheet.
2.1.7.34 Metadata
An instance of the Metadata part (section 2.1.7.34) type specifies metadata (section 2.2.4) information for a workbook.
Content type: application/vnd.ms-excel.sheetMetadata Source relationship: http://schemas.openxmlformats.org/officeDocument/2006/relationships/sheetMetadata
An instance of this part type specifies metadata (section 2.2.4) information for a workbook.
76 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
A package MUST contain at most one Metadata part, and that part MUST be the target of an implicit relationship from the Workbook (section 2.1.7.61) part.
A Metadata part MUST NOT have implicit or explicit relationships to any part specified by this document.
Record sequence ABNF:
O25FileFormatDefinitions\excel12\cpp\ValidationABNFs\Biff12MetadataGrammar.abnf
For ABNF rules not listed here, see section 2.1.8.
2.1.7.35 Model
The Model part is specified in [MS-XLDM].
Extensions to this specification are specified in [MS-XLSX] section 2.1.6.
2.1.7.36 OLE Object
The OLE Object part is specified in [ISO/IEC29500-1:2016] section 15.2.10.
In addition to the explicit relationships specified in [ISO/IEC29500-1:2016] section 15.2.10, an OLE Object part is permitted to be the target of an explicit relationship from the following parts specified in this document:
Macro Sheet (section 2.1.7.32)
Dialog Sheet (section 2.1.7.20)
External Link (section 2.1.7.25)
Worksheet (section 2.1.7.62)
2.1.7.37 OLE Package
The OLE Package part is specified in [ISO/IEC29500-1:2016] section 15.2.11.
In addition to the explicit relationships specified in [ISO/IEC29500-1:2016] section 15.2.11, an OLE Package part is permitted to be the target of an explicit relationship from the following parts specified in this document:
Macro Sheet (section 2.1.7.32)
Dialog Sheet (section 2.1.7.20)
Worksheet (section 2.1.7.62)
2.1.7.38 PivotCache Definition
An instance of the PivotCache Definition part type specifies a PivotCache (section 2.2.5.2) for one or more PivotTables (section 2.2.5) or cube functions.
Content type: application/vnd.ms-excel.pivotCacheDefinition Source relationship: http://schemas.openxmlformats.org/officeDocument/2006/relationships/pivotCacheDefinition
A package MUST contain one PivotCache Definition part per BrtBeginPivotCacheID (section 2.4.169) record in the workbook (section 2.1.7.61) part, and each such part MUST be the target of
77 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
an explicit relationship from a workbook part. In addition, if the idCache field of the BrtBeginSXView (section 2.4.278) record in a PivotTable (section 2.1.7.40) part is equal to the idSx field of any BrtBeginPivotCacheID record in the workbook part, then the PivotCache Definition part corresponding to that BrtBeginPivotCacheID record MUST be the target of an implicit relationship from that PivotTable (section 2.1.7.40) part.
A PivotCache Definition part is permitted to have an explicit relationship to the following part specified in this document:
PivotCache Records (section 2.1.7.39)
A PivotCache Definition part MUST NOT have any implicit or explicit relationships to any other parts specified by this document.
Record sequence ABNF:
O25FileFormatDefinitions\excel12\cpp\ValidationABNFs\Biff12PivotCacheDefinitionsGrammar.abnf
For ABNF rules not listed here, see section 2.1.8.
2.1.7.39 PivotCache Records
An instance of the PivotCache Records part type specifies cache records (section 2.2.5.2.10) for a PivotTable (section 2.2.5).
Content type: application/vnd.ms-excel.pivotCacheRecords Source relationship: http://schemas.openxmlformats.org/officeDocument/2006/relationships/spreadsheetml/pivotCacheRe cords
A package MUST contain at most one PivotCache Records part per PivotCache Definition (section 2.1.7.38) part, and each such part MUST be the target of an explicit relationship from the PivotCache Definition part.
A PivotCache Records part MUST NOT have implicit or explicit relationships to any part specified in this document.
Record sequence ABNF:
O25FileFormatDefinitions\excel12\cpp\ValidationABNFs\Biff12PivotCacheRecordsGrammar.abnf
For ABNF rules not listed here, see section 2.1.8.
2.1.7.40 PivotTable
An instance of the PivotTable part type specifies a PivotTable View (section 2.2.5.3).
Content type: application/vnd.ms-excel.PivotTable Source relationship: http://schemas.openxmlformats.org/officeDocument/2006/relationships/PivotTable
A PivotTable part MUST be the target of an implicit relationship from a worksheet (section 2.1.7.62) part.
A PivotTable part is permitted to have implicit relationships to the following parts specified in this document:
PivotCache Definition (section 2.1.7.38)
78 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
A PivotTable part MUST NOT have any implicit or explicit relationships to any other parts specified in this document.
Record sequence ABNF:
O25FileFormatDefinitions\excel12\cpp\ValidationABNFs\Biff12PivotTableGrammar.abnf
For ABNF rules not listed here, see section 2.1.8.
2.1.7.41 Printer Settings
An instance of the Printer Settings part type specifies information about the initialization and environment of a printer or a display device
Content type: application/vnd.openxmlformats-officedocument.spreadsheetml.printerSettings Source relationship: http://schemas.openxmlformats.org/officeDocument/2006/relationships/printerSettings
This part type MUST contain exactly one DEVMODE structure, as described in [DEVMODE], with a dmSize greater than 0, including printer driver specific data.
A package MUST contain at most one Printer Settings part per chart sheet (section 2.1.7.7), dialog sheet (section 2.1.7.20), worksheet (section 2.1.7.62), or macro sheet (section 2.1.7.32) part, and that part MUST be the target of an explicit relationship from a chart sheet, dialog sheet, worksheet, or macro sheet part.
A Printer Settings part MUST NOT have implicit or explicit relationships to any part specified by this document.
2.1.7.42 Query Table
An instance of the Query Table part type specifies a query table that is associated with a table or range.
Content type: application/vnd.ms-excel.queryTable Source relationship: http://schemas.openxmlformats.org/officeDocument/2006/relationships/queryTable
If a Query Table part is the target of an implicit relationship from a table (section 2.1.7.51) part, this relationship specifies that the query table is associated with that table. If a Query Table part is the target of an implicit relationship from a worksheet (section 2.1.7.62) part, this relationship specifies that the query table is associated with a range on that sheet.
A Query Table part MUST be the target of exactly one implicit relationship from either a worksheet (section 2.1.7.62) part or a table (section 2.1.7.51) part.
A Query Table part MUST NOT have implicit or explicit relationships to any part specified by this document.
Record sequence ABNF:
O25FileFormatDefinitions\excel12\cpp\ValidationABNFs\Biff12QSIGrammar.abnf
For ABNF rules not listed here, see section 2.1.8.
2.1.7.43 Revision Headers
An instance of the Revision Headers part type specifies the revision header logs (section 2.2.12.2) for a shared workbook (section 2.2.12).
79 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
Content type: application/vnd.ms-excel.revisionHeaders Source relationship: http://schemas.openxmlformats.org/officeDocument/2006/relationships/revisionHeaders
If the workbook is a shared workbook (section 2.2.12), the package MUST contain exactly one Revision Headers part, and that part MUST be the target of an implicit relationship from the workbook (section 2.1.7.61) part. If the workbook is not a shared workbook, the package MUST NOT contain a Revision Headers part.
A Revision Headers part is permitted to have explicit relationships to the following parts specified in this document:
Revision Log (section 2.1.7.44)
A Revision Headers part MUST NOT have any implicit or explicit relationships to any other parts specified in this document.
Record sequence ABNF:
O25FileFormatDefinitions\excel12\cpp\ValidationABNFs\Biff12RevisionHeadersGrammar.abnf
For ABNF rules not listed here, see section 2.1.8.
2.1.7.44 Revision Log
An instance of the Revision Log part type specifies the revision logs (section 2.2.12.3) for a shared workbook (section 2.2.12).
Content type: application/vnd.ms-excel.revisionLog Source relationship: http://schemas.openxmlformats.org/officeDocument/2006/relationships/revisionLog
A package MUST contain one Revision Log part for each revision header log (section 2.2.12.2) specified in the revision headers (section 2.1.7.43) part, and each part MUST be the target of an explicit relationship from the revision headers part.
A Revision Log part MUST NOT have implicit or explicit relationships to any part specified in this document.
Record sequence ABNF:
O25FileFormatDefinitions\excel12\cpp\ValidationABNFs\Biff12RevisionLogGrammar.abnf
For ABNF rules not listed here, see section 2.1.8.
2.1.7.45 Shared Strings
An instance of the Shared Strings (section 2.1.7.45) part ABNF type specifies the unique strings that occur on all sheets in a workbook.
Content type: application/vnd.ms-excel.sharedStrings Source relationship: http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings
A package MUST contain at most one Shared Strings (section 2.1.7.45) part ABNF, and that part MUST be the target of an implicit relationship from the workbook (section 2.1.7.61) part.
A Shared Strings part MUST NOT have implicit or explicit relationships to any part specified in this document.
80 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
Record sequence ABNF:
O25FileFormatDefinitions\excel12\cpp\ValidationABNFs\Biff12SharedStringsGrammar.abnf
For ABNF rules not listed here, see section 2.1.8.
2.1.7.46 Single Cell Tables
An instance of the Single Cell Tables part type specifies how elements and attributes in an XML map, as specified by the Custom XML Maps (section 2.1.7.15) part, are associated with sheet cells. Sheet cells are used for elements and attributes in an XML map that are specified as occurring only once, or when a user forces an otherwise repeating element or attribute to occur only once.
Content type: application/vnd.ms-excel.tableSingleCells Source relationship: http://schemas.openxmlformats.org/officeDocument/2006/relationships/tableSingleCells
Use tables, as specified by the table (section 2.1.7.51) part, for elements and attributes in an XML map that are specified as occurring more than once, or to force an otherwise non-repeating element or attribute to repeat more than once.
A package MUST contain at most one Single Cell Tables part per worksheet (section 2.1.7.62) part, and that part MUST be the target of an implicit relationship from a Worksheet part.
A Single Cell Tables part MUST NOT have implicit or explicit relationships to any part specified in this document.
Record sequence ABNF:
O25FileFormatDefinitions\excel12\cpp\ValidationABNFs\Biff12SingleCellTablesGrammar.abnf
For ABNF rules not listed here, see section 2.1.8.
2.1.7.47 Slicer Cache
An instance of the Slicer Cache part type specifies a single slicer cache (section 2.2.14.1) in the workbook<2> (section 2.1.7.61).
Content type: application/vnd.ms-excel.slicerCache Source relationship: http://schemas.microsoft.com/office/2007/relationships/slicerCache
A package MUST contain one Slicer Cache part per BrtBeginSlicerCacheID (section 2.4.206) record in the workbook (section 2.1.7.61) part, and that part MUST be the target of an explicit relationship from the workbook part.
A Slicer Cache part MUST NOT have implicit or explicit relationships to any part specified in this document.
Record sequence ABNF:
O25FileFormatDefinitions\excel12\cpp\ValidationABNFs\Biff12SlicerCacheGrammar.abnf
For ABNF rules not listed here, see section 2.1.8.
2.1.7.48 Slicers
An instance of the Slicers part specifies the Slicer Views (section 2.2.14.2) for a single worksheet (section 2.1.7.62).
81 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
Content type: application/vnd.ms-excel.slicer Source relationship: http://schemas.microsoft.com/office/2007/relationships/slicer
The presence of a Slicers part indicates that there is at least one Slicer View on the associated worksheet (section 2.1.7.62), and this part MUST be the target of an explicit relationship from the Worksheet part ABNF (section 2.1.7.62).
A Slicers part MUST NOT have implicit or explicit relationships to any part specified in this document.
Record sequence ABNF:
O25FileFormatDefinitions\excel12\cpp\ValidationABNFs\Biff12SlicerGrammar.abnf
For ABNF rules not listed here, see section 2.1.8.
2.1.7.49 Sort Map
An instance of the Sort Map part specifies a series of before and after row or column (1) mappings to resolve different sort operations performed on the same range by different users in a shared workbook (section 2.2.12).
Content type: application/vnd.ms-excel.wsSortMap
Source relationship: http://schemas.microsoft.com/office/2006/relationships/wsSortMap
A package MUST contain at most one Sort Map part for each worksheet (section 2.1.7.62) or macro sheet (section 2.1.7.32) part in a shared workbook (section 2.2.12), and that part MUST be the target of an implicit relationship from the worksheet or macro sheet part.
A Sort Map part MUST NOT have implicit or explicit relationships to any part specified in this document.
Record sequence ABNF:
O25FileFormatDefinitions\excel12\cpp\ValidationABNFs\Biff12SortMapGrammar.abnf
2.1.7.50 Styles
An instance of the Styles part type specifies style (section 2.2.6) information for a workbook.
Content type: application/vnd.ms-excel.styles Source relationship: http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles
A package MUST contain at most one Styles part, and that part MUST be the target of an implicit relationship from the workbook (section 2.1.7.61) part.
A Styles part MUST NOT have implicit or explicit relationships to any part specified in this document.
Record sequence ABNF:
O25FileFormatDefinitions\excel12\cpp\ValidationABNFs\Biff12StylesGrammar.abnf
For ABNF rules not listed here, see section 2.1.8.
2.1.7.51 Table
An instance of the Table part type specifies a single table and its AutoFilter information.
Content type: application/vnd.ms-excel.table
82 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
Source relationship: http://schemas.openxmlformats.org/officeDocument/2006/relationships/tableSingleCells
The data contained within the table is stored in the corresponding worksheet (section 2.1.7.62) part.
A Table part MUST be the target of an explicit relationship from a Worksheet part ABNF (section 2.1.7.62).
A Table part is permitted to have implicit relationships to the following parts specified by this document:
Query Table (section 2.1.7.42)
A Table part MUST NOT have any implicit or explicit relationships to any other part specified by this document.
Record sequence ABNF:
O25FileFormatDefinitions\excel12\cpp\ValidationABNFs\Biff12TablesGrammar.abnf
For ABNF rules not listed here, see section 2.1.8.
2.1.7.52 Theme
The Theme part is specified in [ISO/IEC29500-1:2016] section 14.2.7. The content associated with this part is specified in [ISO/IEC29500-1:2016] section 20.1.4.
2.1.7.53 Timeline Cache
An instance of the Timeline Cache part type specifies a single Timeline cache (section 2.2.15.1) in the workbook (section 2.1.7.61).
Content type: application/vnd.ms-excel.TimelineCache+xml Source relationship: http://schemas.microsoft.com/office/2010/relationships/TimelineCache
A package MUST contain one Timeline Cache part per BrtBeginTimelineCacheID (section 2.4.285) record in the workbook part, and that part MUST be the target of an explicit relationship from the workbook part.
A Timeline Cache part MUST NOT have implicit or explicit relationships to any part specified in this document.
The syntax of the structures contained in this part uses XSD, as specified in [XMLSCHEMA1] and [XMLSCHEMA2].
This specification defines and references various XML namespaces by using the mechanisms specified in [XMLNS].
The content of this part is XML, and the root element for the part is the timelineCacheDefinition element, as specified in [MS-XLSX] section 2.4.58.
2.1.7.54 Timelines
An instance of the Timelines part specifies the Timeline views (section 2.2.15.2) for a single worksheet (section 2.1.7.62).
Content type: application/vnd.ms-excel.Timeline+xml Source relationship: http://schemas.microsoft.com/office/2010/relationships/Timeline
83 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
The presence of a Timelines part indicates that there is at least one Timeline view (section 2.2.15.2) on the associated worksheet (section 2.1.7.62), and this part MUST be the target of an explicit relationship from the Worksheet part ABNF (section 2.1.7.62).
A Timelines part MUST NOT have implicit or explicit relationships to any part specified in this document.
The syntax of the structures contained in this part uses XSD, as specified in [XMLSCHEMA1] and [XMLSCHEMA2].
This specification defines and references various XML namespaces by using the mechanisms specified in [XMLNS].
The content of this part is XML, and the root element for the part is the timelines element, as specified in [MS-XLSX] section 2.4.57.
2.1.7.55 User Names
An instance of the User Names part type specifies the user log (section 2.2.12.1) for a shared workbook (section 2.2.12).
Content type: application/vnd.ms-excel.userNames Source relationship: http://schemas.openxmlformats.org/officeDocument/2006/relationships/usernames
The presence of the User Names part indicates the workbook is a shared workbook (section 2.2.12). The User Names part MUST be the target of an implicit relationship from the workbook (section 2.1.7.61) part.
A User Names part MUST NOT have implicit or explicit relationships to any part specified in this document.
Record sequence ABNF:
O25FileFormatDefinitions\excel12\cpp\ValidationABNFs\Biff12UserNamesGrammar.abnf
For ABNF rules not listed here, see section 2.1.8.
2.1.7.56 VBA Project
The VBA Project part is specified in [MS-OVBA].
Content type: application/vnd.ms-office.vbaProject Source relationship: http://schemas.microsoft.com/office/2006/relationships/vbaProject
A package MUST contain at most one VBA Project part, which MUST be the target of an implicit relationship from the workbook (section 2.1.7.61) part.
A VBA Project part is permitted to contain implicit relationships to the following parts specified in this document:
VBA Project Signature (section 2.1.7.58)
VBA Project Agile Signature (section 2.1.7.57)
A VBA Project part MUST NOT have implicit or explicit relationships to any other part specified in this document.
84 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
2.1.7.57 VBA Project Agile Signature
The VBA Project Agile Signature part is specified in [MS-OSHARED] section 2.3.2. The contentInfo field of the VBA Project Agile Signature part MUST be a SpcIndirectDataContentV2 structure.
Content type: application/vnd.ms-office.vbaProjectSignatureAgile Source relationship: http://schemas.microsoft.com/office/2006/relationships/vbaProjectSignatureAgile
A package MUST contain at most one VBA Project Agile Signature part. That part MUST be the target of an implicit relationship from the VBA project (section 2.1.7.56) part.
A VBA Project Agile Signature part MUST NOT have implicit or explicit relationships to any part specified in this document.
2.1.7.58 VBA Project Signature
The VBA Project Signature part is specified in [MS-OSHARED] section 2.3.2. The contentInfo field of the VBA Project Signature part MUST be a SpcIndirectDataContent structure.
Content type: application/vnd.ms-office.vbaProjectSignature Source relationship: http://schemas.microsoft.com/office/2006/relationships/vbaProjectSignature
A package MUST contain at most one VBA Project Signature part. That part MUST be the target of an implicit relationship from the VBA project (section 2.1.7.56) part.
A VBA Project Signature part MUST NOT have implicit or explicit relationships to any part specified in this document.
2.1.7.59 VML Drawings
The VML Drawings part is specified in [ISO/IEC29500-4:2016] section 8.2. The content associated with this part is specified in [ISO/IEC29500-4:2016] section 14.4.
In addition to the explicit relationships specified in [ISO/IEC29500-4:2016] section 8.2, a VML Drawings part is permitted to be the target of an explicit relationship from the following parts specified by this document:
Chart Sheet (section 2.1.7.7)
Macro Sheet (section 2.1.7.32)
2.1.7.60 Volatile Dependencies
An instance of the Volatile Dependencies part type specifies the Volatile Dependencies (section 2.2.13) for a workbook.
Content type: application/vnd.ms-excel.volatileDependencies Source relationship: http://schemas.openxmlformats.org/officeDocument/2006/relationships/volatileDependencies
A package MUST contain at most one Volatile Dependencies part, and that part MUST be the target of an implicit relationship from the workbook (section 2.1.7.61) part.
A Volatile Dependencies part MUST NOT have implicit or explicit relationships to any part specified in this document.
Record sequence ABNF:
85 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
O25FileFormatDefinitions\excel12\cpp\ValidationABNFs\Biff12VolatileDependenciesGrammar.abnf
For ABNF rules not listed here, see Common Productions (section 2.1.8).
2.1.7.61 Workbook
An instance of the Workbook (section 2.1.7.61) part type specifies workbook data and references to all of its sheets.
Content type: application/vnd.ms-excel.main
Source relationship: http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument
A package MUST contain exactly one Workbook part, and that part MUST be the target of a relationship in the package relationship part, as specified in section 2.1.
A Workbook part is permitted to have implicit relationships to the following parts specified in this document:
Attached Toolbars (section 2.1.7.3)
Calculation Chain (section 2.1.7.4)
Metadata (section 2.1.7.34)
External Data Connections (section 2.1.7.24)
Custom XML Maps (section 2.1.7.15)
Custom XML Data Storage (section 2.1.7.13)
Shared Strings (section 2.1.7.45)
Revision Headers (section 2.1.7.43)
User Names (section 2.1.7.55)
Styles (section 2.1.7.50)
Theme (section 2.1.7.52)
VBA Project (section 2.1.7.56)
Volatile Dependencies (section 2.1.7.60)
A Workbook part is permitted to have explicit relationships to the following parts specified in this document:
Chart Sheet (section 2.1.7.7)
Dialog Sheet (section 2.1.7.20)
External Links (section 2.1.7.25)
Macro Sheet (section 2.1.7.32)
International Macro Sheet (section 2.1.7.31)
PivotCache Definition (section 2.1.7.38)
Slicer Cache (section 2.1.7.47)
86 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
Worksheet (section 2.1.7.62)
Timeline Cache (section 2.1.7.53)
A Workbook part MUST NOT have implicit or explicit relationships to any other part specified in this document.
Record sequence ABNF:
O25FileFormatDefinitions\excel12\cpp\ValidationABNFs\Biff12WorkbookGrammar.abnf
For ABNF rules not listed here, see Common Productions (section 2.1.8).
2.1.7.62 Worksheet
An instance of the Worksheet part type specifies a worksheet.
Content type: application/vnd.ms-excel.worksheet Source relationship: http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet
A Worksheet part MUST be the target of an explicit relationship from the workbook (section 2.1.7.61) part.
A Worksheet part is permitted to contain implicit relationships to the following parts specified in this document:
Comments (section 2.1.7.8)
PivotTable Definitions (section 2.1.7.40)
Query Table (section 2.1.7.42)
Single Cell Tables (section 2.1.7.46)
Worksheet Binary Index (section 2.1.7.63)
Sort Map (section 2.1.7.49)
A Worksheet part is permitted to contain explicit relationships to the following parts specified in this document:
ActiveX (section 2.1.7.1)
Custom Property (section 2.1.7.12)
Drawings (section 2.1.7.23)
OLE Object (section 2.1.7.36)
OLE Package (section 2.1.7.37)
Hyperlinks (section 2.1.9)
Images (section 2.1.7.30)
Printer Settings (section 2.1.7.41)
Slicers (section 2.1.7.48)
Table Definition (section 2.1.7.51)
87 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
VML Drawings (section 2.1.7.59)
Timelines (section 2.1.7.54)
A Worksheet part MUST NOT have implicit or explicit relationships to any other part specified in this document.
Record sequence ABNF:
O25FileFormatDefinitions\excel12\cpp\ValidationABNFs\Biff12WorksheetGrammar.abnf
For ABNF rules not listed here, see section 2.1.8.
2.1.7.63 Worksheet Binary Index
An instance of the Worksheet Binary Index part type specifies a binary index (section 2.2.1.1) for a worksheet, as specified by the worksheet (section 2.1.7.62) part.
Content type: application/vnd.ms-excel.binIndexWs Source relationship: http://schemas.microsoft.com/office/2006/relationships/xlBinaryIndex
A Worksheet Binary Index part MUST be the target of an implicit relationship from a worksheet (section 2.1.7.62) part.
A Worksheet Binary Index part MUST NOT have implicit or explicit relationships to any part specified in this document.
Record sequence ABNF:
O25FileFormatDefinitions\excel12\cpp\ValidationABNFs\Biff12WorksheetIndexGrammar.abnf
2.1.8 Common Productions
Record sequence fragments that are common to multiple parts are specified in this section. If a fragment cannot be found under its part, it can be found in the following ABNF grammar.
The FRT rule can contain any number of other valid Records (section 2.1.4) between BrtFRTBegin (section 2.4.691) and BrtFRTEnd (section 2.4.692).
O25FileFormatDefinitions\excel12\cpp\Biff12CommonGrammar.abnf
2.1.9 Hyperlinks
Storage of hyperlinks is specified in [ISO/IEC29500-1:2016] section 15.3.
2.1.10 External Workbooks
Source relationship: See section 2.1.10.1.
When a package uses an external workbook, it MUST store the location of the workbook using one of the relationships specified in section 2.1.10.1, and that relationship MUST be an explicit relationship from the external link (section 2.1.7.25) part.
An external workbook MUST be located external to the package containing the source relationship (expressed syntactically, the TargetMode attribute of the Relationship element MUST be "External").
88 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
2.1.10.1 External Workbook Base Paths
The source relationship specifies the base path to use for the path to the external workbook (section 2.1.10).
Source relationship Relationship base path
http://schemas.openxmlformats.org/officeDocument/20 Specifies that the path is relative to the location of the 06/relationships/externalLinkPath package containing the relationship.
http://schemas.microsoft.com/office/2006/relationships Specifies that the path is relative to the startup /xlExternalLinkPath/xlStartup directory.
http://schemas.microsoft.com/office/2006/relationships Specifies that the path is relative to the alternate /xlExternalLinkPath/xlAlternateStartup startup directory.
http://schemas.microsoft.com/office/2006/relationships Specifies that the path is relative to the library /xlExternalLinkPath/xlLibrary directory.
http://schemas.microsoft.com/office/2006/relationships No base path is inferred. /xlExternalLinkPath/xlPathMissing
2.2 Conceptual Overview
This section specifies how higher-level features of the file format are represented by combinations of records.
2.2.1 Cell Table
Text, formulas, and numerical data within worksheets are primarily stored in the cells that make up worksheets (section 2.1.7.62) and macro sheets (section 2.1.7.32). Cells are the fundamental building blocks that contain data, formulas (section 2.2.2), and formatting to form the worksheets. The data structure associated with the grid of cells is called the cell table.
The cell table is stored in the sequence of records that conform to the CELLTABLE rule in the Common Productions (section 2.1.8) part ABNF. The cells are contained between BrtBeginSheetData (section 2.4.201) and BrtEndSheetData (section 2.4.554) records. They are stored in a row-major order, with a BrtRowHdr (section 2.4.770) record saved for every non-empty row, where a non-empty row is a row that contains data, formatting, metadata, or phonetic information.
Every row is divided into 16 column (1) blocks, and each column (1) block spans 1024 columns (1). Each BrtRowHdr (section 2.4.770) record contains an array of BrtColSpan (section 2.5.9) structures that specifies the column (1) blocks in that row that have non-empty cells, where a non-empty cell is a cell that contains data, individual cell formatting, metadata, or phonetic information. Formatting information for a cell can be derived from individual cell formatting, row formatting, column (1) formatting, or the default cell format as specified by the Normal Style (section 2.2.6.1.2.2). The order of precedence for formatting is individual cell formatting with the highest precedence, followed by row formatting, and then column (1) formatting, and lastly the default cell format.
Cells are specified by BrtCellBlank (section 2.4.319), BrtCellRk (section 2.4.327), BrtCellError (section 2.4.321), BrtCellBool (section 2.4.320), BrtCellReal (section 2.4.326), BrtCellSt (section 2.4.330), BrtCellIsst (section 2.4.324), BrtFmlaString (section 2.4.687), BrtFmlaNum (section 2.4.686), BrtFmlaBool (section 2.4.684), BrtFmlaError (section 2.4.685), or BrtCellRString (section 2.4.328) records. Each of these records contains a Cell (section 2.5.10) structure that specifies which column (1) the cell belongs to.
89 / 1118
[MS-XLSB] - v20251113
Excel (.xlsb) Binary File Format
Copyright © 2025 Microsoft Corporation
Release: November 13, 2025
The sequence of records that conform to the CELLTABLE rule (defined in section 2.1.8) begin with the BrtBeginSheetData (section 2.4.201) record, followed by the first BrtRowHdr (section 2.4.770) representing the first non-empty row. The BrtRowHdr is followed by records representing every non- empty cell in that row in column (1)-major order, including any of the records in the CELL rule (defined in section 2.1.8). This series of records is repeated for every non-empty row and non-empty cell, and ends with the BrtEndSheetData (section 2.4.554) record.
A cell in the cell table is referred to by its row and column (1) indexes, which are zero-based. The maximum row index is 1048575; the maximum column (1) index is 16383. The bounding box of the actual non-empty cells is stored in the BrtWsDim (section 2.4.872) record. Information pertaining to each column (1) is specified in the COLINFOS collection (section 2.1.8).
2.2.1.1 Retrieval of Last-Calculated Cell Values Without Loading Cell Table
The only way to retrieve formulas, formats and other cell data is to read the cell table normally as defined previously. However, in certain situations (for example when resolving external references to values) it is beneficial to retrieve only the last calculated value from a cell, without actually loading the cell table. For this reason, a binary index exists within the file that specifies data used to improve the performance of a random read access to the cell table (section 2.2.1) data in a worksheet (section 2.1.7.62) part or macro sheet (section 2.1.7.32) part. To find a position of a particular cell within a file, an application can perform the following steps:
-
Open the worksheet binary index (section 2.1.7.63) part or the macro sheet binary index part (section 2.1.7.33) that corresponds to the sheet to which the cell belongs.
-
Read BrtIndexBlock (section 2.4.696) records to find one such that the zero-based cell row is greater than or equal to rwMic and less than rwMac.
-
If no such BrtIndexBlock record exists, then the row has no data or formatting.
-
Read a BrtIndexRowBlock (section 2.4.699) record that immediately follows this BrtIndexBlock record, and compute the data offset according to the description of the BrtIndexRowBlock record.
-
Open the corresponding Worksheet part (section 2.1.7.62) or macro sheet part (section 2.1.7.32).
-
Read cell table (section 2.2.1) data starting from the previously computed position to find the cell record for the target cell.
-
If the end of the row in the cell table (section 2.2.1) or a record whose column (1) is greater than the column (1) of the target cell is reached, then the cell is blank and has no formatting.
2.2.2 Formulas
A formula is sequence of values, cell references, names, functions, or operators in a cell that together produce a new value. Formulas are stored in a tokenized representation known as a parsed expression. In this section, formula is a synonym for parsed expression. A parsed expression is converted into a textual formula at runtime for display and user editing. Cell formulas are specified by the BrtFmlaBool (section 2.4.684), BrtFmlaError (section 2.4.685), BrtFmlaNum (section 2.4.686) and BrtFmlaString (section 2.4.687) records. Array formulas are specified by the BrtArrFmla (section 2.4.6) record. Shared formulas are specified by the BrtShrFmla (section 2.4.796) record.
Formulas that are part of a revision as specified in the Shared Workbooks (section 2.2.12) overview are specified by the rgce.rgce field or the rgceOld.rgce field of the BrtRRDefName (section 2.4.774) record, or by the sequence of records that conform to the CELL rule (defined in section 2.1.7.44) in the BrtRRChgCell (section 2.4.772) collection.
90 / 1118
[MS-XLSB] - v20251113
Excel (.xlsb) Binary File Format
Copyright © 2025 Microsoft Corporation
Release: November 13, 2025
A parsed expression contains a sequence of parse tokens, each of which is either an operand token (section 2.2.2.2), an operator token (section 2.2.2.1), a control token (section 2.2.2.3), a display token (section 2.2.2.4), or a mem token (section 2.2.2.5). All tokens are stored as Parse Things (section 2.5.98.16).
With the exception of control tokens, display tokens and mem tokens that are described in subsequent sections, parsed expressions are stored in an Rgce (section 2.5.98.88) structure using Reverse-Polish notation. Reverse-Polish notation is a logical system for the specification of mathematical formulas in which operands are followed by operators. Inside an Rgce, the operands and operators are represented by an array of Ptg (section 2.5.98.16) structures of variable lengths. The first one or two bytes of a Ptg structure contain the token type that determines which specific Ptg type the Ptg is, as specified in the Ptg structure. The remainder of the structure varies according to the token type.
Evaluation of a formula specified in Reverse-Polish notation is usually based around an evaluation stack. The expression is parsed from beginning to end, and operands are pushed onto the stack as they are encountered. When operators are encountered, the required number of operands is popped from the stack and the result of the operation is pushed back onto the stack. Evaluation begins with an empty stack, and when the evaluation is finished, there will be exactly one value left on the stack. The value is the result of the evaluation. Subsequent subsections refer to a stack as described by this model.
2.2.2.1 Operator Tokens
Unary Operator Tokens
Unary operator tokens specify operations that are performed on the previous element in the grammar specified by Rgce (section 2.5.98.88). For example, PtgPercent (section 2.5.98.65) divides the last expression on the stack by 100.
Binary Operator Tokens
Binary operator tokens specify operations that are performed on the previous two elements in the grammar specified by Rgce (section 2.5.98.88). For example, PtgIsect (section 2.5.98.50) intersects the topmost two expressions on the stack.
2.2.2.2 Operand Tokens
Operand tokens represent values and references that are used by operators and functions. Operands fall into one of two classes, reference class (section 2.2.2.2.2) or value class (section 2.2.2.2.1), depending on what result type the formula expects from the operand.
2.2.2.2.1 Value Class
The value class operand is the most common type of operand, and represents a single value or array of values. When Ptgs (section 2.5.98.16) with reference contents are used by an operator that requires value class operands, the Ptgs can be stored as value class operands rather than reference class (section 2.2.2.2.2) operands. For example, in a formula where the contents of A1 is added to the integer value 1, the value of cell A1 is pushed onto the stack as a value class operand PtgRef (section 2.5.98.68) because the subsequent PtgAdd (section 2.5.98.17) operator requires value class operands. Arrays are stored in a similar fashion. For example, when adding the array of values {1,2,3,4,5,6}, the values are stored in a PtgArray (section 2.5.98.23) operand.
2.2.2.2.2 Reference Class
When operands are stored as reference class operands, any references contained in the operand are not de-referenced and do not return the underlying value or values. They are pushed onto the stack in reference form.
91 / 1118
[MS-XLSB] - v20251113
Excel (.xlsb) Binary File Format
Copyright © 2025 Microsoft Corporation
Release: November 13, 2025
2.2.2.3 Control Tokens
Control tokens do not perform operations or push values onto the stack. Conditional control tokens PtgAttrIf (section 2.5.98.27), PtgAttrChoose (section 2.5.98.25), PtgAttrIfError (section 2.5.98.28), and PtgAttrGoTo (section 2.5.98.26) are used at runtime to prescribe short-circuit evaluation inside conditional functions and can be ignored when converting parsed expressions into textual formulas.
2.2.2.4 Display Tokens
Display tokens, such as control tokens, do not perform operations or push values onto the stack. Display tokens PtgParen (section 2.5.98.64) and PtgAttrSpace (section 2.5.98.30) are used at runtime to represent parentheses and space characters in a formula when parsed expressions are converted into textual formulas. Display tokens do not affect the order of operations of the formula.
2.2.2.5 Mem Tokens
Mem tokens have two purposes: they cache the results of reference class (section 2.2.2.2.2) expressions and they can return the results of reference class expressions as value class (section 2.2.2.2.1) expressions. Mem tokens act on binary-reference-expressions (section 2.5.98.88) that follow them in a mem-area-expression (section 2.5.98.88).
2.2.2.6 Formula Elements
Some Ptgs (section 2.5.98.16) require extra data that is not stored in the Rgce (section 2.5.98.88). When an Rgce contains one or more of these Ptgs, the containing formula structure includes an RgbExtra (section 2.5.98.87) containing the data for those Ptgs. The size of these components is specified by the RgbExtra structures. The Ptgs do not contain an offset into the RgbExtra for their data. The Ptgs that require a corresponding structure in RgbExtra are specified in RgbExtra.
2.2.3 Charts
2.2.3.1 Chart Part
A chart part is specified in [ISO/IEC29500-1:2016] section 14.2.1. The content associated with this part is specified in [ISO/IEC29500-1:2016] section 21.2.
2.2.3.2 Pivot Chart
A pivot chart is a specific type of chart part (section 2.2.3.1) that uses a PivotTable (section 2.2.5) as its data source.
2.2.4 Metadata
Metadata is additional data associated with a particular cell or its content.
All metadata information is located in the metadata part (section 2.1.7.34), within the BrtBeginMetadata (section 2.4.112) and BrtEndMetadata (section 2.4.466) records.
92 / 1118
[MS-XLSB] - v20251113
Excel (.xlsb) Binary File Format
Copyright © 2025 Microsoft Corporation
Release: November 13, 2025
Figure 1: Metadata
The following sections define terms used in the previous figure.
2.2.4.1 Metadata Types
The architecture of metadata allows for multiple types of metadata.
Each type of metadata has a metadata store (section 2.2.4.4) inside the metadata part (section 2.1.7.34), a unique name, and a set of predefined properties. Those properties describe whether the
93 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
metadata propagates with the cell or its content during runtime operations (for example, insert, shift, copy/paste, merge, or unmerge operations), as well as whether the metadata is cell metadata (section 2.2.4.2) or value metadata (section 2.2.4.3).
A metadata type is represented by a BrtMdtinfo (section 2.4.711) record. All metadata types are located within the BrtBeginEsmdtinfo (section 2.4.75) and BrtEndEsmdtinfo (section 2.4.429) records inside the metadata part (section 2.1.7.34).
2.2.4.2 Cell Metadata
Cell metadata is metadata associated with a cell itself. Cell metadata is associated with a cell through a BrtCellMeta (section 2.4.325) record referencing a cell metadata block (section 2.2.4.5) within the metadata part (section 2.1.7.34).
2.2.4.3 Value Metadata
Value metadata is metadata associated with the value of a particular cell. Value metadata is associated with a cell through a BrtValueMeta (section 2.4.858) record, or with an External Cell (section 2.2.7.4.1.2.1) through a BrtExternValueMeta (section 2.4.675) record. Either record references a metadata block (section 2.2.4.5) containing value metadata within the metadata part (section 2.1.7.34).
2.2.4.4 Metadata Stores
Actual metadata values are stored in metadata record stores. There are two types of metadata records stores: MDX metadata store for holding MDX metadata (section 2.2.4.8), and future metadata store for holding non-MDX metadata known as future metadata (section 2.2.4.9).
2.2.4.5 Metadata Block
Cells are associated with actual metadata values using a metadata mapping table, known as a metadata block. A metadata block contains a collection of indexes into a metadata store (section 2.2.4.4), along with the corresponding metadata types (section 2.2.4.1).
2.2.4.6 Metadata Block Stores
Metadata blocks (section 2.2.4.5) are stored within collections called metadata block stores inside the metadata part (section 2.1.7.34). There can be two of these metadata block collections: one for cell metadata (section 2.2.4.2) and another for value metadata (section 2.2.4.3).
The collection of records that specifies the metadata for a metadata block store starts with a BrtBeginEsmdb (section 2.4.74) record and ends with a BrtEndEsmdb (section 2.4.428) record. Within each collection is a set of BrtMdb (section 2.4.710) records that each specifies a metadata block.
2.2.4.7 Metadata String Store
Metadata-related text strings are assembled in a single metadata string store. The stored strings are unique, and each string can be indexed by one or more metadata records. The metadata string store is a performance optimization for reading and writing repetitive information only once. For example, a metadata string can be a connection name to an OLAP cube that is used in several cube functions in the workbook.
A metadata string is represented by a BrtStr (section 2.4.808) record. All metadata strings are located within the BrtBeginEsstr (section 2.4.77) and BrtEndEsstr section 2.4.431) records inside the metadata part.
94 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
2.2.4.8 MDX Metadata
MDX is the only defined metadata type. MDX metadata is used to maintain cached state for cube functions.
The metadata type (section 2.2.4.1) of MDX metadata MUST have the following properties:
The grbit field of the BrtMdtinfo (section 2.4.711) record MUST have the following values:
MdtFlags properties Value
fGhostRw 0
fGhostCol 0
fEdit 0
fDelete 0
fCopy 1
fPasteAll 1
fPasteFmlas 0
fPasteValues 1
fPasteFmts 0
fPasteComments 0
fPasteDv 0
fPasteBorders 0
fPasteColWidths 0
fPasteNumFmts 0
fMerge 1
fSplitFirst 1
fSplitAll 0
fRwColShift 1
fClearAll 0
fClearFmts 1
fClearContents 0
fClearComments 1
fAssign 1
fCanCoerce 1
fAdjust 0
fCellMeta 0
95 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
The metadataID field of the BrtMdtinfo (section 2.4.711) record MUST be 120000.
The stName field of the BrtMdtinfo record MUST be "XLMDX".
MDX metadata records are stored in the MDX metadata store (section 2.2.4.4). An MDX metadata record references the connection name and the cube function used to calculate the cell value.
An MDX metadata record also contains one additional record that further describes the MDX metadata record. That additional record depends on the type of cube function used, and MUST be an MDX tuple metadata (section 2.2.4.8.1) record, an MDX set metadata (section 2.2.4.8.2) record, an MDX member property metadata (section 2.2.4.8.3) record, or an MDX KPI metadata (section 2.2.4.8.4) record.
An MDX metadata record is specified by a BrtBeginMdx (section 2.4.106) record and ends with a BrtEndMdx (section 2.4.460) record. All MDX metadata records are stored in the MDX metadata store (section 2.2.4.4) specified by the BrtBeginEsmdx (section 2.4.76) record and ends with a BrtEndEsmdx (section 2.4.430) record.
2.2.4.8.1 MDX Tuple Metadata
An MDX tuple is the intersection between two or more members from different dimensions.
MDX tuple metadata is used by cube functions returning a member or a value.
MDX tuple metadata is represented within an MDX metadata (section 2.2.4.8) record as an ordered collection of members.
An MDX tuple is specified by a BrtBeginMdxTuple (section 2.4.110) record and ends with a BrtEndMdxTuple (section 2.4.464) record. Members are specified by BrtMdxMbrIstr (section 2.4.712) records.
2.2.4.8.2 MDX Set Metadata
An MDX set is an ordered collection of members within the same dimension.
MDX set metadata is used by cube functions returning a set or the number of items in a set.
An MDX set is specified by a BrtBeginMdxSet (section 2.4.109) record and ends with BrtEndMdxSet (section 2.4.463) record within an MDX metadata store (section 2.2.4.4) . Members are specified by BrtMdxMbrIstr (section 2.4.712) records.
2.2.4.8.3 MDX Member Property Metadata
An MDX member property represents the property value of a member.
MDX member property metadata references a member name and a property name.
An MDX member property is specified by a BrtBeginMdxMbrProp (section 2.4.108) record and a BrtEndMdxMbrProp (section 2.4.462) record within an MDX metadata store (section 2.2.4.4).
2.2.4.8.4 MDX KPI Metadata
An MDX key performance indicator (KPI) represents the KPI property value of a KPI member.
MDX KPI metadata references a KPI name, a KPI property, and a member name.
An MDX KPI is specified by a BrtBeginMdxKPI (section 2.4.107) record and a BrtEndMdxKPI (section 2.4.461) record within an MDX metadata store (section 2.2.4.4).
96 / 1118
[MS-XLSB] - v20251113
Excel (.xlsb) Binary File Format
Copyright © 2025 Microsoft Corporation
Release: November 13, 2025
2.2.4.9 Future Metadata
Future metadata is non-MDX metadata.
Each metadata type (section 2.2.4.1) of future metadata, inside the metadata part (section 2.1.7.34) , has its own metadata store (section 2.2.4.4) that is uniquely identified by its name and that contains future metadata records.
Each future metadata can be indexed by either a cell metadata (section 2.2.4.2) or a metadata block (section 2.2.4.5) for value metadata (section 2.2.4.3).
A future metadata is specified by a BrtBeginFmd (section 2.4.86) record and ends with a BrtEndFmd (section 2.4.440) record within a metadata store (section 2.2.4.4).
2.2.5 PivotTables
A PivotTable is a mechanism for summarizing source data (section 2.2.5.2.1) to get an overview of the distribution of that data. In a PivotTable, applicable columns (1) of the source data become fields that can be used to summarize data. In the case of using OLAP source data, OLAP hierarchies and some other OLAP entities become fields in the PivotTable.
A PivotTable has two major parts, a PivotCache (section 2.2.5.2) and a PivotTable view (section 2.2.5.3). There can be multiple PivotTable views based on a single PivotCache.
OLAP PivotTables have one PivotTable view based on a PivotCache, see section 2.2.5.3.1 for details. See section 2.2.5.2.1 for the specification of an OLAP PivotCache. See section 2.2.5.3 for the specification of an OLAP PivotTable view.
The values produced by a PivotTable are placed in cells of a sheet and these cells make up a PivotTable report.
The PivotTable structures are not needed to obtain values from a PivotTable report because those values are available in the sheet cells. The structures are needed for the following purposes:
To show extra information related to a PivotTable in an application, such as sort and filter information.
To recalculate a PivotTable view, incorporating changes made to it such as sort and filter, and update the corresponding PivotTable report accordingly.
To refresh a PivotCache, incorporating changes made to the source data (section 2.2.5.2.1), and then recalculate any PivotTable views associated with the PivotCache and update the corresponding PivotTable reports accordingly.
In addition to being used by PivotTable views, a PivotCache is used by cube functions for caching data. For details, see section 2.2.5.2 and section 2.2.5.2.11.
2.2.5.1 Data Functionality Level
A data functionality level is a number that represents a set of features and runtime behaviors in areas related to data manipulation and display, which includes PivotTable view (section 2.2.5.3), query tables and External Connections (section 2.2.8).
The data functionality level that a PivotCache (section 2.2.5.2) is created with is specified by the bVerCacheCreated field of the BrtBeginPivotCacheDef (section 2.4.168) record. The data functionality level that a PivotTable view is created with is specified by the bVerSxMacro field of the BrtBeginSXView (section 2.4.278) record.
97 / 1118
[MS-XLSB] - v20251113
Excel (.xlsb) Binary File Format
Copyright © 2025 Microsoft Corporation
Release: November 13, 2025
The following table specifies various restrictions based on the value of the bVerCacheCreated field of the BrtBeginPivotCacheDef record.
Restriction for data Restriction for data
Restriction functionality level <3 functionality level >=3 Maximum number of cache fields (section 1024 16384 2.2.5.2.2)
Maximum number of cache items (section 32500 1048576 2.2.5.2.3) of a cache field
Maximum string length of a cache item 256 32767 name
Maximum number of pivot items (section 255 2147483647 2.2.5.3.3) to show in an AutoFilter
Maximum string length of the MDX 2048 32767 formula specified by the pcdCalcMemCommon.stMdx field in the BrtBeginPCDCalcMem (section 2.4.126) record
The bVerSxMacro field of the BrtBeginSXView (section 2.4.278) record MUST be greater than or equal to 3 if and only if the bVerCacheCreated field of the BrtBeginPivotCacheDef (section 2.4.168) record is greater than or equal to 3.
2.2.5.2 PivotCache
The PivotCache contains cached information about source data (section 2.2.5.2.1). The cached information is used by PivotTable Views (section 2.2.5.3) to generate PivotTable (section 2.2.5) reports, or it is used by cube functions to display OLAP data sets and values. The same PivotCache MUST NOT be used by both a PivotTable view and a cube function. The information contained in a PivotCache includes organization, data types and the values of the source data.
The PivotCache is divided into two parts. The first part consists of the optional cache record (section 2.2.5.2.10) structures, as specified by the PivotCache record (section 2.1.7.39) part. The cache record structures represent a snapshot of the source data (section 2.2.5.2.1) and enable a PivotTable view (section 2.2.5.3) that uses a PivotCache to be recalculated without retrieving the source data. The cache record structures do not exist for OLAP source data.
The second part of a PivotCache is the set of structures that describe metadata about the source data (section 2.2.5.2.1), such as where it comes from, the data entities it has, and the unique values of those entities, as specified by the PivotCache definition (section 2.1.7.38) part.
See section 2.2.5.2.1 for the specification of an OLAP PivotCache.
2.2.5.2.1 Source Data
A PivotCache (section 2.2.5.2) can be based on four different types of source data. The type of source data is specified by the iSrcType field of the BrtBeginPCDSource (section 2.4.166) record.
When the source data type is a range, which occurs when iSrcType is equal to 0x00000000, the source data is read from a range specified by the BrtBeginPCDSRange (section 2.4.167) record. If the range specified by the BrtBeginPCDSRange record is a table then the PivotCache (section 2.2.5.2) has one cache field (section 2.2.5.2.2) for each column (1) of the table, using the column (1) header captions for cache field names, and the data region of the table as source data values, specified by cache records (section 2.2.5.2.10). If the range specified by the BrtBeginPCDSRange record is not a table then the PivotCache has one cache field for each column (1) of the range, using
98 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
the values in the first row of the range for cache field names, and all other rows are used as source data values, specified by cache records.
When the source data type is a scenario, which occurs when iSrcType is equal to 0x00000003, no new source data is available for the PivotCache (section 2.2.5.2) and the PivotCache cannot be refreshed. A snapshot of the source data might be available in the cache records.
When the source data type is multiple consolidation ranges (section 2.2.5.2.1.1), which occurs when iSrcType is equal to 0x00000002, the source data is read from one or more ranges. For more details, see section 2.2.5.2.1.1.
When the source data type is external, which occurs when iSrcType is equal to 0x00000001, the source data is read from an external data source. The dwConnID field of the BrtBeginPCDSource record specifies the associated external connection that is used to obtain data from the external data source. An external data source can either be an OLAP or non-OLAP data source.
An OLAP PivotCache (section 2.2.5.2) is specified to be a PivotCache has an associated external connection that is an OLAP connection (section 2.2.8.3.1). For an OLAP PivotCache, the source data is handled by the data provider specified by the associated OLAP connection. See OLAP Data Model (section 2.2.5.4) for more information. An OLAP PivotCache MUST NOT have cache records (section 2.2.5.2.10).
For a non-OLAP PivotCache the source data is a rectangular set of data and the PivotCache has one cache field (section 2.2.5.2.2) for each column (1) of data, using the source field names for cache field names, and the rows of the source data as data values, specified by cache records.
When a pivot field (section 2.2.5.3.2) is on the page axis (section 2.2.5.3.7.1) of the PivotTable view (section 2.2.5.3), it is a server-based page field if the fServerBased field of the BrtBeginSXVD (section 2.4.273) record is equal to 1 and the fServerBased field of the associated BrtBeginPCDField (section 2.4.136) record is equal to 1. A server-based page field is a pivot field on the page axis (section 2.2.5.3.7.1) that causes the query that is used to retrieve source data for populating the PivotCache to be parameterized. The query is parameterized according to the page filter criteria, as specified in section 2.2.5.3.7.1. This feature can only be used for a PivotCache with ODBC external source data.
2.2.5.2.1.1 Multiple Consolidation Ranges
A multiple consolidation ranges PivotCache (section 2.2.5.2) is used for summarizing multiple ranges containing source data in cross-tab format. Each range is specified by the rfx field or the irstName field of the BrtBeginPCDSCSet (section 2.4.154) record. The sequence of records that conform to the PCDSCONSOL rule (defined in section 2.1.7.38) specify information that only exists for a multiple consolidation ranges PivotCache.
An example of a range in cross-tab format is illustrated in the following figure. The first column (1) of the range contains names of sales people (George and Allan). The first row in the range contains product groups (Cars and Bikes) and the rest of the cells in the range contain numeric values representing how many products in a certain product group that each sales person sold.
Figure 2: Example of a range in cross-tab format
A multiple consolidation ranges PivotCache (section 2.2.5.2) is used to summarize multiple cross-tab ranges as illustrated in the next figure which shows eight cross-tab ranges.
99 / 1118
[MS-XLSB] - v20251113
Excel (.xlsb) Binary File Format
Copyright © 2025 Microsoft Corporation
Release: November 13, 2025
Figure 3: Example of eight ranges in cross-tab format
The values in the first column (1) of each range are used to create a cache field (section 2.2.5.2.2) with the default name "Row" (or corresponding localized name); each cache item (section 2.2.5.2.3) of this cache field corresponds to one of the values in the first column (1) of the ranges, eliminating duplicates. This cache field is the first cache field in the BrtBeginPCDFields (section 2.4.137) collection.
The values in the first row of each range are used to create a cache field with the default name "Column" (or corresponding localized name); each cache item of this cache field corresponds to one of the values in the first row of the ranges, eliminating duplicates. This cache field is the second cache field in the BrtBeginPCDFields collection.
The values in all other cells of each range are used to create a cache field with the default name "Value" (or corresponding localized name); each cache item of this cache field corresponds to one of the values in the ranges that are not in the first column (1) or first row, eliminating duplicates. This cache field is the third cache field in the BrtBeginPCDFields collection.
Up to four additional cache fields can optionally exist with the default names "Page1", "Page2", "Page3" and "Page4" (or corresponding localized names). The number of optional cache fields created
100 / 1118
[MS-XLSB] - v20251113
Excel (.xlsb) Binary File Format
Copyright © 2025 Microsoft Corporation
Release: November 13, 2025
is user defined and is equal to the cPages field of the BrtBeginPCDSCPages (section 2.4.152) record. Each optional cache field corresponds to a BrtBeginPCDSCPage (section 2.4.151) record.
The first through fourth BrtBeginPCDSCPage record in the BrtBeginPCDSCPages collection corresponds to the fourth through seventh cache field in the BrtBeginPCDFields (section 2.4.137) collection and each cache item of this cache field corresponds to the BrtBeginPCDSCPItem (section 2.4.153) record in that BrtBeginPCDSCPage collection with the same index.
The rgiItem field of the BrtBeginPCDSCSet (section 2.4.154) record is an array of indexes that specifies BrtBeginPCDSCPItem (section 2.4.153) records in the PCDSCPAGE rule (defined in section 2.1.7.38). Each BrtBeginPCDSCPItem record specifies the value of a cache item associated with a range.
The first element in the rgiItem array corresponds to the first BrtBeginPCDSCPage collection in the BrtBeginPCDSCPages collection following the BrtBeginPCDSConsol (section 2.4.150) collection that precedes this record.
The second element in the rgiItem array corresponds to the second BrtBeginPCDSCPage collection in the BrtBeginPCDSCPages collection following the BrtBeginPCDSConsol collection that precedes this record.
The third element in the rgiItem array corresponds to the third BrtBeginPCDSCPage collection in the BrtBeginPCDSCPages collection following the BrtBeginPCDSConsol collection that precedes this record.
The fourth element in the rgiItem array corresponds to the fourth BrtBeginPCDSCPage collection in the BrtBeginPCDSCPages collection following the BrtBeginPCDSConsol collection that precedes this record.
Each cache record (section 2.2.5.2.10) for a multiple consolidation ranges PivotCache (section 2.2.5.2) corresponds to the intersection of a value in the first row of one of the ranges, a value in the first column (1) of one of the ranges and the set of BrtBeginPCDSCPItem records associated with that range.
The preceding example with the eight ranges and with two of the optional BrtBeginPCDSCPage records specified ("Page1" and "Page2"), corresponds to cache records as illustrated in the following table.
101 / 1118
[MS-XLSB] - v20251113
Excel (.xlsb) Binary File Format
Copyright © 2025 Microsoft Corporation
Release: November 13, 2025
Figure 4: Representation of cache records based on eight consolidation ranges
The following figure illustrates a PivotTable (section 2.2.5) report with multiple consolidation ranges and two pivot fields (section 2.2.5.3.2) on the page axis (section 2.2.5.3.7.1). The PivotTable report is based on the previous figure that illustrates eight ranges in cross-tab format and is summarizing the values from all the ranges because no manual filter (section 2.2.5.3.5) has been applied to any of the pivot fields on the page axis ("Page1" and "Page2" are both set to summarize all values).
102 / 1118
[MS-XLSB] - v20251113
Excel (.xlsb) Binary File Format
Copyright © 2025 Microsoft Corporation
Release: November 13, 2025
Figure 5: Multiple consolidation ranges PivotTable
2.2.5.2.2 Cache Fields
A cache field represents an entity by which data can be summarized. An example of such an entity is country/region. Having a country/region cache field enables users to summarize data by country/region.
Consider a PivotCache (section 2.2.5.2) based on the following source data (section 2.2.5.2.1):
Country/Region Product Date Sales
USA Bicycle 6/5/2007 500
USA Car 8/3/2007 20000
Canada Bicycle 9/2/2007 300
Canada Car 10/5/2007 35000
In this example, four cache fields exist in the PivotCache. Each cache field corresponds to one of the columns (1) in the source data: Country/Region, Product, Date and Sales.
The sequence of records that conform to the PCDFIELD rule (defined in section 2.1.7.38) specifies a cache field. A cache field is contained in a PivotCache.
The sequence of records that conform to the PCDFIELDS rule (defined in section 2.1.7.38) specifies all cache fields of the PivotCache.
A cache field index is a zero-based index of a PCDFIELD rule in the sequence of records specified by the PCDFIELDS rule.
A cache field typically corresponds to a source data column (1) or to a level of an OLAP hierarchy. However, grouping (section 2.2.5.2.4) cache fields and cache fields representing calculated fields (section 2.2.5.2.5) do not correspond to source data entities. Such cache fields are fully specified by information in the PivotCache.
The fSrcField field of the BrtBeginPCDField (section 2.4.136) record specifies whether the cache field corresponds to a source data entity. A non-OLAP PivotCache MUST have one or more cache fields corresponding to source data columns (1). An OLAP PivotCache MUST NOT have cache fields that do not correspond to source data entities.
All cache fields that do not correspond to source data entities MUST be located after cache fields that do correspond to source data entities in the sequence of records that conform to the PCDFIELDS rule.
103 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
In a non-OLAP PivotCache, a cache field corresponds to one column (1) in the source data and contains information about that column (1). The cache field name is specified by the stFldName field of the BrtBeginPCDField record. The cache field name of a cache field corresponding to a source data column (1) is derived from the name of the column (1) in the source data and is used to associate the cache field with the source data column (1).
A cache field name MUST be valid as specified by the stFldName field of the BrtBeginPCDField record.
Except for grouping (section 2.2.5.2.4) cache fields in non-OLAP PivotCaches, all cache field names MUST be unique, when using a case-insensitive comparison, within the PivotCache.
In an OLAP PivotCache, each cache field is associated with a cache hierarchy (section 2.2.5.2.7). Each cache hierarchy has an associated sequence of records that conform to the PCDHFIELDSUSAGE rule (defined in section 2.1.7.38) which specify the cache field indexes of the cache fields that are associated with that cache hierarchy. The cache hierarchy to which cache fields are associated is specified by the BrtBeginPCDHierarchy (section 2.4.146) record preceding the sequence of records that conform to the PCDHFIELDSUSAGE rule.
If a cache hierarchy (section 2.2.5.2.7) is not a measure (section 2.2.5.2.7.1) or a named set (section 2.2.5.2.7.3) there can be more than one cache field associated with it. Each cache field corresponds to an OLAP level or to a member property of the associated OLAP hierarchy in the source data (section 2.2.5.2.1). The fOlapMemPropField of the BrtBeginPCDField (section 2.4.136) record specifies whether a cache field is a member property.
2.2.5.2.2.1 Member Properties
A member property is the PivotTable (section 2.2.5) representation of an OLAP member property. Member properties can have properties that are associated with the PivotCache (section 2.2.5.2) and a PivotTable view (section 2.2.5.3).
A member property is associated with one OLAP member property of the OLAP hierarchy specified by the associated cache hierarchy (section 2.2.5.2.7) of the member property.
A member property can be associated with a cache field (section 2.2.5.2.2) and a pivot field (section 2.2.5.3.2). The fOlapMemPropField field of the BrtBeginPCDField (section 2.4.136) record of a cache field specifies whether a cache field is a member property cache field. The associated pivot field of a member property cache field is a member property pivot field.
A member property with an associated member property cache field and member property pivot field is associated with the cache hierarchy (section 2.2.5.2.7) and pivot hierarchy (section 2.2.5.3.4) of the associated member property cache field and member property pivot field.
If a member property is associated with a member property cache field, the association of the member property and an OLAP member property is specified by the stFldName field of the BrtBeginPCDField record of the member property cache field, which specifies the MDX unique name of the OLAP member property.
An association between a member property and a cache field or pivot field is not required. If the value of the isxvd field of the BrtBeginSXTDMP (section 2.4.262) record for a member property is -1, then the member property is not associated with any cache field or pivot field. Such a member property is not displayed on the row axis or column (1) axis. A member property that is not associated with any cache field is associated with the pivot hierarchy that contains the member property, and with the cache hierarchy associated with the pivot hierarchy. If a member property is not associated with a cache field, the association between the member property and an OLAP member property is specified by the irstProperty field of the BrtBeginSXTDMP record specifying the unique name of the OLAP member property.
104 / 1118
[MS-XLSB] - v20251113
Excel (.xlsb) Binary File Format
Copyright © 2025 Microsoft Corporation
Release: November 13, 2025
If the value of the bVerSxMacro field of the BrtBeginSXView (section 2.4.278) record of the PivotTable view (section 2.2.5.3) containing the member property is less than 3, BrtSXTDMPOrder (section 2.4.830) records MUST NOT be present in the PivotTable view. If the value of the bVerSxMacro field of the BrtBeginSXView (section 2.4.278) record of the PivotTable view containing the member property is greater than or equal to 3, BrtBeginSXTDMP records MUST NOT be present in the PivotTable view. The isxvd field of a BrtSXTDMPOrder record MUST refer to the member property pivot field associated with the pivot hierarchy (section 2.2.5.3.4) that contains the BrtSXTDMPOrder record.
A member property pivot field (section 2.2.5.3.2) can be shown only in the row area or column (1) area of a PivotTable view. A member property pivot field can only be shown after the last visible OLAP level of the corresponding pivot hierarchy. The order of member property pivot fields shown in the PivotTable view is the same as the order of member properties in the BrtBeginSXTDMP (section 2.4.262) collection of the corresponding pivot hierarchy, as specified by the SXTDMPS rule in the PivotTable (section 2.1.7.40) part ABNF.
2.2.5.2.3 Cache Items
Cache items represent specific instances of the entities represented by cache fields (section 2.2.5.2.2). For example, an instance of a Country/Region cache field might be the USA cache item. Having a USA cache item in the Country/Region cache field enables the associated PivotTable view (section 2.2.5.3) to display data by USA.
Each cache item specifies a value and a type. In some cases, a cache item can have additional information associated with it as well.
A cache item is contained in a cache field. A cache field can have zero cache items if the cache field is not in use in the PivotTable view.
A cache item index can be used to reference a cache item within the cache field. Referencing a cache item by index requires an implicit or explicit reference to that cache field because a cache item collection is associated with a specific cache field. A cache field can be referenced by a cache field index, as specified in section 2.2.5.2.2.
If the records that specify the cache field include a sequence of records that conform to the PCDFATBL rule (defined in section 2.1.7.38), then the records that conform to the PCDFATBL rule specify the raw cache items of the cache field.
If the records that specify the cache field include a sequence of records that conform to the PCDFGITEMS rule (defined in section 2.1.7.38), then the records that conform to the PCDFGITEMS rule specify the grouping (section 2.2.5.2.4) cache items of the cache field. These are used for some grouping cache fields in non-OLAP PivotCaches (section 2.2.5.2).
If there are no grouping cache items but there are raw cache items, the cache item index is a zero- based index into the raw cache items.
If there are grouping cache items, then the cache item index is a zero-based index into the grouping cache items.
For raw cache items (records in PCDFATBL), each raw cache item is specified by one of the following:
A record that conforms to the PCDI rule (defined in section 2.1.7.38), excluding the records
specified by the sequence of records that conform to the PCDIRUN rule (defined in section
2.1.7.38).
A record that conforms to the PCDIA rule (defined in section 2.1.7.38). These raw cache
items have additional information.
An entry in the rgPCDINumber, rgPCDIString, rgPCDIError or rgPCDIDatetime fields of
the BrtBeginPCDIRun (section 2.4.147) record.
105 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
There can be multiple entries of source data (section 2.2.5.2.1) that have the same combination of value and type for a cache field (section 2.2.5.2.2). Each raw cache item within a cache field MUST have a unique combination of value and type.
For grouping cache items (records in PCDFGITEMS (section 2.1.7.38), each grouping cache item is specified by one of the following:
A PCDI rule (defined in section 2.1.7.38), excluding the records specified by the PCDIRUN rule (defined in section 2.1.7.38).
An entry in the rgPCDINumber, rgPCDIString, rgPCDIError or rgPCDIDatetime fields of the BrtBeginPCDIRun record.
A BrtBeginPCDIRun record specifies multiple sequential cache items of the same type and is used to reduce file size.
A grouping (section 2.2.5.2.4) cache field MUST have grouping cache items.
A grouping cache field with the fSrcField field of the BrtBeginPCDField (section 2.4.136) record of the cache field equal to 1 MUST have raw cache items.
A cache field that is not a grouping cache field MUST NOT have grouping cache items.
If there are one or more references by index to cache items of a particular cache field, that cache field MUST have cache items.
For an OLAP PivotCache (section 2.2.5.2) , a measure (section 2.2.5.2.7.1) cache field associated with a cache hierarchy (section 2.2.5.2.7) MUST NOT have cache items.
For an OLAP PivotCache, a cache item with a string value specifies the unique name of an OLAP member, unless the cache field is a member property cache field.
Raw cache items can contain unused cache items, each specified by a sequence of records that conform to the PCDIA rule. Unused cache items are values that did not exist in the source data (section 2.2.5.2.1) when the PivotCache was last refreshed, but existed when the PivotCache was refreshed previously. The PivotCache can retain such unused cache items to preserve information associated with them to reapply that information if the value corresponding to the cache item is added back to the source data. The fGhost field of the PCDIAddlInfo (section 2.5.100) structure specifies whether a cache item is unused.
The following example shows cache items and their association with source data.
Consider a PivotCache based on the following source data table:
Country/Region Product Date Sales
USA Bicycle 6/5/2007 500
USA Car 8/3/2007 20000
Canada Bicycle 9/2/2007 500
Canada Car 10/5/2007 35000
Four cache fields exist, and each one corresponds to one of the columns (1): Country/Region, Product, Date, and Sales. Each of the four cache fields can have cache items corresponding to the unique values in the source data columns (1) as illustrated in the following tables.
106 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
Cache items for the Country/Region cache
field
Canada
USA
Cache items for the Product cache field
Bicycle
Car
Cache items for the Date cache field
6/5/2007
8/3/2007
9/2/2007
10/5/2007
Cache items for the Sales cache field
500
20000
3500
2.2.5.2.4 Grouping
Grouping is used to combine a set of cache items (section 2.2.5.2.3) into a group. There are three different types of grouping: numeric grouping, date grouping, and discrete grouping. Numeric grouping combines numeric cache items into ranges of values. Date grouping combines date cache items into date ranges. Discrete grouping combines specifically selected cache items into groups.
The cache field (section 2.2.5.2.2) that contains the cache items (section 2.2.5.2.3) that are to be grouped is called the base cache field. The resultant cache field that contains the groups of cache items is called the parent grouping cache field. Each group of cache items in the base cache field is associated with a single cache item in the parent grouping cache field. Often cache items in parent grouping cache fields can be further grouped, creating a hierarchy of parent grouping cache fields. The base cache field is at the lowest level of the hierarchy.
Grouping is specified by a sequence of records that conform to the PCDFGROUP rule (defined in section 2.1.7.38).
Numeric grouping and date grouping are specified by records in the PivotCache Definition part (section 2.1.7.38) that conform to the PCDFGRANGE rule (defined in section 2.1.7.38).
107 / 1118
[MS-XLSB] - v20251113
Excel (.xlsb) Binary File Format
Copyright © 2025 Microsoft Corporation
Release: November 13, 2025
Discrete grouping is specified by records in the PivotCache Definition part that conform to the PCDFGDISCRETE rule (defined in section 2.1.7.38).
A numeric grouping or date grouping cache field (section 2.2.5.2.2) is specified by the presence of a BrtBeginPCDFGRange (section 2.4.134) record following the BrtBeginPCDField (section 2.4.136) record associated with that cache field. For a numeric grouping cache field, the iByType field of the associated BrtBeginPCDFGRange record is equal to 0. For a date grouping cache field, the iByType field of the BrtBeginPCDFGRange record is greater than or equal to 1 and less than or equal to 7.
A discrete grouping cache field (section 2.2.5.2.2) is specified by the presence of a BrtBeginPCDFGDiscrete (section 2.4.132) record following the BrtBeginPCDField record associated with the cache field.
The ifdbBase field of the BrtBeginPCDFGroup (section 2.4.135) record that follows the BrtBeginPCDField record specifies a cache field index to the base cache field for a grouping cache field.
The ifdbParent field of the BrtBeginPCDFGroup record that follows the BrtBeginPCDField record specifies a cache field index to the parent grouping cache field of a grouping cache field or of a base cache field.
For numeric grouping, there is only one cache field (section 2.2.5.2.2) associated with the grouping and it serves as both the grouping cache field and the base cache field. Therefore, for a numeric grouping cache field, the ifdbBase field of the BrtBeginPCDFGroup record that follows the BrtBeginPCDField (section 2.4.136) record MUST specify a cache field index to that same BrtBeginPCDField record. For numeric grouping, the ifdbParent field of the BrtBeginPCDFGroup record MUST be -1.
For date grouping, there can be up to seven levels of grouping hierarchy. The grouping level for a cache field (section 2.2.5.2.2) is specified by the iByType field of the BrtBeginPCDFGRange record. The cache field with the lowest iByType value is at the lowest level of the hierarchy, the cache field with the next lowest iByType value is at the next lowest level of the hierarchy, and so on. See the specification of the BrtBeginPCDFGRange record for the list of levels of date grouping hierarchy. Each cache field in the hierarchy MUST have an BrtBeginPCDFGRange record with a unique iByType value.
The cache field (section 2.2.5.2.2) corresponding to the lowest level of the date grouping hierarchy serves as both a grouping cache field and the base cache field. Therefore, in the cache field corresponding to the lowest level of the date grouping hierarchy, the ifdbBase field of the BrtBeginPCDFGroup (section 2.4.135) record that follows the BrtBeginPCDField record MUST specify a cache field index to that same BrtBeginPCDField record.
The cache items (section 2.2.5.2.3) of a grouping cache field (section 2.2.5.2.2), each corresponding to a single group, are specified by the sequence of records that conform to the PCDFGITEMS rule (defined in section 2.1.7.38).
For discrete grouping, the mapping between each group in a grouping cache field (section 2.2.5.2.2) and the cache items cache items (section 2.2.5.2.3) of the base cache field that are in each group, is specified by the PCDFGDISCRETE rule (defined in section 2.1.7.38) in the following way: there MUST be one BrtPCDIIndex (section 2.4.737) record corresponding to every cache item in the cache items collection of the base cache field. Each BrtPCDIIndex record specifies a cache item in the PCDFGITEMS rule that is the parent grouping cache item of the cache item in the cache items collection for the base cache field with the same index as that BrtPCDIIndex record in the PCDFGDISCRETE rule.
The following paragraphs explain the three different types of grouping and provide examples of them.
Numeric grouping combines numeric cache items (section 2.2.5.2.3) into ranges. For example, consider the following PivotTable report where the number of people (represented by "Count of Name") of a certain age are listed.
108 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
Figure 6: PivotTable report with ages
Analysis of specific ages might not be particularly meaningful. Instead, looking at age groups can be more interesting. The following PivotTable (section 2.2.5) report shows numeric grouping applied to the "Age" cache field (section 2.2.5.2.2). In this example, the numeric grouping is set to start at 0, end at 100 and have groups of 20 years.
Figure 7: PivotTable report with age groups
Date grouping is similar to numeric grouping and is used to group cache items (section 2.2.5.2.3) into date ranges.
One to seven grouping cache fields (section 2.2.5.2.2) can exist when date grouping is applied to a cache field, each corresponding to a different level of detail of date and time information. The cache field to which the date grouping is originally applied is included in the set of grouping cache fields and is considered the base cache field of the grouping cache fields. For date grouping, the base cache field represents the lowest level of the date grouping hierarchy. The following levels of detail of date information are available, each corresponding to one cache field:
Years
Quarters
Months
Days
109 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
Hours
Minutes
Seconds
For example, consider the following PivotTable report where the number of sales is listed for each individual date.
Figure 8: PivotTable report with dates
110 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
This information could be too granular for some analytical purposes. With date grouping, a more useful higher level summary can be created. The following PivotTable report shows the result of applying date grouping to the "Date" cache field (section 2.2.5.2.2) and including two levels of grouping ("Years" and "Quarters"). In this example, the "Quarters" cache field represents the lowest hierarchical level of date information included and is therefore the base cache field for this date grouping. The "Years" cache field is a grouping cache field with the "Quarters" cache field as its base cache field. The items "<1/1/2007" in the two cache fields represent dates before 1/1/2007, the start date specified by the xnumStart field of the BrtBeginPCDFGRange record. The items ">12/13/2008" in the two cache fields represent dates after 12/13/2008, the end date specified by the xnumEnd field of the BrtBeginPCDFGRange record.
Figure 9: PivotTable report with date groups
Discrete grouping combines specifically selected cache items (section 2.2.5.2.3) into groups. When discrete grouping is applied to a cache field (section 2.2.5.2.2), a separate grouping cache field is created and the cache field that the grouping is applied to is the base cache field for that grouping cache field. Multiple grouping cache fields can exist for one base cache field, forming a hierarchy of grouping cache fields. A grouping cache field higher in the hierarchy is considered a parent grouping cache field of the grouping cache field or base cache field immediately following it in the hierarchy. For a grouping cache field, each cache item in the cache items collection represents one group.
For example, consider the following PivotTable report listing sales by states in the United States.
111 / 1118
[MS-XLSB] - v20251113
Excel (.xlsb) Binary File Format
Copyright © 2025 Microsoft Corporation
Release: November 13, 2025
Figure 10: PivotTable report with state names
Discrete grouping can be used to group sets of states, for example, into geographical areas. The following PivotTable report shows the result of applying six groups ("Group1" through "Group6") to the cache field (section 2.2.5.2.2) representing states. The cache field representing states is considered the base cache field for the discrete grouping in this example. Each group in the example, represented by a cache item (section 2.2.5.2.3) in the grouping cache field, combines states in the same geographical area.
112 / 1118
[MS-XLSB] - v20251113
Excel (.xlsb) Binary File Format
Copyright © 2025 Microsoft Corporation
Release: November 13, 2025
Figure 11: PivotTable report with state groups
113 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
2.2.5.2.5 Calculated Fields
Calculated fields allow users to add calculations to a PivotTable (section 2.2.5) report. For example, if a PivotTable report contains values for sales and cost by products but no profit values, a calculated field with the formula "=sales-cost" can be added so that profit values are calculated and can be analyzed in the PivotTable report.
A calculated field is a cache field (section 2.2.5.2.2) that does not correspond to a column (1) in the source data (section 2.2.5.2.1). The values for a calculated field are calculated based on the formula specified for the calculated field. A calculated field is specified by the fLoadFmla field of the BrtBeginPCDField (section 2.4.136) record being equal to 1. The formula is specified by the fldFmla field of the BrtBeginPCDField record.
The sequence of records that conforms to the PNAMES rule (defined in section 2.1.7.38) specifies any cache field (section 2.2.5.2.2) referenced by the formula.
For calculated fields, the fSrcField record of the BrtBeginPCDField record MUST be 0.
A pivot field (section 2.2.5.3.2) associated with a calculated field MUST NOT appear on the row axis, column (1) axis or page axis (section 2.2.5.3.7.1) of a PivotTable view (section 2.2.5.3).
An OLAP PivotCache (section 2.2.5.2) MUST NOT have calculated fields.
2.2.5.2.6 Calculated Items
Calculated items allow users to add cache items (section 2.2.5.2.3) to a cache field (section 2.2.5.2.2) that do not exist in a column (1) in the source data (section 2.2.5.2.1). For example, consider a PivotTable report displaying sales for all four quarters of 2007. If there are no source data rows for sales in 2008, a calculated item can be used to add an additional cache item as a calculated item that calculates the projected sales for the first quarter of the year 2008 as being 25% higher than the sales for the fourth quarter of 2007. The following figure illustrates a PivotTable report with such a calculated item ("2008 Q1 projected").
Figure 12: PivotTable report with calculated item
A calculated item is a cache item (section 2.2.5.2.3) that does not correspond to values in the source
data (section 2.2.5.2.1). The values for a calculated item are calculated based on the formula specified
for the calculated item. The fFmla field of the PCDIAddlInfo (section 2.5.100) record specifies if a
cache item specified by the PCDIA rule (defined in section 2.1.7.38) is a calculated item.
The sequence of records that conforms to the PCDCALCITEMS rule (defined in section 2.1.7.38)
specifies the calculations for all calculated items of a PivotCache. Each PCDCALCITEM rule (defined
in section 2.1.7.38) in the sequence of records that conforms to the PCDCALCITEMS rule specifies
one calculation for a specific calculated item. Each calculated item can have multiple calculations
associated with it and in that case, there are multiple elements in the PCDCALCITEMS rule
114 / 1118
[MS-XLSB] - v20251113
Excel (.xlsb) Binary File Format
Copyright © 2025 Microsoft Corporation
Release: November 13, 2025
corresponding to the same calculated item. The calculated item that a calculation is associated with is specified by the sequence of records that conforms to the PIVOTRULE rule (defined in section 2.1.8) in the PCDCALCITEM rule. The PIVOTRULE rule can also specify additional scoping information; for example, if one calculation for a calculated item named "2008 Q1 projected" only applies to the "Cars" product group, the PIVOTRULE rule (defined in section 2.1.8) will specify the cache field (section 2.2.5.2.2) corresponding to "product group" and the cache item (section 2.2.5.2.3) corresponding to "Cars".
The fmla field of the BrtBeginPCDCalcItem (section 2.4.124) record specifies the formula that is used for a calculation.
Any cache field (section 2.2.5.2.2) and associated cache items (section 2.2.5.2.3), or pivot fields (section 2.2.5.3.2) and associated pivot items (section 2.2.5.3.3) , that are referenced by the formula of a calculation are specified by the sequence of records that conforms to the PNAMES rule (defined in section 2.1.7.38) in each PCDCALCITEM rule (defined in section 2.1.7.38).
An OLAP PivotCache (section 2.2.5.2) MUST NOT have calculated items (section 2.2.5.2.6).
2.2.5.2.7 Cache Hierarchies
A cache hierarchy corresponds to one of the following entities in the OLAP source data (section 2.2.5.2.1) associated with an OLAP PivotCache (section 2.2.5.2):
OLAP hierarchy
OLAP measure
OLAP named set
OLAP key performance indicator (KPI)
Cache hierarchies are only present in OLAP PivotCaches and MUST NOT exist in a non-OLAP PivotCache.
The sequence of records that conforms to the PCDHIERARCHY rule (defined in section 2.1.7.38) specifies a cache hierarchy that corresponds to an OLAP hierarchy, an OLAP measure or an OLAP named set, as specified in the following table.
fMeasure field of BrtBeginPCDHierarchy fSet field of BrtBeginPCDHierarchy Meaning 0 0 OLAP hierarchy 0 1 OLAP named set 1 0 OLAP measure
The sequence of records that conforms to the PCDKPI rule (defined in section 2.1.7.38) specifies a cache hierarchy that corresponds to an OLAP KPI.
The association between a cache hierarchy and the corresponding OLAP entity in the OLAP source data (section 2.2.5.2.1) is specified by the stUnique field of the BrtBeginPCDHierarchy (section 2.4.146) record or by the stUnique field of the BrtBeginPCDKPI (section 2.4.148) record.
For a cache hierarchy that corresponds to an OLAP hierarchy, OLAP measure or OLAP named set, the cache hierarchy index is the zero-based index of a BrtBeginPCDHierarchy record in the BrtBeginPCDHierarchies (section 2.4.145) collection.
For a cache hierarchy that corresponds to an OLAP KPI, the cache hierarchy index is the n-based index of a BrtBeginPCDKPI record in the BrtBeginPCDKPIs (section 2.4.149) collection, where n is the number of BrtBeginPCDHierarchy records in the BrtBeginPCDHierarchies collection, as specified in section 2.1.7.38.
115 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
A cache field (section 2.2.5.2.2) can be associated with a cache hierarchy as specified by the ihdb field of the BrtBeginPCDField (section 2.4.136) record of the cache field.
A cache hierarchy that corresponds to an OLAP hierarchy represents one or more OLAP levels related via hierarchical relationships. For example, an OLAP hierarchy consisting of country/region, province, and city can be used to summarize national/regional, area, and municipal sales data. For a cache hierarchy that corresponds to an OLAP hierarchy, and is not a single field page hierarchy, each cache field (section 2.2.5.2.2) associated with the cache hierarchy corresponds to an OLAP level of the OLAP hierarchy or is a member property cache field.
A single field page hierarchy is a cache hierarchy that corresponds to an OLAP hierarchy in a PivotCache (section 2.2.5.2) that has a bVerCacheCreated field of the BrtBeginPivotCacheDef (section 2.4.168) less than 3 and has a PivotTable view (section 2.2.5.3) that has the associated pivot hierarchy (section 2.2.5.3.4) on the page axis (section 2.2.5.3.7.1). For a single field page hierarchy a single cache field is associated with the cache hierarchy.
2.2.5.2.7.1 Measures
A measure cache hierarchy is a cache hierarchy (section 2.2.5.2.7) that is associated with an OLAP measure. The fMeasure field of the BrtBeginPCDHierarchy (section 2.4.146) record specifies if a cache hierarchy (section 2.2.5.2.7) is a measure cache hierarchy. An OLAP measure MUST NOT have more than one cache field (section 2.2.5.2.2) associated with it. A pivot hierarchy (section 2.2.5.3.4) corresponding to a measure cache hierarchy MUST NOT be located on the row axis, column (1) axis or page axis (section 2.2.5.3.7.1).
If a pivot field (section 2.2.5.3.2) associated with a pivot hierarchy corresponding to a measure cache hierarchy appears on the data axis (section 2.2.5.3.7.5) more than once, data items (section 2.2.5.3.7.5.1) that specify that pivot field after the first data item that specifies that pivot field MUST contain a BrtSXDI14 (section 2.4.826) record with an isxvd field greater than or equal to 0.
2.2.5.2.7.2 KPIs
A key performance indicator (KPI) cache hierarchy (section 2.2.5.2.7) is a cache hierarchy that is associated with an OLAP KPI. A KPI cache hierarchy includes the four main components of an OLAP KPI; value, goal, status and trend. KPI cache hierarchies are specified by the BrtBeginPCDKPI (section 2.4.148) record as specified by the sequence of records that conform to the PCDKPI rule in section 2.1.7.38.
2.2.5.2.7.3 Named Sets
A named set cache hierarchy (section 2.2.5.2.7) is a cache hierarchy that is associated with an OLAP named set. The fSet field of the BrtBeginPCDHierarchy (section 2.4.146) record specifies if a cache hierarchy (section 2.2.5.2.7) is a named set cache hierarchy. An OLAP named set MUST NOT have more than one cache field (section 2.2.5.2.2) associated with it. A pivot hierarchy (section 2.2.5.3.4) corresponding to a named set cache hierarchy MUST NOT be located on the data axis (section 2.2.5.3.7.5) or page axis (section 2.2.5.3.7.1).
2.2.5.2.8 OLAP Grouping
Grouping in an OLAP PivotCache (section 2.2.5.2) is the associating of multiple OLAP members that belong to the same OLAP level of an OLAP hierarchy and have the same OLAP member parent. When OLAP members in a particular OLAP level are grouped, a parent grouping OLAP level exists. Each group is represented in the parent grouping OLAP level by one parent grouping OLAP member, and one or more child OLAP members in the OLAP level that the grouping is applied to.
The sequence of records that conforms to the PCDHGLEVELS rule (defined in section 2.1.7.38) specifies grouping for the associated cache hierarchy (section 2.2.5.2.7), which MUST be associated with an OLAP hierarchy. Each sequence of records that conforms to the PCDHGLEVEL rule (defined in
116 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
section 2.1.7.38) specifies a grouping for one OLAP level with the same zero-based ordinal as the zero-based index of the PCDHGLEVEL rule in the PCDHGLEVELS rule.
The set of groups for one OLAP level is specified by a sequence of records that conforms to the PCDHGLGROUPS rule (defined in section 2.1.7.38) in the PCDHGLEVEL rule (defined in section 2.1.7.38). Each individual group is specified by a sequence of records that conforms to the PCDHGLGROUP rule (defined in section 2.1.7.38) in the PCDHGLGROUPS rule. The set of OLAP members for a group is specified by the sequence of records that conforms to the PCDHGLGMEMBERS rule (defined in section 2.1.7.38) within a PCDHGLGROUP rule. Membership in the group is specified by the sequence of records that conforms to the PCDHGLGMEMBER rule (defined in section 2.1.7.38) within the PCDHGLGMEMBERS rule.
2.2.5.2.9 OLAP Calculated Members
A calculated member is specified by the sequence of records that conform to the PCDCALCMEM rule (defined in section 2.1.7.38) and is used to create an OLAP calculated member or an OLAP named set with an associated user-specified MDX expression for a custom calculation.
The pcdCalcMemCommon.stMdx field in the BrtBeginPCDCalcMem record specifies the user- specified MDX expression.
The pcdCalcMemCommon.fSet field in the BrtBeginPCDCalcMem record specifies whether the associated calculated member creates an OLAP named set or an OLAP calculated member.
If the user-specified MDX expression associated with a calculated member defines an OLAP measure, then this calculated member will be associated with a measure cache hierarchy as specified in section 2.2.5.2.7.1.
If the user-specified MDX expression associated with a calculated member specifies an OLAP member in an OLAP hierarchy other than the OLAP measure hierarchy, then this calculated member can only be associated with a cache item (section 2.2.5.2.3).
If a calculated member specifies an OLAP named set, then this calculated member is associated with a named set cache hierarchy as specified in section 2.2.5.2.7.3.
If a collection of a OLAP calculated member is associated with an external connection that is not associated with a PivotCache (section 2.2.5.2), this collection is specified by the sequence of records that conform to the PCDCALCMEMSEXT rule (defined in section 2.1.8).
The extended properties of a calculated member are specified by the sequence of records that conform to the FRTPCDCALCMEM rule (defined in section 2.1.7.38). This sequence of records is present in the file if at least one of the following conditions is satisfied:
-
The named set is defined by an OLAP named set array.
-
The named set has a display folder specified.
-
The MDX expression is longer than 32765 characters.
-
Each member from a different level of the same cache hierarchy (section 2.2.5.2.7) of this named set (section 2.2.5.2.7.3) is displayed in a separate pivot field (section 2.2.5.3.2).
-
This named set is automatically ordered and has duplicate tuples removed.
2.2.5.2.10 Cache Records
Cache records represent a snapshot of the source data (section 2.2.5.2.1) of a PivotCache (section 2.2.5.2) and allow for PivotTable views (section 2.2.5.3) using a PivotCache to be recalculated without retrieving the source data.
117 / 1118
[MS-XLSB] - v20251113
Excel (.xlsb) Binary File Format
Copyright © 2025 Microsoft Corporation
Release: November 13, 2025
Cache records are specified by the PivotCache Records (section 2.1.7.39) part, which contains sequences of records that conform to the PIVOTCACHERECORD rule (defined in section 2.1.7.39). Each PIVOTCACHERECORD rule specifies one cache record (section 2.2.5.2.10) and corresponds to one row in the source data. The PIVOTCACHERECORD rules each specify a sequence of values. Each of these values MUST correspond to a different cache field (section 2.2.5.2.2) as defined by the PivotCache Definition (section 2.1.7.38) part ABNF. The order of the values, corresponding to different cache fields, in each PIVOTCACHERECORD rule MUST be the same as the order of the cache fields in the collection of cache fields specified by the BrtBeginPCDFields (section 2.4.137) collection. The number of values, corresponding to different cache fields, in each PIVOTCACHERECORD rule MUST be equal to the number of BrtBeginPCDField (section 2.4.136) records, for which the fSrcField field is equal to 1, in the BrtBeginPCDFields collection.
If a pivot field (section 2.2.5.3.2) associated with a cache field (section 2.2.5.2.2) exists in the PivotTable view (section 2.2.5.3), the cache field MUST have associated cache items; if not, associated cache items (section 2.2.5.2.3) are optional.
For cache fields that have cache items, the cache items of the cache fields are referenced by an index. For sequences of records that conform to the PIVOTCACHERECORDDT (defined in section 2.1.7.39), the index is specified by the BrtPCDIIndex (section 2.4.737) record. For BrtPCRRecord (section 2.4.742) records, the index is stored in the rgb field of the BrtPCRRecord record.
For cache fields (section 2.2.5.2.2) that do not have cache items (section 2.2.5.2.3), the sequence of records that conform to a PCDIDT (defined in section 2.1.7.39) in a PIVOTCACHERECORD (defined in section 2.1.7.39) specify individual values of the corresponding source data (section 2.2.5.2.1) row. For BrtPCRRecord (section 2.4.742) records, the values of the corresponding source data row are stored in the rgb field of the BrtPCRRecord record.
An OLAP PivotCache (section 2.2.5.2) MUST NOT have cache records (section 2.2.5.2.10). Cache records are optional for a non-OLAP PivotCache.
2.2.5.2.11 Tuple Cache
An OLAP PivotCache (section 2.2.5.2) can contain cached data called a tuple cache which is used by cube functions for recalculation without accessing the data provider specified by the associated OLAP connection (section 2.2.8.3.1).
A tuple cache is specified by a sequence of records that conforms to the PCDSDTUPLECACHE rule (defined in section 2.1.7.38).
If the OLAP PivotCache contains a tuple cache, the fSheetData field in the BrtBeginPivotCacheDef (section 2.4.168) record MUST be equal to 1.
A tuple cache can contain a cache of cube values specified by a sequence of records that conforms to the PCDSDTCENTRIES rule (defined in section 2.1.7.38), a cache of cube members(specified by a sequence of records that conforms to the PCDSDTCQUERIES rule (defined in section 2.1.7.38), a cache of cube sets specified by a sequence of records that conforms to the PCDSDTCSETS rule (defined in section 2.1.7.38), and a cache of cube value server formats (specified by a sequence of records that conforms to the PCDSFCIENTRIES rule).
The sequence of records that conform to the PCDSDTCEMEMBER rule (defined in section 2.1.7.38) specifies a tuple cache entry. A tuple cache entry specifies an OLAP member or a reference to a tuple cache set. See section 2.4.156 for details.
A cache of cube values is a collection of values specified by the BrtPCDIMissing (section 2.4.738), BrtPCDINumber (section 2.4.739), BrtPCDIError (section 2.4.736), or BrtPCDIString (section 2.4.740) records. Each of these values is optionally followed by a collection of tuple cache entries specified by a sequence of records that conforms to the PCDSDTCEMEMBERS rule (defined in section 2.1.7.38), which specify the OLAP members or tuple cache sets corresponding to the value.
118 / 1118
[MS-XLSB] - v20251113
Excel (.xlsb) Binary File Format
Copyright © 2025 Microsoft Corporation
Release: November 13, 2025
A cache of cube members is specified by a sequence of records that conforms to the PCDSDTCQUERIES rule. Each of the cube members has an MDX expression, specified by the BrtBeginPCDSDTCQuery (section 2.4.161) record. Each of the BrtBeginPCDSDTCQuery records is optionally followed by a collection of tuple cache entries specified by a sequence of records that conforms to the PCDSDTCEMEMBERS rule (defined in section 2.1.7.38) corresponding to the MDX expression.
A cache of cube sets is a collection of tuple cache sets specified by a sequence of records that conforms to the PCDSDTCSETS rule (defined in section 2.1.7.38). Each tuple cache set optionally has a collection of tuple cache entries specified by a sequence of records that conform to the PCDSDTCEMEMBERS rule (defined in section 2.1.7.38) corresponding to the MDX expression specified in the BrtBeginPCDSDTCSet (section 2.4.162) record.
A cache of cube value server formats is a collection of number formats specified by the BrtPCDSFCIEntry (section 2.4.741) record.
2.2.5.3 PivotTable View
A PivotTable view is a set of structures that specify layout, filtering, sorting, and other properties. These properties are used to produce a PivotTable (section 2.2.5) report based on data from the PivotCache (section 2.2.5.2).
A PivotTable view is specified by the sequence of records that conforms to the PIVOTTABLE rule (defined in section 2.1.7.40).
An OLAP PivotTable view has an associated PivotCache (see section 2.2.5.3.1) that is an OLAP PivotCache (section 2.2.5.2).
Functionality specified by a PivotTable (section 2.2.5) view includes:
The arrangement of pivot fields (section 2.2.5.3.2) on the row axis, column (1) axis, or both to produce a PivotTable report.
Using data items (section 2.2.5.3.7.5.1) on the data axis (section 2.2.5.3.7.5) to show summarized result values in the PivotTable report.
Filtering data in the PivotTable report by performing manual filtering (section 2.2.5.3.5), filtering by criteria (section 2.2.5.3.6), or filtering in the page axis (section 2.2.5.3.7.1).
Determining the PivotTable layout (section 2.2.5.3.8).
Formatting the entire PivotTable report with a tables style (section 2.2.6.3). See section 2.4.847 for details.
Formatting an area of the PivotTable report in a way that logically tracks changes in the PivotTable report. Formatting settings are associated with logical parts of the PivotTable view, and not with fixed ranges on the sheet. See the sequence of records conforming to the SXFORMAT rule (defined in section 2.1.7.40) for details.
Conditional formatting an area of the PivotTable report in a way that logically tracks changes in the PivotTable report and performs calculations based on the fact that the area is in a PivotTable report. See the sequence of records conforming to the SXCONDFMT rule (defined in section 2.1.7.40) for details.
Sorting pivot items (section 2.2.5.3.3) of pivot fields (section 2.2.5.3.2) within the PivotTable report. For details, see section 2.2.5.3.2.1.
Non-OLAP PivotTable views enable the creation of different PivotTable reports associated with the same PivotCache. This enables the creation of different visual representations without duplicating the PivotCache.
119 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
2.2.5.3.1 Relationship to PivotCache
A PivotTable view (section 2.2.5.3) is associated with a PivotCache (section 2.2.5.2) through the idSx field of a BrtBeginPivotCacheID (section 2.4.169) record that matches the idCache field of the BrtBeginSXView (section 2.4.278) record that corresponds to this PivotTable view.
A PivotTable view MUST have one and only one associated PivotCache. An OLAP PivotCache MUST NOT be associated with more than one PivotTable view. A non-OLAP PivotCache can be associated with more than one PivotTable view.
2.2.5.3.2 Pivot Fields
A pivot field corresponds to a cache field (section 2.2.5.2.2). A pivot field specifies display information of the data in the PivotTable view.
A pivot field is specified by the sequence of records that conform to the SXVD rule (defined in section 2.1.7.40). A pivot field is contained in the PivotTable view. A PivotTable view contains a collection of pivot fields which is specified by the SXVDS rule (defined in section 2.1.7.40).
A pivot field index, which identifies a pivot field, is specified to be the zero-based index of a sequence of records that conform to the SXVD rule in the sequence of records that conforms to the SXVDS rule.
Each pivot field is associated with the cache field (section 2.2.5.2.2) with a cache field index equal to the pivot field index of the pivot field. For more details, see section 2.2.5.2.2. The number of pivot fields in the PivotTable view (section 2.2.5.3) MUST equal the number of cache fields in the associated PivotCache (section 2.2.5.2).
The principal way that the structure of a PivotTable view is used to create a PivotTable report is that pivot fields can be part of PivotTable axes (section 2.2.5.3.7). Also, a data item (section 2.2.5.3.7.5.1) can refer to a pivot field.
A pivot field can have pivot items (section 2.2.5.3.3). A pivot field can describe various information such as pivot field sorting (section 2.2.5.3.2.1) and subtotaling (section 2.2.5.3.7.4.2) settings.
The following figure illustrates a PivotTable (section 2.2.5) report with four pivot fields displaying Sales by Product, Country/Region, and Date.
Figure 13: PivotTable report with four pivot fields
2.2.5.3.2.1 Pivot Field Sorting
Pivot items (section 2.2.5.3.3) of a pivot field (section 2.2.5.3.2) appear in the PivotTable view
(section 2.2.5.3) in a specific order. This sort order (2) is only applicable to pivot fields in the row
axis or column (1) axis and can be based on the following entities:
120 / 1118
[MS-XLSB] - v20251113
Excel (.xlsb) Binary File Format
Copyright © 2025 Microsoft Corporation
Release: November 13, 2025
The values of the pivot items associated with the pivot field (section 2.2.5.3.2).
The values of the data items (section 2.2.5.3.7.5.1) that correspond to the pivot items associated with the pivot field
The values of the pivot items (section 2.2.5.3.3) of a pivot field (section 2.2.5.3.2) associated with an OLAP member property. See member properties for more details.
The ordering of the pivot items associated with the pivot field as determined by the source data (section 2.2.5.2.1) provider.
The ordering of instances of the sequence of the records that conform to the SXVI rule (as defined in section 2.1.7.40) for the pivot field within the file.
The sort order (2) of a pivot field (section 2.2.5.3.2) is specified by the fAutoSort field of the BrtBeginSXVD (section 2.4.273) record. If fAutoSort is equal to 1, then the sort is performed every time the PivotTable (section 2.2.5) is recalculated.
If the fAutoSort field of the BrtBeginSXVD record is equal to 1, the sort order (2) is specified by the value of the fAscendSort field of the BrtBeginSXVD record which determines whether the sort is ascending or descending.
The existence of a BrtBeginAutoSortScope (section 2.4.9) record following the BrtBeginSXVD record specifies the scope of the sort, as specified in the following table.
BrtBeginAutoSortScope existence Meaning
Does not exist Sorting is based on the values of the pivot items (section 2.2.5.3.3) of the pivot field (section 2.2.5.3.2).
Exists Sorting is either based on the values in the data area (section 2.2.5.3.8.1.4) or on the values of member properties associated with the pivot field as specified by the sequence of records that conform to the PIVOTRULE rule (as defined in section 2.1.8) in the sequence of records that conform to the AUTOSORTSCOPE rule (as defined in section 2.1.7.40).
If the fAutoSort field of the BrtBeginSXVD (section 2.4.273) record is equal to 0, the sort order (2) is determined by the order of instances of the sequence of the records that conform to the SXVI rule for this pivot field.
For OLAP PivotTables, if the fTensorSort field of the BrtBeginSXVD record is equal to 1, the sort order (2) is determined by the OLAP source data (section 2.2.5.2.1) provider.
2.2.5.3.3 Pivot Items
Pivot items represent specific instances of the entities represented by pivot fields (section 2.2.5.3.2). Each pivot item specifies its display properties. For example it can contain the user defined caption for the pivot item or information about whether the pivot item is hidden or not.
A pivot item is specified by the sequence of records that conform to the SXVI rule (as defined in section 2.1.7.40). A pivot item is contained in a pivot field. The collection specified by the sequence of records that conform to the SXVIS rule (as defined in section 2.1.7.40) specifies the pivot items of a pivot field.
A pivot item can be referenced by a pivot item index. A pivot item index is specified to be the zero- based index of an SXVI rule in the collection specified by the SXVIS rule.
A pivot item can be associated with a cache item (section 2.2.5.2.3). The iCache field of the BrtBeginSXVI (section 2.4.277) record of the pivot item specifies the cache item index of the
121 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
associated cache item in the associated cache field (section 2.2.5.2.2). If the itmtype field of this BrtBeginSXVI record is not PITDATA (section 2.5.105), then this pivot item MUST NOT have an associated cache item. Two pivot items MUST NOT be associated with the same cache item. Note that although a pivot field (section 2.2.5.3.2) index references a pivot field that corresponds to the cache field with the same cache field index, a pivot item index might not reference a pivot item that corresponds to a cache item with the same cache item index.
The number of pivot items, where the itmtype field of the BrtBeginSXVI (section 2.4.277) record of the pivot item is PITDATA (section 2.5.105), MUST equal zero or the number of cache items in the cache field of the pivot field (section 2.2.5.3.2).
2.2.5.3.4 Pivot Hierarchies
A pivot hierarchy corresponds to a cache hierarchy (section 2.2.5.2.7).
A pivot hierarchy is specified by the sequence of records that conform to the SXTH rule (defined in section 2.1.7.40). A pivot hierarchy is contained in a PivotTable view (section 2.2.5.3).
Pivot hierarchies MUST NOT exist in a non-OLAP PivotTable view.
A PivotTable view has a collection of pivot hierarchies as specified by the sequence of records that conform to the SXTHS rule (defined in section 2.1.7.40).
A pivot hierarchy can be referenced by a pivot hierarchy index which is a zero-based index of an SXTH rule in the collection specified by the SXTHS rule.
Each pivot hierarchy is associated with a cache hierarchy with a cache hierarchy index, as specified in section 2.2.5.2.7, equal to the pivot hierarchy index of the pivot hierarchy.
A pivot hierarchy can have pivot field (section 2.2.5.3.2) associated with it. The pivot fields associated with a pivot hierarchy do not need to exist if they have not been used by the application.
The association between a pivot hierarchy and pivot fields can be determined by the following: A pivot hierarchy has an associated cache hierarchy. This associated cache hierarchy in turn has cache field (section 2.2.5.2.2) associated with it. These specific cache fields have pivot fields associated with them. See section 2.2.5.3.2 for more details.
A pivot hierarchy can be on a PivotTable axis (section 2.2.5.3.7) . When a pivot field (section 2.2.5.3.2) associated with a pivot hierarchy is referenced by a data item (section 2.2.5.3.7.5.1) the pivot hierarchy is on the data axis (section 2.2.5.3.7.5). All pivot fields associated with a pivot hierarchy that is used on a PivotTable axis MUST be placed on the same PivotTable axis as the pivot hierarchy or not on any PivotTable axis.
2.2.5.3.5 Manual Filters
A manual filter enables specific pivot items (section 2.2.5.3.3) or OLAP members associated with pivot fields (section 2.2.5.3.2) to be shown or hidden in the PivotTable view (section 2.2.5.3). Manual filtering affects subtotal calculations when pivot fields that have manual filters are located on the row axis, column (1) axis, or page axis (section 2.2.5.3.7.1). The pivot items that are hidden for such pivot fields are not included when calculating subtotals.
At least one BrtBeginSXVI (section 2.4.277) record in the BrtBeginSXVIs (section 2.4.281) collection MUST have the fHidden field equal to 0x0.
Manual filters are applied during PivotTable (section 2.2.5) report calculation prior to any of the other types of filters specified in the following sections. If there are multiple manual filters, they are not applied in a specific order.
Details about manual filtering for pivot fields (section 2.2.5.3.2) on the page axis are covered in section 2.2.5.3.7.1.
122 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
2.2.5.3.5.1 Non-OLAP Manual Filters
For non-OLAP PivotTable (section 2.2.5), the state of the manual filter on a pivot field (section 2.2.5.3.2) can be determined by the value of the fHidden field of the BrtBeginSXVI (section 2.4.277) records directly following the corresponding BrtBeginSXVD (section 2.4.273). This field specifies whether the corresponding pivot item (section 2.2.5.3.3) is hidden by the manual filter and therefore not displayed in the PivotTable report.
If the fFilterInclusive field of the BrtBeginSXVD record is equal to 0x1, pivot items (section 2.2.5.3.3) corresponding to new values in the source data (section 2.2.5.2.1) are not displayed by default in the PivotTable (section 2.2.5) report after the associated PivotCache (section 2.2.5.2) has been refreshed.
2.2.5.3.5.2 OLAP Manual Filters
For OLAP PivotTable views (section 2.2.5.3), manual filtering operates on pivot hierarchies (section 2.2.5.3.4). OLAP manual filtering uses filtering lists to determine what filtering to apply.
The SXTHItem list is specified to be the list of the OLAP members specified by BrtBeginSXTHItem (section 2.4.265) records of the pivot hierarchy (section 2.2.5.3.4)
The selected pivot items (section 2.2.5.3.3) list is specified to be the list of pivot items, with the fOlapFilterSelected field of the BrtBeginSXVI (section 2.4.277) record equal to 0x1, in the pivot fields (section 2.2.5.3.2) associated with the pivot hierarchy.
If both the SXTHItem list and the selected pivot items list are empty then, no manual filtering is specified for the pivot hierarchy. Otherwise, the value of the fFilterInclusive field of the BrtBeginSXTH (section 2.4.264) record of the pivot hierarchy determines how the lists will be used.
If the fFilterInclusive field of the BrtBeginSXTH record of the pivot hierarchy is equal to 0x1, the OLAP members in the SXTHItem list and their ascendants and descendants are included in the manual filter, and the pivot items (section 2.2.5.3.3) in the selected pivot items list and their ascendants and descendants are included in the manual filter. New OLAP members in the source data (section 2.2.5.2.1) will be excluded by default when the PivotTable view (section 2.2.5.3) is refreshed.
If the fFilterInclusive field of the BrtBeginSXTH (section 2.4.264) record of the pivot hierarchy (section 2.2.5.3.4) is equal to 0x0, the OLAP members in the SXTHItem list and their descendants, are excluded in the manual filter, and the pivot items (section 2.2.5.3.3) in the selected pivot items list and their descendants, are excluded in the manual filter. New OLAP members in the source data will be included by default when the PivotTable view is refreshed.
The filtering lists do not include OLAP members which are ascendants or descendants of other OLAP members in the lists.
2.2.5.3.6 Filtering by Criteria
Filtering by criteria is the ability to conditionally show pivot items (section 2.2.5.3.3) of pivot fields (section 2.2.5.3.2) based on user-defined criteria. For example, a criteria filter might be defined to show all products that sold for more than $30,000.
2.2.5.3.6.1 Advanced Filters
An advanced filter specifies a user-defined criterion that is used to determine the pivot items (section 2.2.5.3.3) of a pivot field (section 2.2.5.3.2) that are included in subtotal calculations for the PivotTable view (section 2.2.5.3) and that are displayed in the PivotTable (section 2.2.5) report.
Only advanced filters that are associated with pivot fields that are located on the row axis or the column (1) axis are applied when the PivotTable view is calculated.
123 / 1118
[MS-XLSB] - v20251113
Excel (.xlsb) Binary File Format
Copyright © 2025 Microsoft Corporation
Release: November 13, 2025
An advanced filter is specified by the sequence of records that conforms to the SXFILTER rule (defined in section 2.1.7.40), and the isxvd field of the BrtBeginSXFILTER (section 2.4.248) record specifies the pivot field associated with the advanced filter.
Advanced filters MUST NOT be applied to pivot fields of a PivotTable view if the value of the bVerSxMacro field of the BrtBeginSXView (section 2.4.278) record corresponding to the PivotTable view is less than 3, or OLAP PivotTable views with a value of 0 for the fSupportSubquery field of the corresponding BrtBeginPivotCacheDef (section 2.4.168) record.
There are three types of advanced filters: label filter (section 2.2.5.3.6.1.1), date filter (section 2.2.5.3.6.1.2), and value filter (section 2.2.5.3.6.1.3).
A pivot field (section 2.2.5.3.2) MUST NOT have more than one associated advanced filter of the same type.
2.2.5.3.6.1.1 Label Filters
A label filter specifies criteria that are applied to pivot item (section 2.2.5.3.3) captions to determine which pivot items (section 2.2.5.3.3) are included in the calculation of values for the PivotTable view (section 2.2.5.3) and displayed in the PivotTable (section 2.2.5) report.
A label filter is specified by a BrtBeginSXFILTER (section 2.4.248) record with the sxft field equal to a value in the range 0x00000004 through 0x00000011.
Label filters are applied before any value filters (section 2.2.5.3.6.1.3), but the order of label filters is not specified.
If a caption is specified for a pivot item (section 2.2.5.3.3), the label filter is applied to the displayName field of the BrtBeginSXVI (section 2.4.277) record associated with that pivot item. If a caption is not specified for a pivot item, the label filter is applied to the value of the cache item (section 2.2.5.2.3) associated with that pivot item.
A label filter can be applied to member properties. The isxvdMProp field of the BrtBeginSXFILTER record specifies the member property on which this label filter is applied.
2.2.5.3.6.1.2 Date Filters
A date filter specifies a criterion that is applied to pivot items (section 2.2.5.3.3) of date type of a pivot field (section 2.2.5.3.2). A date filter determines which pivot items are included in the calculation of the PivotTable view (section 2.2.5.3) and displayed in the PivotTable (section 2.2.5) report.
Date filters are specified by BrtBeginSXFILTER (section 2.4.248) records with the sxft field in the range 0x0000001A through 0x00000041.
For non-OLAP PivotTable views, a date filter can be applied if and only if the BrtBeginPCDFAtbl (section 2.4.131) record associated with the corresponding cache field (section 2.2.5.2.2) has the fDateInField field equal to 1, the fMixedTypesIgnoringBlanks field equal to 0, and the fNonDates field is equal to 0. For OLAP PivotTable views, a date filter can be applied if and only if the wAttributeMemberValueType field of the BrtBeginPCDHierarchy (section 2.4.146) record specifies that the cache hierarchy (section 2.2.5.2.7) has a data type of date and the fTimeHierarchy field of the BrtBeginPCDHierarchy record is equal to 1, or the fAttributeMemberValueTypeKnown field of the BrtBeginPCDHierarchy record is equal to 0 and the fTimeHierarchy field of the BrtBeginPCDHierarchy record is equal to 1.
Date filters are applied before value filters (section 2.2.5.3.6.1.3) and in no specific order.
2.2.5.3.6.1.3 Value Filters
124 / 1118
[MS-XLSB] - v20251113
Excel (.xlsb) Binary File Format
Copyright © 2025 Microsoft Corporation
Release: November 13, 2025
A value filter specifies a criterion that is applied to values of a data item (section 2.2.5.3.7.5.1) for pivot items (section 2.2.5.3.3) of the pivot field (section 2.2.5.3.2) that the value filter is applied to. The value filter determines which pivot items are included in the subtotal calculation of the PivotTable view (section 2.2.5.3) and displayed in the PivotTable view report.
A value filter is specified by the sequence of records specified by the sequence of records that conforms to the SXFILTER rule (defined in section 2.1.7.40) that contain a BrtBeginSXFILTER (section 2.4.248) record with the sxft field equal to a value in one of the following the ranges: 0x00000001 through 0x00000003 or 0x00000012 through 0x00000019.
Value filters are applied after manual filters (section 2.2.5.3.5), date filters section 2.2.5.3.6.1.2), and label filters (section 2.2.5.3.6.1.1) are applied. Value filters are applied in the order in which they are specified in the collection specified by the sequence of records that conforms to the SXFILTERS rule (defined in section 2.1.7.40). The subtotals generated as a result of a value filter being applied are used to evaluate the next value filter specified in the SXFILTERS rule.
2.2.5.3.6.2 Simple Filters
A simple filter is a top N filter which is also known as an AutoShow. The fAutoShow field of the BrtBeginSXVD (section 2.4.273) record specifies whether a simple filter is applied for a pivot field (section 2.2.5.3.2). The fTopAutoShow field of the BrtBeginSXVD record specifies whether a simple filter applies to the top or bottom N items. The citmAutoShow field of the BrtBeginSXVD record specifies the number of pivot items (section 2.2.5.3.3) displayed.
Simple filters MUST only be applied to pivot fields of a PivotTable view (section 2.2.5.3) with the bVerSxMacro field of the corresponding BrtBeginSXView (section 2.4.278) record less than or equal to 2, or to pivot fields of an OLAP PivotTable view with the fSupportSubquery field of the BrtBeginPivotCacheDef (section 2.4.168) record of the corresponding PivotCache (section 2.2.5.2) equal to 0.
2.2.5.3.7 PivotTable Axes
A PivotTable (section 2.2.5) axis is the set of pivot fields (section 2.2.5.3.2) or pivot hierarchies (section 2.2.5.3.4) in a PivotTable view (section 2.2.5.3) used to populate an area of the PivotTable report. The placement and positions of pivot fields on the axes are used to determine the PivotTable Layout (section 2.2.5.3.8). The four axes of a PivotTable view are the page axis (section 2.2.5.3.7.1), the row axis, the column (1) axis, and the data axis (section 2.2.5.3.7.5). For non-OLAP PivotTables, a pivot field MUST NOT appear more than once on the PivotTable view, with the exception of the data axis. For non-OLAP PivotTables, a pivot field can be placed one or more times on the data axis independently of whether it was placed on any other axis. For OLAP PivotTables, a pivot field MUST NOT be placed more than once on any axis. For both OLAP and non-OLAP PivotTables, pivot fields (section 2.2.5.3.2) do not have to be placed on any PivotTable axis.
2.2.5.3.7.1 Page Axis
The page axis contains the pivot fields (section 2.2.5.3.2) or pivot hierarchies (section 2.2.5.3.4) used to populate the page area (section 2.2.5.3.8.1.3) of the PivotTable (section 2.2.5) report, as specified by PivotTable Layout (section 2.2.5.3.8), and are intended for use as filters. These pivot fields and pivot hierarchies do not affect the layout of the other areas of the PivotTable report, but rather filter the data used by the entire PivotTable view (section 2.2.5.3).
The page axis is specified by the sequence of records that conforms to the SXPIS rule (defined in section 2.1.7.40). For non-OLAP PivotTables, each sequence of records that conforms to the SXPI rule (defined in section 2.1.7.40) specifies one pivot field on the page axis. For OLAP PivotTables, each SXPI rule specifies one pivot hierarchy (section 2.2.5.3.4) on the page axis. The order in which the pivot fields and pivot hierarchies appear in the SXPIS rule specifies the order that the pivot fields and pivot hierarchies appear in on the page axis.
125 / 1118
[MS-XLSB] - v20251113
Excel (.xlsb) Binary File Format
Copyright © 2025 Microsoft Corporation
Release: November 13, 2025
For non-OLAP PivotTables, the isxvd field of the BrtBeginSXPI (section 2.4.256) record specifies the associated pivot field (section 2.2.5.3.2). For OLAP PivotTables, the isxth field of the BrtBeginSXPI record specifies the associated pivot hierarchy.
2.2.5.3.7.1.1 Non-OLAP Page Filtering
A non-OLAP PivotTable view (section 2.2.5.3) can be filtered to not include some pivot items (section 2.2.5.3.3) from the pivot field (section 2.2.5.3.2) on the page axis (section 2.2.5.3.7.1). The PivotTable (section 2.2.5) report only includes values specified by cache items (section 2.2.5.2.3) that are associated with pivot items that are filtered in.
The following table specifies how the filtering of pivot items of a pivot field is specified.
In the following table, the first column is the value of the fEnableMultiplePageItems field of the BrtBeginSXVD (section 2.4.273) record of the corresponding pivot field (section 2.2.5.3.2), the second column is the value of the isxvi field of the BrtBeginSXPI (section 2.4.256) record, and the third column is the value of the fSubtotalHiddenPageItems field of the BrtBeginSXView (section 2.4.278) record.
fEnableM fSubtotalHi ultiplePa ddenPageI geItems isxvi tems Filtering Behavior 0 Not Any Specifies that the isxvi field of the BrtBeginSXPI record 0x001000FE specifies a pivot item (section 2.2.5.3.3) index, as specified by section 2.2.5.3.3, of the one pivot item of a pivot field that is filtered in. Any 0x001000FE 0 Specifies that pivot items are filtered in if and only if the fHidden field of the corresponding BrtBeginSXVI (section 2.4.277) records is equal to 0. Any 0x001000FE 1 Specifies that all pivot items of a pivot field filtered in.
If the fEnableMultiplePageItems field of the corresponding pivot field (section 2.2.5.3.2) is equal to 1, the isxvi field of the BrtBeginSXPI (section 2.4.256) record MUST be equal to 0x001000FE and MUST be ignored.
2.2.5.3.7.1.2 OLAP Page Filtering
The following table specifies which OLAP members in the pivot hierarchy (section 2.2.5.3.4) on the page axis (section 2.2.5.3.7.1) are filtered in.
In the following table, the first column is the value of the fEnableMultiplePageItems field of the BrtBeginSXTH (section 2.4.264) record.
fEnableMultiplePageItems Filtering behavior 0 Specifies that the irstUnique field of the BrtBeginSXPI (section 2.4.256) record specifies the one OLAP member that is filtered in. 1 Specifies that the filtering is applied as specified by Manual Filters (section 2.2.5.3.5) and OLAP Manual Filters (section 2.2.5.3.5.2) for the pivot hierarchy (section 2.2.5.3.4).
2.2.5.3.7.2 Row Axis
The row axis contains the pivot fields (section 2.2.5.3.2), and an optional data field (section 2.2.5.3.7.5.2), used to populate the row area of the PivotTable (section 2.2.5) report, as specified by PivotTable Layout (section 2.2.5.3.8).
126 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
The pivot fields on the row axis are specified by the BrtBeginISXVDRws (section 2.4.97) record. The order that the pivot fields and the optional data field (section 2.2.5.3.7.5.2) appear in that record specifies the order that the pivot fields and the optional data field appear in on the row axis. The order that the pivot fields and the optional data field appear in on the row axis corresponds to the order that the pivot fields and the optional data field are placed in on the row area of the PivotTable (section 2.2.5) report.
For adjacent ISXVD (section 2.5.84) records in the rgisxvdrws field of the BrtBeginISXVDRws (section 2.4.97) record, the pivot field (section 2.2.5.3.2) or data field (section 2.2.5.3.7.5.2) that the first ISXVD references is defined to be an outer field with respect to the pivot field or the data field that the second ISXVD references. The pivot field or data field that the second ISXVD references is defined to be an inner field with respect to the pivot field or the data field that the first ISXVD references.
For OLAP PivotTables (section 2.2.5), all ISXVD (section 2.5.84) records in the rgisxvdrws field of the BrtBeginISXVDRws (section 2.4.97) record that reference pivot fields that are associated with the same pivot hierarchy (section 2.2.5.3.4) MUST be adjacent. Pivot fields associated with member properties of the pivot hierarchy MUST be located on the row axis after other types of pivot fields associated with the same pivot hierarchy. Pivot fields not associated with member properties of the pivot hierarchy MUST appear on the row axis in an order such that the zero-based index of the level of each pivot field associated with the same pivot hierarchy is ascending. The level of a pivot field (section 2.2.5.3.2) is specified by the isxtl field of the BrtBeginPCDField (section 2.4.136) record of the cache field (section 2.2.5.2.2) associated with the pivot field.
For OLAP PivotTables, the rgisxth field of the BrtBeginISXTHRws (section 2.4.95) record specifies the order of pivot hierarchies (section 2.2.5.3.4) on the row axis.
See section 2.2.5.3.7.4 also.
2.2.5.3.7.3 Column Axis
The column (1) axis contains the pivot fields (section 2.2.5.3.2), and an optional data field (section 2.2.5.3.7.5.2), used to populate the column (1) area of the PivotTable (section 2.2.5) report, as specified by PivotTable Layout (section 2.2.5.3.8).
The pivot fields on the column (1) axis are specified by the BrtBeginISXVDCols (section 2.4.96) record. The order that the pivot fields and the optional data field (section 2.2.5.3.7.5.2) appear in that record specifies the order that the pivot fields and the optional data field appear on the column (1) axis. The order that the pivot fields and the optional data field appear in on the column (1) axis corresponds to the order that the pivot fields and the optional data field are placed in on the column (1) area of the PivotTable report.
For adjacent ISXVD (section 2.5.84) records in the rgisxvdcols field of the BrtBeginISXVDCols record, the pivot field (section 2.2.5.3.2) or data field that the first ISXVD references is defined to be an outer field with respect to the pivot field or the data field that the second ISXVD references. The pivot field or data field that the second ISXVD references is defined to be an inner field with respect to the pivot field or the data field that the first ISXVD references.
For OLAP PivotTables (section 2.2.5), all ISXVD (section 2.5.84) records in the rgisxvdcols field of the BrtBeginISXVDCols record that reference pivot fields that are associated with the same pivot hierarchy (section 2.2.5.3.4) MUST be adjacent. Pivot fields associated with member properties of the pivot hierarchy MUST be located on the column (1) axis after other types of pivot fields associated with the same pivot hierarchy. Pivot fields not associated with member properties of the pivot hierarchy MUST appear on the column (1) axis in an order such that the zero-based index of the level of each pivot field associated with the same pivot hierarchy is ascending. The level of a pivot field is specified by the isxtl field of the BrtBeginPCDField (section 2.4.136) record of the cache field (section 2.2.5.2.2) associated with the pivot field (section 2.2.5.3.2).
127 / 1118
[MS-XLSB] - v20251113
Excel (.xlsb) Binary File Format
Copyright © 2025 Microsoft Corporation
Release: November 13, 2025
For OLAP PivotTables, the rgisxth field of the BrtBeginISXTHCols (section 2.4.94) record specifies the order of pivot hierarchies (section 2.2.5.3.4) on the column (1) axis.
See section 2.2.5.3.7.4 also.
2.2.5.3.7.4 Nesting
This section applies to both the row axis and column (1) axis unless otherwise specified. Within this section, axis means the row axis or the column (1) axis as appropriate; fields mean pivot fields (section 2.2.5.3.2) on the axis, the data field (section 2.2.5.3.7.5.2) on the axis, or both; area means the row area or column (1) area as appropriate; items mean pivot items (section 2.2.5.3.3) or data items (section 2.2.5.3.7.5.1) as appropriate.
The axes specify an order in which the fields are represented in the areas, see section 2.2.5.3.8 for more information about the areas. Pivot lines (section 2.2.5.3.8.3) within the areas have references to items. Usually a pivot line including an item of an outer field only includes items in the inner fields that exist with the item of the outer field in the source data (section 2.2.5.2.1), subject to the filtering on the PivotTable view. Usually all the instances of an item in the area are grouped together, with grouping on the outer fields taking precedence over grouping on the inner fields. This process is called nesting.
A nested item group is specified to be the contiguous set of pivot lines (section 2.2.5.3.8.3) that have the same item in an outer field.
The following table shows an example of nested item groups for Country/Region, State, and City.
Country/Region State City USA Illinois Chicago USA Illinois Springfield USA Louisiana New Orleans USA Louisiana Baton Rouge Mexico Jalisco Guadalajara The first two lines are a nested item group for Illinois. The next two lines are a nested item group for Louisiana. The first four lines are a nested item group for USA. The last line is both a nested item group for Jalisco and Mexico. Note that often in a PivotTable (section 2.2.5) report the repeated item labels will be omitted.
For an OLAP PivotTable view (section 2.2.5.3), nesting can be the result of either of the following conditions but not both:
Items of an inner field that are in a different pivot hierarchy (section 2.2.5.3.4) than an outer pivot field (section 2.2.5.3.2).
Items of an inner field that is associated with the same pivot hierarchy as an outer pivot field and that correspond to child OLAP members of the OLAP members corresponding to the items of the outer field.
2.2.5.3.7.4.1 Collapsing
Settings in the file format can specify that a pivot item (section 2.2.5.3.3) of an outer pivot field (section 2.2.5.3.2), rather than having nested pivot items of inner pivot fields, is collapsed. Usually when a pivot item on an outer pivot field is collapsed, it does not have a nested pivot item group and when it appears in a pivot line (section 2.2.5.3.8.3), the pivot items of the inner pivot fields for the collapsed pivot item do not appear in the pivot line.
In the example from section 2.2.5.3.7.4, if Illinois and Mexico were collapsed, the result might look like the following table:
128 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
Country/Region State City USA Illinois USA Louisiana New Orleans USA Louisiana Baton Rouge Mexico
For a non-OLAP PivotTable view (section 2.2.5.3), the collapsed state is specified by the fHideDetail field of the BrtBeginSXVI (section 2.4.277) record.
For an OLAP PivotTable view, there are two types of collapsing: child collapsing and attribute hierarchy collapsing.
Child collapsing is when the child pivot items (section 2.2.5.3.3), corresponding to child OLAP members, of a pivot item corresponding to a parent OLAP member in an OLAP hierarchy are not shown.
If a pivot field (section 2.2.5.3.2) is the first pivot field of the pivot hierarchy (section 2.2.5.3.4) on the axis then the fDrilledLevel field of the BrtBeginSXVD (section 2.4.273) record of the pivot field MUST be 1.
If a pivot field is not the first pivot field of the pivot hierarchy on the axis and if the fDrilledLevel field of the BrtBeginSXVD record of the pivot field is 1, then there is no child collapsing for the preceding pivot field of the pivot hierarchy on the axis and the fDrilledMember field of the BrtBeginSXVI (section 2.4.277) records for the pivot items (section 2.2.5.3.3) of the preceding pivot field of the pivot hierarchy on the axis MUST be 0.
If a pivot field (section 2.2.5.3.2) is followed by another pivot field of the same pivot hierarchy on the axis, and the fDrilledLevel field of the BrtBeginSXVD record of the outer pivot field is equal to 0 and the fDrilledMember field of a BrtBeginSXVI record of the pivot item of the outer pivot field is 0, then the pivot item containing the BrtBeginSXVI record is collapsed using child collapsing.
Attribute hierarchy collapsing only occurs when an outer pivot field is associated with a pivot hierarchy (section 2.2.5.3.4) that is an attribute hierarchy, as specified by the fAttributeHierarchy field of the BrtBeginPCDHierarchy (section 2.4.146) record of the associated cache hierarchy (section 2.2.5.2.7), and the inner pivot field immediately following that outer pivot field is associated with a different pivot hierarchy that is an attribute hierarchy. In that case, if a pivot item (section 2.2.5.3.3) is attribute hierarchy collapsed, pivot items (section 2.2.5.3.3), corresponding to OLAP members, will not be shown for the inner pivot field. The attribute hierarchy collapsed state of a pivot item is specified by the fCollapsedMember field of the BrtBeginSXVI (section 2.4.277) record. The fItemsDrilledByDefault field of the BrtBeginSXVD (section 2.4.273) record provides a default value for pivot items of the pivot field.
For an OLAP PivotTable view (section 2.2.5.3), there can be pivot items from an inner pivot field (section 2.2.5.3.2) on the pivot line (section 2.2.5.3.8.3) if either the outer pivot field is collapsed and the inner pivot field and outer pivot field are in different pivot hierarchies (section 2.2.5.3.4) and attribute hierarchy collapsing is not being used or if the pivot items are member properties.
2.2.5.3.7.4.2 Subtotaling
A nested item group, as specified in section 2.2.5.3.7.4, can have summaries of the values for the items in the nested item group, called subtotals. A subtotal is typically an aggregation such as a sum, count, or average of the values of the items.
The creation of subtotals is specified by the fDefault, fSum, fCounta, fAverage, fMax, fMin, fProduct, fCount, fStdev, fStdevp, fVar, and fVarp fields of the BrtBeginSXVD (section 2.4.273) record of the pivot field (section 2.2.5.3.2). If none of the fields are equal to 1, then no subtotals exist for the pivot field. If the fDefault field is equal to 1, the subtotal calculation for each item is done according to the aggregation functions of the data items (section 2.2.5.3.7.5.1) on the data axis
129 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
(section 2.2.5.3.7.5), as specified by the iiftab field of the BrtBeginSXDI (section 2.4.244) record for each data item.
For example, the subtotal is calculated as the sum of the relevant values of the nested item group for a data item with a sum aggregation function and subtotal is calculated as the average of the relevant values of the nested item group for a data item with an average aggregation function.
The other subtotal fields are called custom subtotals because they override the data item (section 2.2.5.3.7.5.1) aggregation function when calculating subtotals. In some cases, such as for certain OLAP PivotTable views (section 2.2.5.3), the source data (section 2.2.5.2.1) is not able to provide a requested subtotal.
The fOutline field of the BrtBeginSXVD (section 2.4.273) record specifies that an extra pivot line (section 2.2.5.3.8.3) is added at the logical top of the nested item groups if the pivot field (section 2.2.5.3.2) is on the row axis. This pivot line contains the item and any items of member property pivot fields, if they are shown, but no other items of pivot fields inner of this pivot field.
The fOutlineData field of the BrtBeginSXView (section 2.4.278) record specifies that an extra pivot line is added at the logical top of the nested item groups if the data field (section 2.2.5.3.7.5.2) is on the row axis. This pivot line contains the data item, but no other items for inner pivot fields of this data field.
If the fDefault field of the BrtBeginSXVD (section 2.4.273) record of the pivot field (section 2.2.5.3.2) is equal to 1, and the fOutline field of the BrtBeginSXVD record of the pivot field is equal to 1, the pivot field is on the row axis, and the data field is not placed inner of the pivot field on the row axis, then the fSubtotalAtTop field of the BrtBeginSXVD record of the pivot field has a value as specified in the following table:
Value of fSubtotalAtTop Meaning 0x0 Specifies that subtotal pivot lines (section 2.2.5.3.8.3) are added at the bottom of the nested item groups.
If the irstSub field of the BrtBeginSXVD (section 2.4.273) record is present, it
specifies details for the subtotal label used.
If the irstSub field of the BrtBeginSXVD record is not present, an application
specific subtotal label is used.
0x1 Specifies that the pivot lines added, as specified by the fOutline field of the BrtBeginSXVD record being equal to 1, are used for displaying the subtotals in the data area (section 2.2.5.3.8.1.4).
In the following figure, the Category, Subcategory, and Product columns (1) represent pivot fields (section 2.2.5.3.2) on the row axis and the Color column (1) represents a member property pivot field associated with the Product pivot field. Subtotals are displayed at the logical top of the nested item groups for Clothing, Caps and Gloves.
130 / 1118
[MS-XLSB] - v20251113
Excel (.xlsb) Binary File Format
Copyright © 2025 Microsoft Corporation
Release: November 13, 2025
Figure 14: PivotTable report with Category and Subcategory pivot fields with fOutline and fSubtotalAtTop fields of the BrtBeginSXVD records equal to 1
2.2.5.3.7.5 Data Axis
The data axis contains the pivot field (section 2.2.5.3.2) values that are used to populate the data area (section 2.2.5.3.8.1.4) of the PivotTable (section 2.2.5) report, as specified by PivotTable Layout (section 2.2.5.3.8). This axis also specifies additional information related to aggregation and presentation of the values, as specified in section 2.2.5.3.7.5.1. The data axis is specified by the sequence of records that conforms to the SXDIS rule (as defined in section 2.1.7.40). The order in which the records appear in the SXDIS rule specifies the order that the pivot fields appear in on the data axis.
2.2.5.3.7.5.1 Data Items
A data item is a pivot field (section 2.2.5.3.2) placed on the data axis (section 2.2.5.3.7.5). Each data item is specified by the sequence of records that conforms to the SXDI rule (as defined in section 2.1.7.40).
A BrtBeginSXDI (section 2.4.244) record or a BrtSXDI14 (section 2.4.826) record specifies the reference to the pivot field that is associated with a data item. The BrtBeginSXDI record and BrtSXDI14 records also specify additional information that is used to produce or present aggregated values.
A data item can be referenced by a data item index, which is the zero-based index of the BrtBeginSXDI record in the collection of BrtBeginSXDI records, as specified by the SXDI rule in the PivotTable (section 2.1.7.40) part ABNF.
2.2.5.3.7.5.2 Data Field
The data field is a conceptual field that represents all data items (section 2.2.5.3.7.5.1) and allows them to be referenced as a single object. The data field is intended to allow all data items to be placed on the row axis or column (1) axis.
If the PivotTable view (section 2.2.5.3) has more than one data item (section 2.2.5.3.7.5.1), then the data field MUST be located on either the row axis, as specified by the rgisxvdrws field of the BrtBeginISXVDRws (section 2.4.97) record, or the column (1) axis, as specified by the rgisxvdcols field of the BrtBeginISXVDCols (section 2.4.96) record. For an OLAP PivotTable (section 2.2.5) that has the data field located on the row axis, the data field MUST be referenced in the rgisxth field of the BrtBeginISXTHRws (section 2.4.95) record. For an OLAP PivotTable that has the data field
131 / 1118
[MS-XLSB] - v20251113
Excel (.xlsb) Binary File Format
Copyright © 2025 Microsoft Corporation
Release: November 13, 2025
located on the column (1) axis, the data field MUST be referenced in the rgisxth field of the
BrtBeginISXTHCols (section 2.4.94) record.
2.2.5.3.8 PivotTable Layout
The PivotTable (section 2.2.5) report in the sheet has four main areas: the row area, the column
(1) area, the data area (section 2.2.5.3.8.1.4), and the page area (section 2.2.5.3.8.1.3).
Figure 15: PivotTable report illustrating the four different areas
All the records described in this section MUST exist in the same PivotTable part as specified by the PivotTable (section 2.1.7.40) part ABNF.
2.2.5.3.8.1 Location and Body
The column (1) area is located immediately above the data area (section 2.2.5.3.8.1.4). The cell in the column (1) area containing the pivot item (section 2.2.5.3.3) caption or data item (section 2.2.5.3.7.5.1) caption to the farthest logical left is in the same column (1) as the logical top-left cell of the data area.
The row area is located immediately to the logical left of the data area. The cell in the row area containing the top-most pivot item caption or data item caption is in the same row as the logical top- left cell of the data area (section 2.2.5.3.8.1.4).
The PivotTable (section 2.2.5) report body is the rectangular area defined by the union of the row area, column (1) area, and data area.
The page area (section 2.2.5.3.8.1.3), if it is not empty, is located above the PivotTable report body. There is one row between the top-most cell of the PivotTable report body and the bottom-most cell of the page area.
The PivotTable report is a non-contiguous range containing the union of the PivotTable report body and the page area.
A BrtBeginSXLocation (section 2.4.255) record specifies details about the location in the sheet and sizes of the areas of the PivotTable report as specified by the following.
The column (1) area of the PivotTable (section 2.2.5) report is a range of cells as specified in the following table.
132 / 1118
[MS-XLSB] - v20251113
Excel (.xlsb) Binary File Format
Copyright © 2025 Microsoft Corporation
Release: November 13, 2025
Column area Row or column index
Top row rfxGeom.rwFirst
Bottom row rwFirstData – 1
Logical left column (1) colFirstData
Logical right column (1) rfxGeom.colLast
If colFirstData is greater than rfxGeom.colLast, the column (1) area does not exist for this PivotTable report.
The row area of the PivotTable (section 2.2.5) report is a range of cells as specified in the following table.
Row area Row or column index
Top row rwFirstData
Bottom row rfxGeom.rwLast
Logical left column (1) rfxGeom.colFirst
Logical right column (1) colFirstData – 1
If colFirstData – 1 is less than rfxGeom.colFirstData, the row area does not exist for this PivotTable report.
The data area (section 2.2.5.3.8.1.4) of the PivotTable (section 2.2.5) report is a range of cells as specified in the following table.
Data Area Row or Column Index
Top row rwFirstData
Bottom row rfxGeom.rwLast
Logical left column (1) colFirstData
Logical right column (1) rfxGeom.colLast
If the row area or the column (1) area does not exist for this PivotTable report, the data area (section 2.2.5.3.8.1.4) does not exist for this PivotTable report.
The page area (section 2.2.5.3.8.1.3) of the PivotTable (section 2.2.5) report is a range of cells as specified in the following table.
Page area Row or column index
Top row rfxGeom.rwFirst – crwPage – 1
Bottom row rfxGeom.rwFirst – 2
Logical left column (1) rfxGeom.colFirst
Logical right column (1) rfxGeom.colFirst + cColPage – 1
If cRwPage is equal to 0 and the fNewDropZones field of the BrtBeginSXView (section 2.4.278) record is equal to 1 the page area does not exist for this PivotTable report. If cRwPage is equal to 0
133 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
and the fNewDropZones field of the BrtBeginSXView (section 2.4.278) record is equal to 0, then
the page area (section 2.2.5.3.8.1.3) of the PivotTable report is a range of cells as specified in the
following table.
Page area Row or column index
Top row rfxGeom.rwFirst - 2
Bottom row rfxGeom.rwFirst - 2
Logical left column (1) rfxGeom.colFirst
Logical right column (1) rfxGeom.colLast
2.2.5.3.8.1.1 Row Area
The row area contains pivot fields (section 2.2.5.3.2), the optional data field (section 2.2.5.3.7.5.2), or both that are placed on the row axis, along with associated pivot items (section 2.2.5.3.3) and data items (section 2.2.5.3.7.5.1). The first row of the row area can contain pivot field or data field captions (or both) as specified by the fNoHeaders field of the BrtBeginSXView (section 2.4.278) record. If fNoHeaders is equal to 0, the pivot field and data field captions are located above their pivot items or data items.
Pivot items (section 2.2.5.3.3) or data items (section 2.2.5.3.7.5.1) of the pivot field (section 2.2.5.3.2) or data field (section 2.2.5.3.7.5.2) that have a position of zero on the row axis are placed in the first column (1) of the row axis. For every other pivot field or data field on the row axis, placement of pivot items or data items are calculated as follows:
If the previous pivot field or data field is not in compact axis mode, then pivot items
or data items of the current pivot field or data field are placed in the next column (1)
of the row area. Pivot items or data items are grouped by the parent pivot item or
data item, which is the pivot item or data item on the immediate logical left. To
achieve this, pivot items or data items of the parent pivot field or data field can be
repeated multiple times. In this case, when pivot items or data items are repeated,
the caption is not necessarily displayed in every cell that contains a pivot item or
data item. For more details, see section 2.2.5.3.8.3.
If the previous pivot field or data field is in compact axis mode, then the pivot items or
data items of the current pivot field or data field are placed in the same column (1) as
pivot items of the previous pivot field or data field. Pivot items or data items are
grouped by the parent pivot item or data item and placed immediately under the
parent pivot item or data item.
For the data field (section 2.2.5.3.7.5.2), if the fCompactData field and the fOutlineData field of the BrtBeginSXView (section 2.4.278) record are equal to 1, then the data field is specified to be in compact axis mode. For pivot fields (section 2.2.5.3.2), if the fCompact field of the BrtBeginSXVD (section 2.4.273) record is equal to 1 and the fOutline field of the BrtBeginSXVD record is equal to 1, then the pivot field is specified to be in compact axis mode.
The row area can have special entries at the end for grand totals. If there are no pivot fields and no data field on the row axis, then the row area is empty.
2.2.5.3.8.1.2 Column Area
The column (1) area contains pivot fields (section 2.2.5.3.2), the optional data field (section 2.2.5.3.7.5.2), or both that are placed on the column (1) axis, along with associated pivot items (section 2.2.5.3.3) and data items (section 2.2.5.3.7.5.1). The first row of the column (1) area can
134 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
contain pivot field and data field captions as specified by the fNoHeaders field of the BrtBeginSXView (section 2.4.278) record.
If the fNoHeaders field and the fCompactData field of the BrtBeginSXView record are both equal to 0 and no pivot fields are in compact axis mode, then the pivot field (section 2.2.5.3.2) or data field (section 2.2.5.3.7.5.2) captions (or both) are placed sequentially in cells of the first row of the column (1) area according to their placement on the column (1) axis.
If the fNoHeaders field of the BrtBeginSXView record is equal to 0 and the fCompactData field and the fOutline field of the BrtBeginSXView record are both equal to 1, or if the fNoHeaders field of the BrtBeginSXView record is equal to 0 and any pivot field is in compact axis mode, then the pivot field or the data field captions (or both) are placed in the top logical left cell of the column (1) area.
For the data field, if the fCompactData field and the fOutlineData field of the BrtBeginSXView record are equal to 1, then the data field is specified to be in compact axis mode. For pivot fields (section 2.2.5.3.2), if the fCompact field of the BrtBeginSXVD (section 2.4.273) record is equal to 1 and the fOutline field of the BrtBeginSXVD record is equal to 1, then the pivot field is specified to be in compact axis mode.
If the fNoHeaders field of the BrtBeginSXView (section 2.4.278) record is equal to 1, the pivot field (section 2.2.5.3.2) and data field (section 2.2.5.3.7.5.2) captions are not displayed. The row containing pivot item (section 2.2.5.3.3) or data items (section 2.2.5.3.7.5.1) captions for the pivot field or data field at position n on the column (1) axis is row n of the column (1) area.
If the fNoHeaders field of the BrtBeginSXView record is equal to 0, the second row in the column (1) area contains pivot item or data item captions for the pivot field or data field placed first on the column (1) axis, and each subsequent row contains the pivot item or data item captions for pivot fields or data fields that occur later on the column (1) axis. The row containing pivot item or data item captions for the pivot field or data field at position n is row (n+1) of the column (1) area.
The column (1) area can have special entries at the end for grand totals.
2.2.5.3.8.1.3 Page Area
The page area contains pivot fields (section 2.2.5.3.2) that are placed on the page axis (section 2.2.5.3.7.1) for non-OLAP PivotTable views (section 2.2.5.3) and pivot hierarchies (section 2.2.5.3.4) that are placed on the page axis for OLAP PivotTable views. For each pivot field or pivot hierarchy (section 2.2.5.3.4) on the page axis, there are two cells in the page area. The cells are arranged in pairs with each pair having a logical left cell and a logical right cell that are horizontally adjacent to each other. The cell on the logical left contains the caption of the pivot field and the cell on the logical right contains information about the current filtering associated with the pivot field or pivot hierarchy. The relative position of the page area is specified by the BrtBeginSXLocation (section 2.4.255) record. For more details, see section 2.2.5.3.8.1.
2.2.5.3.8.1.4 Data Area
The data area contains summarized values for the PivotTable view (section 2.2.5.3). Cells in the data area contain summarized values for associated data items (section 2.2.5.3.7.5.1). The summarized value in a cell is restricted by all the pivot items (section 2.2.5.3.3) in the column (1) area that are located in the same column (1), by all the pivot items in the row area that are located on the same row, and by any page filtering applied, as specified in section 2.2.5.3.7.1.
If the row area has a grand total, then the value in that row is not restricted by pivot items (section 2.2.5.3.3) from the row area. If the column (1) area has a grand total, then the value in that column (1) is not restricted by pivot items from the column (1) area. If the PivotTable view has more than one data item (section 2.2.5.3.7.5.1), then the associated data item is the one that is located in the same column (1) in the column (1) area or the same row in the row area as the cell with the summarized value. If a PivotTable view has zero data items then the data area is empty.
135 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
2.2.5.3.8.2 Truncation
When a PivotTable (section 2.2.5) report does not fit within the boundaries of the sheet it is truncated from the logical right and the bottom. It is truncated such that a part of the PivotTable report is displayed within the sheet boundaries.
2.2.5.3.8.3 Pivot Lines
A pivot line specifies a collection of pivot line entries (section 2.2.5.3.8.4) for a single row or column (1) in the PivotTable (section 2.2.5) report.
Each range that is an intersection of one column (1) and cells from the column (1) area that have pivot items (section 2.2.5.3.3), data items (section 2.2.5.3.7.5.1), or a grand total is a pivot line of the column (1) area.
Each range that is an intersection of one row and cells from the row area that have pivot items, data items, or a grand total is a pivot line of the row area.
A pivot line is specified by the sequence of records that conforms to the SXLI rule (defined in section 2.1.7.40). The sequence of records that conforms to the SXLIRWS rule (defined in section 2.1.7.40) specifies the collection of pivot lines for the row area. The order of SXLI rules in SXLIRWS is the same as the top-to-bottom order of the pivot lines of the row area.
The sequence of records that conforms to the SXLICOLS rule (defined in section 2.1.7.40) specifies the collection of pivot lines for the column (1) area. The order of SXLI rules (defined in section 2.1.7.40) in the SXLICOLS rule is the same as the logical left to logical right order of pivot lines of the column (1) area.
Each pivot line contains a number of pivot line entries (section 2.2.5.3.8.4). The first number of pivot line entries are specified to be identical to those of the immediately preceding pivot line. These pivot line entries are not stored in the file for this pivot line. The number of pivot line entries that are identical to those of the immediately preceding pivot line is specified by the cSic field of the BrtBeginSXLI (section 2.4.252) record. Additional pivot line entries are specified by the BrtBeginIsxvis (section 2.4.98) record.
The first pivot line in the row area or the column (1) area MUST have a cSic field of its associated BrtBeginSXLI record equal to 0.
The following figure shows an example of how to construct pivot lines from an SXLIRWS rule (defined in section 2.1.7.40).
Figure 16: PivotTable and the table used to create each pivot line on the row axis
136 / 1118
[MS-XLSB] - v20251113
Excel (.xlsb) Binary File Format
Copyright © 2025 Microsoft Corporation
Release: November 13, 2025
In this example, the table to the right contains the different components used to construct each pivot line (section 2.2.5.3.8.3), and the resulting pivot line. The first column (1) contains the value of the cSic field from each BrtBeginSXLI (section 2.4.252) in the SXLIRWS rule (defined in section 2.1.7.40). The second column (1) contains the array of pivot line entries (section 2.2.5.3.8.4) specified by the rgisxvis field in the BrtBeginIsxvis (section 2.4.98) record of each SXLI rule (defined in section 2.1.7.40).
The third column (1), labeled "Copied", represents the array of pivot line entries (section 2.2.5.3.8.4) of the previous pivot line that are to be copied to construct the current pivot line. The values in this column (1) are determined by copying the first n items, where n is equal to the value in the cSic column (1). If the value in the cSic column (1) is 0, no items need to be copied from the preceding pivot line.
The fourth column (1), labeled "Pivot Line", represents the final array of pivot line entries that make up the pivot line. This array is constructed by taking the union of the array in the "Copied" column (1) and the "rgisxvi" column (1), maintaining the order.
2.2.5.3.8.4 Pivot Line Entries
Pivot line entries specify references to the pivot items (section 2.2.5.3.3) or data items (section 2.2.5.3.7.5.1) of a pivot line (section 2.2.5.3.8.3). Pivot line entries are specified by the records that conform to the ISXVIS rule (defined in section 2.1.7.40) in the SXLI rule (defined in section 2.1.7.40). A pivot line entry is an element in the array specified by the rgisxvis field of the BrtBeginIsxvis (section 2.4.98) record.
All pivot line entries with a zero-based index in a pivot line less than the value specified by the cSic field of the BrtBeginSXLI (section 2.4.252) record of this pivot line are specified to be identical to those of the preceding pivot line.
For the purposes of the rest of this section, n specifies a position of the pivot line entry on this pivot line.
If the value of n is less than the cSic field of the BrtBeginSXLI record of a given pivot line (section 2.2.5.3.8.3), then the pivot line entry at position n is identical to the corresponding pivot line entry of the pivot line preceding the given pivot line.
If the value of n is greater than or equal to the cSic field of the BrtBeginSXLI record of this pivot line, then the value of n is equal to the sum of the cSic field of the BrtBeginSXLI record and the current index in the rgisxvis field of the BrtBeginIsxvis (section 2.4.98) record of this pivot line.
If a pivot line entry is in a pivot line in the row area, each pivot line entry at any position n specifies a pivot item (section 2.2.5.3.3) index of a pivot item in the nth pivot field (section 2.2.5.3.2) on the row axis or specifies a data item (section 2.2.5.3.7.5.1) index, if the nth field on the row axis is the data field (section 2.2.5.3.7.5.2).
If a pivot line entry is in a pivot line (section 2.2.5.3.8.3) in the column (1) area, each pivot line entry at any position n specifies a pivot item index of a pivot item in the nth pivot field on the column (1) axis or specifies a data item index, if the nth field on the column (1) axis is the data field.
If the nth pivot field (section 2.2.5.3.2) on the row axis or column (1) axis is the data field, the pivot line entry is a data item index, as specified in section 2.2.5.3.7.5.1.
Pivot items (section 2.2.5.3.3) and data items are specified sequentially from logical left to logical right for row pivot lines, and from top to bottom for column (1) pivot lines.
A pivot line entry with a value of 0x001000FE is used to specify the absence of a pivot item or data item (section 2.2.5.3.7.5.1).
2.2.5.3.9 PivotTable Rules
137 / 1118
[MS-XLSB] - v20251113
Excel (.xlsb) Binary File Format
Copyright © 2025 Microsoft Corporation
Release: November 13, 2025
A PivotTable rule can be used to identify cells in a PivotTable (section 2.2.5) report. A PivotTable rule is specified by the sequence of records that conforms to the PIVOTRULE (section 2.1.8) or PIVOTRULE14 rule (as defined in section 2.1.7.40). Each PivotTable rule references a specific area of a PivotTable report, pivot fields (section 2.2.5.3.2), the data field (section 2.2.5.3.7.5.2), or cache fields (section 2.2.5.2.2) and optionally corresponding pivot items (section 2.2.5.3.3), data items (section 2.2.5.3.7.5.1), or cache items (section 2.2.5.2.3) associated with cells in a PivotTable report. When cache items are referenced, the PivotTable rule references calculated items (section 2.2.5.2.6) associated with those cache items.
Each sequence of records that conforms to the PRFILTER (defined in section 2.1.8) or PRFILTER14 rule (as defined in section 2.1.7.40) in the PIVOTRULE or PIVOTRULE14 rule (respectively) specifies a set of pivot items (section 2.2.5.3.3), data items (section 2.2.5.3.7.5.1), or cache items for an individual pivot field (section 2.2.5.3.2), data field, or cache field. This set of pivot items, data items, or cache items is specified by the sequence of records that conforms to the PRFITEM (section 2.1.8) or PRFITEM14 rules (as defined in section 2.1.7.40) within the PRFILTER or PRFILTER14 rule, respectively.
The pruleheaderdata.fCacheBased field in the BrtBeginPRule (section 2.4.186) record specifies whether the PivotTable rule specifies cache items (section 2.2.5.2.3). The pruleheaderdata.isxvd field in the BrtBeginPRule and BrtBeginPRule14 (section 2.4.187) records specifies whether the PivotTable rule specifies pivot items (section 2.2.5.3.3), or data items (section 2.2.5.3.7.5.1) as follows:
If pruleheaderdata.fCacheBased field in the BrtBeginPRule record equals 1, then this PivotTable rule references cache items. The pruleheaderdata.fCacheBased field in the BrtBeginPRule14 record equals 0.
If the pruleheaderdata.fCacheBased field in the BrtBeginPRule record equals 0 and the record is a BrtBeginPRule14 record and the pruleheaderdata.isxvd field in the same BrtBeginPRule or BrtBeginPRule14 record equals -2, then this PivotTable rule references the data field (section 2.2.5.3.7.5.2).
If the pruleheaderdata.fCacheBased field in the BrtBeginPRule record equals 0 and the record is a BrtBeginPRule14 record and the pruleheaderdata.isxvd field in the same BrtBeginPRule or BrtBeginPRule14 record does not equal -2, then this PivotTable rule references pivot items.
Cells that are associated with any pivot item, data item (section 2.2.5.3.7.5.1), or cache item (section 2.2.5.2.3) from an individual PRFILTER (defined in section 2.1.8) or PRFILTER14 rule (as defined in section 2.1.7.40) and that meet restrictions specified by the corresponding BrtBeginPRFilter (section 2.4.180) or BrtBeginPRFilter14 (section 2.4.181) record are associated with this PRFILTER or PRFILTER14 rule, respectively.
Cells that are associated with every PRFILTER (defined in section 2.1.8) or PRFILTER14 rule (as defined in section 2.1.7.40) of the PIVOTRULE (section 2.1.8) or PIVOTRULE14 rule (as defined in section 2.1.7.40) (respectively) are associated with the PRFILTERS or PRFILTERS14 rule (respectively) in the PIVOTRULE or PIVOTRULE14 rule (respectively). Cells that are associated with the PRFILTERS or PRFILTERS14 rule (as defined in section 2.1.7.40) in the PIVOTRULE (section 2.1.8) or PIVOTRULE14 rule (respectively) and that meet the restrictions specified by the corresponding BrtBeginPRule (section 2.4.186) or BrtBeginPRule14 (section 2.4.187) record are the cells specified by the PivotTable rule (section 2.2.5.3.9).
A cell is associated with a particular cache item (section 2.2.5.2.3) if it is associated with the pivot item (section 2.2.5.3.3) that has an association with that cache item.
2.2.5.3.10 PivotTable What-if Analysis
PivotTable What-if Analysis enables the editing of summarized values in an OLAP PivotTable view (section 2.2.5.3), for example, editing summarized values in the data area (section 2.2.5.3.8.1.4) of the PivotTable view.
138 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
The sequence of records that conform to the SXEDITS rule (defined in section 2.1.7.40) specifies the values in the OLAP PivotTable view that have been modified and specifies the corresponding values in the OLAP source data (section 2.2.5.2.1). The sequence of records that conform to the SXEDIT rule (defined in section 2.1.7.40) specifies a value or a formula. A value is specified by the Xnum (section 2.5.172) field of a BrtBeginSXEdit (section 2.4.246) record and MUST exist if and only if the sxet field of the BrtBeginSXEdit record is equal to SXET_NUM (section 2.5.147). A formula is specified by the FRTHeader field of the BrtBeginSXEdit record. The location of the modified value in the OLAP PivotTable view is specified by the PivotTable rule (section 2.2.5.3.9) that immediately follows the BrtBeginSXEdit record. The OLAP tuple that identifies the corresponding value in the OLAP source data is specified by the rgStTuple field of the BrtSXTupleItems (section 2.4.832) record that immediate follows the BrtBeginSXEdit record.
The sequence of records that conforms to the SXCHANGES rule (defined in section 2.1.7.40) specifies the values in the OLAP PivotTable view that have been designated for OLAP allocation and specifies the corresponding values in the OLAP source data. The order of the BrtBeginSXChange (section 2.4.236) records determines the order in which they are designated for OLAP allocation. The sequence of records that conforms to the SXCHANGE rule (defined in section 2.1.7.40) specifies a single edited value designated for OLAP allocation. An OLAP allocation value is specified by the xnum field of a BrtBeginSXChange record. The OLAP tuple that identifies the location of the edited value in the OLAP PivotTable view and the corresponding value in the OLAP source data is specified by the rgStTuple field of a BrtSXTupleItems record that immediately follows the BrtBeginSXChange record. The sxma field of the BrtBeginSXChange record specifies the OLAP allocation method.
For example, when an OLAP PivotTable is refreshed, the values designated for OLAP allocation (SXCHANGES) are sent to the OLAP source data (section 2.2.5.2.1) provider along with the OLAP allocation method indicating how to allocate the updated values. The OLAP source data provider updates the values, and those new values are then refreshed and summarized in the data area (section 2.2.5.3.8.1.4) of the PivotTable view (section 2.2.5.3) instead of summarizing the original values from the OLAP source data.
If the fEnableWB field of the BrtBeginSXView14 (section 2.4.279) is 0x0, SXEDITS (section 2.1.7.40) and SXCHANGES (section 2.1.7.40) MUST NOT exist in the part. PivotTable What-if Analysis is enabled if and only if the fEnableWB field of the BrtBeginSXView14 record is 0x1 and the source data is OLAP.
2.2.5.4 OLAP Data Model
This section provides background information about the underlying data model for OLAP entities.
The principal unit of scope is an OLAP cube. See section 2.2.8 for information about how an OLAP cube is accessed. Items within an OLAP cube can be addressed by an MDX unique name string. Within an OLAP cube, there are OLAP hierarchies, OLAP measures and OLAP named sets.
An OLAP hierarchy consists of one or more OLAP levels and OLAP member properties. An OLAP level consists of one or more OLAP members. An OLAP member is an atomic unit of data, for example customer "Jim Smith", or a grouping of data, for example "customers in the city of Chicago". OLAP levels contain OLAP members of similar type within an OLAP hierarchy. OLAP members can have parent and child members in OLAP levels above and below them, for example "Jim Smith" might be a child of "customers in the city of Chicago". An OLAP member property can be associated with a single OLAP level or all OLAP levels of an OLAP hierarchy, for example a "Mayor" OLAP member property might be associated with a "City" OLAP level.
An OLAP tuple is a way of combining multiple OLAP members to reference a particular point in an OLAP cube, for example "customers in the city of Chicago" and "2008" references data in the OLAP cube corresponding to the year 2008 and customers in Chicago.
An OLAP measure is a value that is available in the OLAP cube. Usually it is numeric, "Sales" and "Head Count" are typical examples of OLAP measures. An OLAP measure is an OLAP member in a
139 / 1118
[MS-XLSB] - v20251113
Excel (.xlsb) Binary File Format
Copyright © 2025 Microsoft Corporation
Release: November 13, 2025
measures OLAP hierarchy. For a PivotTable view (section 2.2.5.3), OLAP measures are stored differently from other OLAP members in this file format.
An OLAP tuple including an OLAP measure can be used to get a value, for example "customers in the city of Chicago", "2008" and "sales" might reference the value $659,000.
An OLAP named set is a collection of OLAP tuples. OLAP named sets are typically used for specific analytical needs that require custom logic, for example an OLAP named set might be defined as the OLAP tuples corresponding to "the top 10 customers by month and sales".
2.2.5.5 Non-Worksheet PivotTables
A PivotTable (section 2.2.5) with a PivotTable (section 2.1.7.40) part that is a target of an explicit relationship from a workbook (section 2.1.7.61) part, is specified to be a Non-Worksheet PivotTable. Non-Worksheet PivotTables provide a way for Charts (section 2.2.3) to be based on PivotTable data without having to show the data in a worksheet (section 2.1.7.62), for more information see [MS- ODRAWXML] section 2.6.1.21. A Non-Worksheet PivotTable MUST NOT be referenced by any other part than the workbook part.
There MUST be a BrtPivotCacheIdVersion (section 2.4.748) record between the BrtBeginPivotCacheDef (section 2.4.168) and BrtEndPivotCacheDef (section 2.4.521) records as defined by the PivotCache Definition (section 2.1.7.38) part ABNF, that specify the PivotCache (section 2.2.5.2) associated with a Non-Worksheet PivotTable.
The value of the bVerSxMacro field defined in the BrtBeginSXView (section 2.4.278) record associated with a Non-Worksheet PivotTable MUST be greater than or equal to 3.
The field rfxGeom of the BrtBeginSXLocation (section 2.4.255) record as specified by the SXLOCATION rule in the PivotTable (section 2.1.7.40) part ABNF, MUST have value 0 for its members rwFirst and colFirst.
The records BrtBeginSxEdits (section 2.4.247) and BrtEndSxEdits (section 2.4.600) as specified by SXEDITS rule in the PivotTable part ABNF MUST NOT exist in this PivotTable part.
The records BrtBeginSxChanges (section 2.4.237) and BrtEndSxChanges (section 2.4.590) as specified by SXCHANGES rule in the PivotTable part ABNF MUST NOT exist in this PivotTable part.
The records BrtBeginSXCondFmts (section 2.4.240) and BrtEndSXCondFmts (section 2.4.593) as specified by SXCONDFMTS rule in the PivotTable part ABNF MUST NOT exist in this PivotTable part.
The BrtBeginSXView (section 2.4.278) record that specifies a Non-Worksheet PivotTable MUST satisfy the following conditions.
The fEnableDataEd field MUST be 0.
The PivotTable name specified by the irstName field MUST be unique among all the Non- Worksheet PivotTables in the workbook.
2.2.5.6 PivotValues
The PivotValues collection is a collection of values that exist in the data area (section 2.2.5.3.8.1.4) of a PivotTable view (section 2.2.5.3). PivotValues contains a collection of PivotValueCell (section 2.2.5.6.1) data units that are organized as rows and columns (1) in the data area of the PivotTable view.
For a Non-Worksheet PivotTable (section 2.2.5.5), the values of PivotValues are specified by the BrtBeginSxvcells (section 2.4.272) and the BrtEndSxvcells (section 2.4.625) records.
140 / 1118
[MS-XLSB] - v20251113
Excel (.xlsb) Binary File Format
Copyright © 2025 Microsoft Corporation
Release: November 13, 2025
For PivotTable structures on a worksheet (section 2.1.7.62), the values of PivotValues are specified by the cells of the worksheet cell table in the locations that are specified by the BrtBeginSXLocation (section 2.4.255) record and the BrtEndSXLocation (section 2.4.608) record.
2.2.5.6.1 PivotValueCell
A PivotValueCell is an individual data unit in the Data Area (section 2.2.5.3.8.1.4) of a PivotTable View (section 2.2.5.3). PivotValueCells contain summarized values for associated PivotTable Data Items (section 2.2.5.3.7.5.1). Every PivotValueCell can have two kinds of information associated with it, the Value (section 2.2.5.6.1.1) and the Server Formatting (section 2.2.5.6.1.2) information.
2.2.5.6.1.1 Value
The value of a PivotValueCell (section 2.2.5.6.1) is specified to be the number, string, error, date associated with the PivotValueCell.
2.2.5.6.1.2 Server Formatting
The server formatting of a PivotValueCell (section 2.2.5.6.1) specifies formatting to be applied to the PivotValueCell and is specified by the PCDISrvFmt (section 2.5.102) structure.
2.2.6 Styles
The styles (section 2.1.7.50) part contains formatting and protection information. This information is used to describe the cell formatting in a sheet.
Cell formatting is composed of several sets of properties:
Font properties such as bold, italic, font color, and font size.
Fill properties such as foreground and background colors, pattern, and gradient.
Alignment properties such as left, center, and right alignment.
Border properties such as left, right, top, bottom, thick or thin, and color.
Number formatting properties (date, time, number of decimal places, etc…)
Protection properties such as locked and hidden.
These properties, as a whole, describe how a particular cell is displayed and printed.
There are two types of objects in the styles part that contain formatting properties. They are XFs (section 2.2.6.1) and DXFs (section 2.2.6.2). In general, XFs describe the formatting directly associated with a cell, and DXFs describe additional formatting properties that can be applied to one or more cells.
2.2.6.1 XFs
XFs specify formatting for cells and cell styles (section 2.2.6.1.2).
XFs are specified by BrtXF (section 2.4.876) records. BrtXF records specify font, fill, border and number formatting via indices into the FONTS (section 2.1.7.50), FILLS (section 2.1.7.50), BORDERS (section 2.1.7.50), and FMTS (section 2.1.7.50) collections. Alignment and protection properties are specified directly in the BrtXF record.
2.2.6.1.1 Cell XFs
141 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
Cell XFs are specified by BrtXF (section 2.4.876) records in the CELLXFS (section 2.1.7.50) collection. Each cell MUST reference a cell XF. These records specify the complete set of formatting properties for the cells that reference them.
2.2.6.1.2 Cell Styles
Cell styles specify a set of formatting properties that can be associated with one or more cells. Cell styles provide the following two benefits:
The set of formatting properties in a cell style can be applied to one or more cells in a single operation.
Once a cell style is applied to a cell, subsequent changes to the formatting properties in the cell style can be propagated to the cell automatically.
For example, if it is desired that multiple cells in a sheet share a common set of formatting properties, such as bold font with a blue fill, then cell styles make it convenient to apply this set of formatting, and potentially modify the set later.
A BrtStyle (section 2.4.809) record specifies a friendly name for a cell style.
2.2.6.1.2.1 Cell Style XFs
A cell style XF defines the set of formatting properties in a cell style (section 2.2.6.1.2), and is specified by a BrtXF (section 2.4.876) record in the CELLSTYLEXFS (section 2.1.7.50) collection. Each cell MUST reference a cell XF (section 2.2.6.1.1) , and each cell XF MUST reference a cell style XF with the ixfeParent field.
2.2.6.1.2.2 Normal Style
At least one cell style (section 2.2.6.1.2) MUST be included in the STYLES (section 2.1.7.50) collection and this cell style (section 2.2.6.1.2) is called the normal style. The normal style MUST reference the first BrtXF (section 2.4.876) record in the CELLSTYLEXFS collection, and this BrtXF record MUST be a cell style XF (section 2.2.6.1.2.1), where the fStyle field equals 1.
The normal style, being the only required cell style, ensures that all cells have a cell style to reference. The normal style also provides a convenient object in which to store default cell formatting properties for an entire workbook, because all cells reference the normal style by default, until they are modified to reference a different cell style.
2.2.6.2 Differential Formatting (DXFs)
Like XFs (section 2.2.6.1), DXFs define a set of formatting properties. Unlike XFs, DXFs can define any number of formatting properties, from just one to all of them.
DXFs provide a way for features to reference a set of formatting properties. How those properties are used depends on the feature. The subsections that follow describe each of these features and how they use DXFs.
DXFs are specified by BrtDXF (section 2.4.359) records in the DXFS (section 2.1.7.50) collection, or by BrtDXF14 (section 2.4.360) records in the DXF14S collection.
Future records (section 2.1.6) that refer to differential formatting MUST refer to BrtDXF14 records.
2.2.6.2.1 Conditional Formatting
Some conditional formatting rules, as specified by BrtBeginCFRule (section 2.4.23), reference a DXF (section 2.2.6.2). That DXF describes additional formatting applied to cells within the bounds of the rule, if the rule’s condition is TRUE for those cells.
142 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
2.2.6.2.2 Table Style Elements
Table style elements are specified either by BrtTableStyleElement (section 2.4.848) or, in the case of table style element specific to slicer styles (section 2.2.6.3.1), by BrtSlicerStyleElement (section 2.4.804), or, in the case of table style element specific to timeline styles (section 2.2.6.3.2), by BrtTimelineStyleElement (section 2.4.851). In whichever case, table style elements can reference a DXF (section 2.2.6.2) which specifies the formatting to apply to a particular portion of a table, PivotTable (section 2.2.5), slicer (section 2.2.14.2) or timeline (section 2.2.15.2) within the bounds of the table style element. If no DXF is referenced, this specifies no formatting.
The bounds of a table style element are specified by the tseType field in the BrtTableStyleElement record, the tseType field in the BrtSlicerStyleElement record, or the tseType field in the BrtTimelineStyleElement record.
2.2.6.2.3 Table Block-Level Formatting
A table, as specified by the BrtBeginList (section 2.4.100) record, can reference a DXF (section 2.2.6.2) via the nDxfHeader, nDxfData, nDxfAgg, nDxfBorder, nDxfHeaderBorder or nDxfAggBorder fields. These DXFs (section 2.2.6.2) represent formatting that can be applied to the cells within those areas of the table.
2.2.6.2.4 PivotTable Areas
A PivotTable (section 2.2.5) format record, as specified by BrtBeginSXFormat (section 2.4.250), can reference a DXF (section 2.2.6.2). This DXF represents formatting that can be applied to the cells within the appropriate area of the PivotTable.
2.2.6.2.5 Sorting and Filtering
Sorting, as specified by the BrtBeginSortCond (section 2.4.225), and filtering, as specified by the BrtColorFilter (section 2.4.339) record, can include formatting properties as part of their criteria. These properties are stored as DXFs (section 2.2.6.2). For example, a filter criteria that is "filter only cells with red font color" will reference a DXF with the property "font color = red".
2.2.6.3 Table Styles
Table styles specify additional formatting for cells inside tables, PivotTables (section 2.2.5), for visual components of slicer views (section 2.2.14.2), or for visual components of timeline views (section 2.2.15.2). Table styles used for slicer views are specified in slicer styles (section 2.2.6.3.1). Table styles used for timeline views are specified in timeline styles (section 2.2.6.3.2).
Tables and PivotTables specify an applied table style with the BrtTableStyleClient (section 2.4.847) record. For tables, this record MUST exist in the collection of records beginning with BrtBeginList (section 2.4.100). For PivotTables, this record MUST exist in the collection of records beginning with BrtBeginSXView (section 2.4.278).
A BrtTableStyleClient (section 2.4.847) record references a table style by name with the stStyleName field.
Table styles are either built-in or user-defined. Built-in table styles for tables and PivotTables (section 2.2.5) are specified in [ISO/IEC29500-1:2016] section 18.8. User-defined table styles are specified in the collection of records beginning with BrtBeginTableStyles (section 2.4.284).
A table style consists of a collection of table style elements (section 2.2.6.2.2). For user-defined table styles, these elements are specified by the collection of BrtTableStyleElement (section 2.4.848) records following BrtBeginTableStyle (section 2.4.283).
143 / 1118
[MS-XLSB] - v20251113
Excel (.xlsb) Binary File Format
Copyright © 2025 Microsoft Corporation
Release: November 13, 2025
Each table style element specifies the formatting to be applied to cells in a particular region of the table or PivotTable, or visual components in a particular region of a slicer view or timeline view. These regions or visual components are specified by the possible values of the tseType field of the BrtTableStyleElement, BrtSlicerStyleElement (section 2.4.804) and BrtTimelineStyleElement (section 2.4.851) records.
2.2.6.3.1 Slicer Styles
Slicer styles specify the formatting to apply to visual components of slicer views (section 2.2.14.2).
The stStyle field of the BrtBeginSlicer (section 2.4.203) record specifies the slicer style to be applied. A slicer style can be either built-in or user-defined. Built-in slicer styles are specified in BrtBeginSlicer. User-defined slicer styles are specified in the collection of records beginning with BrtBeginSlicerStyles (section 2.4.222).
A slicer style is an extension of a table style (section 2.2.6.3). A user-defined slicer style is specified by a BrtBeginSlicerStyle (section 2.4.220) record and the BrtBeginTableStyle (section 2.4.283) record it references. A slicer style consists of a collection of table style elements (section 2.2.6.2.2). For user-defined slicer styles, these elements are specified by the collection of BrtSlicerStyleElement (section 2.4.804) records following BrtBeginSlicerStyle and the table style elements specified by the user-defined table style referenced by stName field of the BrtBeginSlicerStyle record.
2.2.6.3.2 Timeline Styles
Timeline styles specify the formatting to apply to visual components of timeline views (section 2.2.15.2).
The style attribute of the CT_Timeline element ([MS-XLSX] section 2.6.111) specifies the timeline style to be applied. A timeline style can be either built-in or user-defined. Built-in timeline styles are specified in CT_Timeline element. User-defined timeline styles are specified in the collection of records beginning with BrtBeginTimelineStyles (section 2.4.292).
A timeline style is an extension of a table style (section 2.2.6.3). A user-defined timeline style is specified by a BrtBeginTimelineStyle (section 2.4.290) record and the BrtBeginTableStyle (section 2.4.283) record it references. A timeline style consists of a collection of table style elements (section 2.2.6.2.2). For user-defined timeline styles, these elements are specified by the collection of BrtTimelineStyleElement (section 2.4.851) records following BrtBeginTimelineStyle and the table style elements specified by the user-defined table style referenced by stName field of the BrtBeginTimelineStyle record.
2.2.6.4 Format Conflicts
As described previously, the formatting to be displayed or printed for a particular cell can be specified in several independent records. It is up to the application to resolve conflicting formatting properties for a particular cell.
For example, suppose a cell has a conditional format (section 2.2.6.2.1) applied and also falls within the bounds of a table with a table style (section 2.2.6.3). Furthermore, suppose the cell XF (section 2.2.6.1.1), conditional format and table style element (section 2.2.6.2.2) all specify a different font color. It is up to the application to decide the appropriate font color to use in this situation.
2.2.7 External References
The External References infrastructure exists to support formulas (section 2.2.2) that reference data sources outside the scope of the sheet on which the formula resides. These sources could be other sheets in the same workbook, data in another workbook, DDE links, or Object Linking and Embedding (OLE) links. A workbook which uses External References will contain a collection of
144 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
supporting link records (section 2.2.7.3), each of which denotes a link to a data source. Each formula which incorporates an external reference will point to the appropriate supporting link record to specify the source of the data.
Figure 17: External references
The following sections define terms used in the preceding diagram.
2.2.7.1 External Reference Consumers
Within the formula, only certain formula elements (section 2.2.2.6) can contain external references.
These specific formula elements contain an XtiIndex (section 2.5.98.103) structure specifying an Xti
(section 2.5.173), which in turn specifies the location and type of the external reference data. Only
the following Ptgs (section 2.5.98.16) can be external reference consumers:
PtgRef3d (section 2.5.98.69)
PtgRefErr3d (section 2.5.98.71)
PtgArea3d (section 2.5.98.19)
145 / 1118
[MS-XLSB] - v20251113
Excel (.xlsb) Binary File Format
Copyright © 2025 Microsoft Corporation
Release: November 13, 2025
PtgAreaErr3d (section 2.5.98.21)
PtgNameX (section 2.5.98.61)
PtgList (section 2.5.98.52)
2.2.7.2 Supporting Link
Each formula element (section 2.2.2.6) which references external data refers to an Xti (section 2.5.173). The Xti specifies a particular supporting link record (section 2.2.7.3) from the collection stored in the workbook. The Xti and supporting link record together specify where the data used by the formula element resides, and in certain cases, additional data about the supporting link.
2.2.7.3 Supporting Link Record
There are four types of supporting links, which are represented by the four types of supporting link records. The type of the supporting link used is specified by the type of supporting link record that is specified by the Xti (section 2.5.173). These supporting link types, and the corresponding supporting link record types, are defined in the following table.
Supporting link type Supporting link record type Meaning Self-Referencing BrtSupSelf (section 2.4.824) A reference back into the same workbook.
This supporting link type
supports cross-sheet references,
where the target sheets are
specified by the scope
information in the Xti. This
record can also support defined
name or UDF reference on the
same book, although using the
PtgName (section 2.5.98.60)
formula element (section
2.2.2.6) can be simpler.
Same-Sheet Referencing BrtSupSame (section 2.4.823) A reference to the active sheet in the context of the consuming formula (section 2.2.2).
This supporting link type is used
by formula in macro sheets and
in defined names to reference
the sheet of the caller.
Add-in Referencing BrtSupAddin (section 2.4.810) A reference to a UDF on any Excel Linked Library (XLL) or COM automation add-in. External Link Referencing BrtSupBookSrc (section A reference to an external link 2.4.811) (section 2.2.7.4).
2.2.7.4 External Link
An external link is a type of supporting link (section 2.2.7.2) that references a data source outside the current workbook. The BrtSupBookSrc (section 2.4.811) record that specifies an external link that contains a relationship to an External Links (section 2.1.7.25) part that will contain further information about this external link. There are three types of external links. The type is specified by the sbt field in the BrtBeginSupBook (section 2.4.235) record in the External Links part. These three types of external links are specified by the sequence of records that conform to the
146 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
EXTERNALBOOK rule (as defined in section 2.1.7.25) or by the sequence of records that conform to the DDEOLELINK rule (as defined in section 2.1.7.25) in the External Links part ABNF, and are defined in the following table.
External link type Record sequence ABNF
External Workbook (section 2.1.10) EXTERNALBOOK
DDE Data Source (section 2.2.7.4.2) DDEOLELINK
OLE Data Source (section 2.2.7.4.3) DDEOLELINK
2.2.7.4.1 External Workbook Links
An external workbook link is a reference to a workbook other than the one in which the source formula (section 2.2.2) resides. It contains the referencing expression, and data relating to that expression. This data includes the workbook location, sheet names, external defined names (section 2.2.7.4.1.1), and an external cell cache (section 2.2.7.4.1.2) for referenced cells in that workbook.
2.2.7.4.1.1 External Defined Name
An external defined name is a reference to a defined name in an external workbook (section 2.1.10). The records specifying the external defined name will provide the name, scope, and formula (section 2.2.2) of the defined name on that workbook. The restrictions on the types of formulas supported in external defined names are described in section 2.4.816.
2.2.7.4.1.2 External Cell Cache
To allow external cell references to be calculated without opening the referenced workbook, an external cell cache is stored in the file which contains cached values for cells in a sheet in an external workbook (section 2.1.10). The external cell cache contains cell values and value metadata (section 2.2.4.3) information only about the specific cells which are referenced in that sheet.
The external cell cache is composed of a collection of rows that correspond to rows in the source sheet. These rows, and their row indexes in the source sheet, are specified by a BrtExternRowHdr (section 2.4.671) record. The rows MUST be specified in order of increasing row index. Each row MUST contain one or more external cells (section 2.2.7.4.1.2.1).
2.2.7.4.1.2.1 External Cells
An external cell is cached data about a single cell in the external cell cache (section 2.2.7.4.1.2) and is represented by the following records:
BrtExternCellBlank (section 2.4.666)
BrtExternCellString (section 2.4.670)
BrtExternCellReal (section 2.4.669)
BrtExternCellError (section 2.4.668)
BrtExternCellBool (section 2.4.667)
External cell records specify the data type, data value, and the column (1) location of that cell in the source sheet. The external cells in a row in an external cell cache (section 2.2.7.4.1.2) MUST be specified in order of increasing column (1) index. Any value metadata (section 2.2.4.3) in the External
147 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
cell is specified by an optional BrtExternValueMeta (section 2.4.675) record preceding the data records listed earlier.
2.2.7.4.2 DDE Data Source
A DDE Data Source will provide information about the DDE server and DDE topic name of a Dynamic Data Exchange (DDE) connection. The External Links (section 2.1.7.25) part specifying this DDE Data Source will also specify individual DDE data items (section 2.2.7.4.2.1) used by this data source.
2.2.7.4.2.1 DDE Data Item
A DDE data item will specify the name and properties of a DDE item. It also contains cached values from the most recent DDE data update.
2.2.7.4.3 OLE Data Source
An OLE data source will provide information about an OLE2 data connection. It will specify the path to the OLE2 data source, and the ProgID of the application handler. This also specifies the names of the OLE Data Items (section 2.2.7.4.3.1) used in this data source.
2.2.7.4.3.1 OLE Data Item
An OLE data item will specify the name and properties of a connection to an OLE2 data object, and optionally<3> cached values for the most recent data update.
2.2.8 External Connections
A workbook often pulls in data from external data sources, such as a database or an OLAP cube. An external connection represents a link between a workbook and a particular external data source. It contains properties about the way that the application establishes the connection to the data source and retrieves the data, such as the type of data provider (OLE DB, ODBC, and other data providers), a server name, security information, and a command to execute on the server. In addition, the external connection contains details about the way the connection is used in the workbook, such as how often to refresh the data.
A data connection object contains external connection information for an external data source that a workbook uses. Data connection objects are independent of the constructs in the workbook that display data, such as tables or PivotTables (section 2.2.5).
A connection definition can be established in an external connection file for easier sharing and reuse, but this overview describes the representation for external data connections that are directly embedded within a workbook file. This embedded representation is required whenever external data is used, and ensures portability of the document and continued operation of the external query in the most cases.
An external connection is specified by a set of records, as defined in EXTCONNECTION (section 2.1.7.24). The types of records in the collection are specified by the idbtype field of the BrtBeginExtConnection (section 2.4.80) record.
The following record types refer to external connections:
BrtBeginPCDSource (section 2.4.166)
BrtBeginQSI (section 2.4.188)
BrtBeginList (section 2.4.100)
148 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
The link between a BrtBeginExtConnection record and the records referring to it is specified by the unique connection identifier. The connection identifier is specified by the dwConnID field in the BrtBeginExtConnection record and in the dwConnID fields in the records that refer to it. If the dwConnID field in one of the referring records is 0, this record does not refer to external data.
It is possible for an external connection to not be used by any workbook object. In this case there is no record referring to it.
2.2.8.1 Connection Name
Each external connection has a unique name, which can be used by the application as a friendly name for the connection, for example for user interface purposes. The connection name is specified by the stConnName field of the BrtBeginExtConnection (section 2.4.80) record.
2.2.8.2 External Connection Files
An external connection file specifies an external connection in a separate file (external to the workbook). An external connection file enables managing connection information separately from a specific workbook and sharing it among multiple workbooks. It is used for creating a new external connection in a workbook or for restoring a lost connection. The stConnectionFile field of the BrtBeginExtConnection (section 2.4.80) record specifies a path to an external connection file.
2.2.8.3 OLE DB Connections
An OLE DB connection is a connection to an OLE DB data provider. An external connection is an OLE DB connection if the idbtype field of the BrtBeginExtConnection (section 2.4.80) record is DBTOLEDB (section 2.5.31). Properties of an OLE DB connection are specified by a BrtBeginECDbProps (section 2.4.61) record that MUST follow the BrtBeginExtConnection (section 2.4.80) record.
2.2.8.3.1 OLAP Connections
An OLAP connection is a connection to an OLE DB for OLAP data provider. An OLE DB connection is an OLAP connection if the icmdtype field of the BrtBeginECDbProps (section 2.4.61) is CMDCUBE (section 2.5.21). Properties of an OLAP connection are specified by a BrtBeginECOlapProps (section 2.4.62) record that MUST follow the BrtBeginECDbProps record.
2.2.8.4 ODBC Connections
An ODBC connection is a connection to an ODBC data provider. An external connection is an ODBC connection if the idbtype field of the BrtBeginExtConnection (section 2.4.80) record is DBTODBC (section 2.5.31). Properties of an ODBC connection are specified by a BrtBeginECDbProps (section 2.4.61) record that MUST follow the BrtBeginExtConnection (section 2.4.80) record. If an ODBC connection has parameters, these parameters are specified by a BrtBeginECParams (section 2.4.64) record. For more information about ODBC, see [MSDN-OpenDBConnectivity].
2.2.8.5 Web Connections
A Web connection pulls the content of a Web page, or part of a Web page (an HTML table), into the workbook. An external connection is a Web connection if the idbtype field of the BrtBeginExtConnection (section 2.4.80) record is DBTWEB (section 2.5.31). Properties of a Web connection are specified by a BrtBeginECWebProps (section 2.4.71) record that MUST follow the BrtBeginExtConnection (section 2.4.80) record. If a Web connection has parameters, these parameters are specified by a BrtBeginECParams (section 2.4.64) record.
149 / 1118
[MS-XLSB] - v20251113
Excel (.xlsb) Binary File Format
Copyright © 2025 Microsoft Corporation
Release: November 13, 2025
2.2.8.6 Text Import Connections
A text importation connection pulls in data from a structured text file into the workbook. An external connection is a text importation connection if the idbtype field of the BrtBeginExtConnection (section 2.4.80) record is DBTTEXT (section 2.5.31). Properties of a text importation connection are specified by a BrtBeginECTxtWiz (section 2.4.69) record that MUST follow the BrtBeginExtConnection record.
2.2.8.7 ADO Recordset Connections
An ADO recordset pulls in data from a set of records in an ADO data provider. An external connection is an ADO recordset connection if the idbtype field of the BrtBeginExtConnection (section 2.4.80) record is DBTADO (section 2.5.31). The sequence of records that conforms to the EXTCONNECTION rule (as defined in section 2.1.7.24) for this connection type MUST NOT contain the sequence of records that conforms to any of the following rules: ECDBPROPS (section 2.1.7.24), ECOLAPPROPS (section 2.1.7.24), ECWEBPROPS (section 2.1.7.24), ECTXTWIZ (section 2.1.7.24), or ECPARAMS (section 2.1.7.24).
Note: For this type of connection, the file format does not contain sufficient information for establishing the connection and fetching a recordset. Data is provided to the application through another mechanism, for example by script code using an object model.
2.2.8.8 DAO Recordset Connections
A DAO recordset pulls in data from a set of records in a DAO data provider. An external connection is a DAO recordset connection if the idbtype field of the BrtBeginExtConnection (section 2.4.80) record is DBTDAO (section 2.5.31). The sequence of records that conforms to the EXTCONNECTION rule (as defined in section 2.1.7.24) for this connection type MUST NOT contain the sequence of records that conforms to any of the following rules: ECDBPROPS (section 2.1.7.24), ECOLAPPROPS (section 2.1.7.24), ECWEBPROPS (section 2.1.7.24), ECTXTWIZ (section 2.1.7.24), or ECPARAMS (section 2.1.7.24).
Note: For this type of connection, the file format does not contain sufficient information for establishing the connection and fetching a recordset. Data is provided to the application through another mechanism, for example by script code using an object model.
2.2.8.9 Model Data Source Connections
Model data source connections pull data in to the spreadsheet data model (as specified in [MS- XLDM]) instead of directly pulling it into workbook. A connection is a model data source if the idbtype field of the BrtBeginExtConnection (section 2.4.80) record is one of the following (section 2.5.31):
DBTOLEDBPP
DBTDATAFEED
DBTWORKSHEET
DBTTEXTPP
2.2.8.9.1 Model Data Source OLE DB Connections
An OLE DB connection is a connection to an OLE DB data provider. An external connection is a model data source OLE DB connection if the idbtype field of the BrtBeginExtConnection (section 2.4.80) record is DBTOLEDBPP, as specified in section 2.5.31. Properties of a model data source OLE DB connection are specified by a BrtBeginOledbPr15 record (section 2.4.121) that MUST follow the BrtBeginExtConn15 record (section 2.4.79).
150 / 1118
[MS-XLSB] - v20251113
Excel (.xlsb) Binary File Format
Copyright © 2025 Microsoft Corporation
Release: November 13, 2025
2.2.8.9.2 Model Data Source Data Feed Connections
A data feed connection is a connection to an OData data provider. An external connection is a model data source data feed connection if the idbtype field of the BrtBeginExtConnection record (section 2.4.80) is DBTDATAFEED (section 2.5.31). Properties of a model data source data feed connection are specified by a BrtBeginDataFeedPr15 record (section 2.4.45) that MUST follow the BrtBeginExtConn15 record (section 2.4.79). For more information about OData, see [OData-Protocol].
2.2.8.9.3 Model Data Source Worksheet Connections
A Worksheet data connection pulls data from a workbook range. An external connection is a model data source worksheet connection if the idbtype field of the BrtBeginExtConnection (section 2.4.80) record is DBTWORKSHEET, as specified in section 2.5.31. Properties of a model data source worksheet connection are specified by a BrtRangePr15 record (section 2.4.762) that MUST follow the BrtBeginExtConn15 record (section 2.4.79).
2.2.8.9.4 Model Data Source Text import Connections
A text importation connection pulls in data from a structured text file into the workbook. A model data source connection is a text importation connection if the idbtype field of the BrtBeginExtConnection record (section 2.4.80) is DBTTEXTPP (section 2.5.31). Properties of a text importation connection are specified by a BrtBeginECTxtWiz15 record (section 2.4.70) that MUST follow the BrtBeginExtConn15 record (section 2.4.79). The BrtBeginECTxtWiz15 record could be followed by a BrtTextPr15 record (section 2.4.849).
2.2.9 Password Verifier Algorithm
Several protection records BrtBookProtection (section 2.4.311), BrtSheetProtection (section 2.4.792), BrtCsProtection (section 2.4.345), BrtRangeProtection (section 2.4.763), BrtRangeProectionIso (section 2.4.765), BrtRangeProtectionIso14 (section 2.4.766), BrtRangeProtection14 (section 2.4.764), and BrtFileSharing (section 2.4.678) use a password verifier to provide a locking and unlocking system for viewing or editing parts of the workbook. This password verifier is used to prevent accidental editing, and is not designed to be used as a security feature. The verifier value is calculated in two stages. First, the provided Unicode password string is converted to a new character string in the ANSI codepage of the current system using the algorithm specified in the revisionsPassword attribute in [ISO/IEC29500-1:2016] section 18.2.29. Second, this string is input into the XOR obfuscation algorithm specified in [MS-OFFCRYPTO] section 2.3.7.1, Binary Document Password Verifier Derivation Method 1 to produce a 16-bit password verifier value.
See section 4 for information about security concerns related to the use of this algorithm for password verification in this file format.<4>
2.2.10 Strong Password Verifier Algorithm
Several protection records BrtBookProtectionIso (section 2.4.312), BrtSheetProtectionIso (section 2.4.793), BrtCsProtectionIso (section 2.4.346), BrtRangeProectionIso (section 2.4.765), BrtRangeProtection14 (section 2.4.764), and BrtFileSharingIso (section 2.4.679) use a strong password hash (compatible with ISO/IEC 29500 as described in [ISO/IEC29500-1:2016] sections 18.2.12, 18.2.29, 18.3.1.71, 18.3.1.84, and 18.3.1.85) to provide a locking and unlocking system for viewing or editing parts of the workbook. This password hash is used to prevent accidental editing, and is not designed to be used as a security feature. Password hashes are usually computed by the algorithm specified in [MS-OFFCRYPTO] section 2.4.2.4 ISO Write Protection Method. Under some circumstances, the password is first converted to a 16-bit verifier value as specified by the Password Verifier Algorithm (section 2.2.9) and reinterpreted as a single Unicode character, which is then passed to the algorithm specified in [MS-OFFCRYPTO] section 2.4.2.4 ISO Write Protection Method.
151 / 1118
[MS-XLSB] - v20251113
Excel (.xlsb) Binary File Format
Copyright © 2025 Microsoft Corporation
Release: November 13, 2025
There is no way to determine which method was used to generate a hash without knowledge of the password; it is necessary to compute both hashes to verify the password.
See section 4 for information about security concerns related to the use of this algorithm for password verification in this file format.
2.2.11 Encryption (Password to Open)
Workbook files can contain sensitive information that needs to be protected. A file can be protected by encrypting it using a password. Once a file is encrypted, the data can only be accessed by decrypting the file using a password.
File encryption for this format is specified in [MS-OFFCRYPTO] section 2.3.4.
See section 4 for information about security concerns relating to file encryption for this file format.
2.2.12 Shared Workbooks
The shared workbook infrastructure is used to enable multiple users to make changes to a workbook at the same time and track changes made by certain users. A shared workbook contains a collection of users that currently have the document open and revision logs (section 2.2.12.3) that contain the changes that users have made to the workbook. Each of these logs has a corresponding revision header associated with it and contains either zero or more revision records (section 2.2.12.4) that have been made to the shared workbook since it has been shared. A workbook is a shared workbook if and only if the user names (section 2.1.7.55) stream exist.
152 / 1118
[MS-XLSB] - v20251113
Excel (.xlsb) Binary File Format
Copyright © 2025 Microsoft Corporation
Release: November 13, 2025
Figure 18: Shared workbooks
The following sections define terms used in the preceding diagram.
2.2.12.1 User Log
The user log contains the set of users who currently have the workbook open. BrtCUsr (section 2.4.347) specifies the number of BrtUsr (section 2.4.857) records that the user log contains. Each BrtUsr record corresponds to a user that currently has the workbook open. The guid field of BrtUsr maps to the guid field of BrtRRHeader (section 2.4.780) to specify the latest revision header and revision logs (section 2.2.12.3) pair that the user is currently synchronized to.
153 / 1118
[MS-XLSB] - v20251113
Excel (.xlsb) Binary File Format
Copyright © 2025 Microsoft Corporation
Release: November 13, 2025
2.2.12.2 Revision Headers Log
The revision header log contains revision headers BrtRRHeader (section 2.4.780) that are used to provide general information about the revision logs (section 2.2.12.3). A single revision header exists for each of the revision logs in the workbook and specifies basic information about that particular revision log. The szRelId field of the BrtRRHeader specifies a relationship identifier for the corresponding revision log (section 2.2.12.3). Each revision log and revision header specifies a user action, such as a unique user opening the workbook for the first time, or a set of changes made by a single user to the shared workbook (section 2.2.12). The user’s name is specified in the stName field of BrtRRHeader. The Revision Headers (section 2.1.7.43) part ABNF also contains general information about the shared workbook in BrtInfo (section 2.4.700).
2.2.12.3 Revision Logs
The revision logs contain either various revision records (section 2.2.12.4) that a single user has made to a shared workbook (section 2.2.12) or no revision records if the revision log is meant to specify a user action.
2.2.12.4 Revision Records
Revision records specify changes, or revisions, that a single user has made to a shared workbook (section 2.2.12). The following changes can be recorded by the shared workbook:
Inserting or deleting a row or column (1) BrtRRInsDel (section 2.4.781).
Moving a cell BrtRRMove (section 2.4.783).
Changing a cell BrtRRChgCell (section 2.4.772).
Adding or removing a custom view BrtRRUserView (section 2.4.788).
Renaming an existing sheet BrtRRRenSheet (section 2.4.785).
Inserting a new sheet BrtRRInsertSh (section 2.4.782).
Changing a defined name BrtRRDefName (section 2.4.774).
Changing a comment BrtRRNote (section 2.4.784).
Conflict resolution from previous conflicting changes BrtRRConflict (section 2.4.773).
Removing a query table BrtRRTQSIF (section 2.4.787).
Changing the format BrtRRFormat (section 2.4.779).
Changing the AutoFormat information for a table BrtRRAutoFmt (section 2.4.771).
If a change is a reviewable revision, then it will have a revid field that is greater than or equal to the revidMin field and less than or equal to the revidMax field from the corresponding revision header to the revision log (section 2.2.12.3) that this is contained in.
2.2.12.5 Format Revision
This revision corresponds to a change in formatting. In between BrtRRFormat (section 2.4.779) and BrtRREndFormat (section 2.4.776), a BrtDXF (section 2.4.359) record can appear in between a BrtBeginDXFs (section 2.4.58) and a BrtEndDXFs (section 2.4.414). This record specifies the new formatting information associated with this format change.
154 / 1118
[MS-XLSB] - v20251113
Excel (.xlsb) Binary File Format
Copyright © 2025 Microsoft Corporation
Release: November 13, 2025
2.2.12.6 Insertion / Deletion of Rows / Columns Revision
This revision corresponds to an insertion or deletion of a row or column (1). In between BrtRRInsDel (section 2.4.781) and BrtRREndInsDel (section 2.4.777), any number of BrtRRFormat (section 2.4.779) and BrtRRChgCell (section 2.4.772) records can appear as well as the other records associated with them. These records specify the cell and format changes as a result of inserting or deleting the row or column (1). Immediately following BrtRRInsDel (section 2.4.781), an undo chain (section 2.2.12.9) can appear.
2.2.12.7 Move Cells Revision
This revision corresponds to moving of a range of cells. In between BrtRRMove (section 2.4.783) and BrtRREndMove (section 2.4.778), any number of BrtRRFormat (section 2.4.779) and BrtRRChgCell (section 2.4.772) records can appear as well as the other records associated with them. These records specify the cell and format changes as a result of moving the range of cells. Immediately following BrtRRMove, an undo chain (section 2.2.12.9) can appear.
2.2.12.8 Change Cells Revision
This revision corresponds to a change or edit of a cell. In between BrtRRChgCell (section 2.4.772) and BrtRREndChgCell (section 2.4.775), one or two cell descriptions as well as zero to two BrtDXF (section 2.4.359) records can appear in between a BrtBeginDXFs (section 2.4.58) and a BrtEndDXFs (section 2.4.414). The cell descriptions are one of the following records:
BrtCellBlank (section 2.4.319)
BrtCellRk (section 2.4.327)
BrtCellError (section 2.4.321)
BrtCellBool (section 2.4.320)
BrtCellReal (section 2.4.326)
BrtCellSt (section 2.4.330)
BrtCellIsst (section 2.4.324)
BrtFmlaString (section 2.4.687)
BrtFmlaNum (section 2.4.686)
BrtFmlaBool (section 2.4.684)
BrtFmlaError (section 2.4.685)
If there are two cell descriptions, the first one specifies the old cell value, and the second one specifies the new cell value. If there is just one cell description, it specifies the new cell value. If BrtDXF (section 2.4.359) records follow, the first one specifies the old formatting information associated with the cell and the second one specifies the new formatting information that is associated with the cell. If only one BrtDXF record appears, the following heuristic can be used to determine if the formatting information specifies the old or new formatting.
If the fDxf field of BrtRRChgCell (section 2.4.772) is true and fDxfNull is false, then it specifies new formatting information. If the fOldFmt field of BrtRRChgCell is true and fOldFmtNull is false, then it specifies old formatting information.
155 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
2.2.12.9 Undo Chain
The undo chain is made up of a group of zero or more BrtUCR (section 2.4.854) records that specify undo information for the revision that it is associated with.
2.2.12.10 Sort Map
The sort map contains changes to sorting done on the sheet level in a shared workbook (section 2.2.12); each sheet can have a sort map BrtBeginWsSortMap (section 2.4.306) / BrtEndWsSortMap (section 2.4.658). At a maximum, there are only ever two sorts BrtBeginRRSort (section 2.4.196) / BrtEndRRSort (section 2.4.549) per sort map, one specifies sheet level sort changes in rows followed by sheet level sort changes in columns (1). If there are not any changes in sort for rows or columns (1), the sort map does not exist for rows or columns (1) respectively.
2.2.13 Volatile Dependencies
Volatile dependencies specify information necessary to update cells that depend on values provided by real-time data (RTD) server or cube functions. A cell has a dependency upon an RTD server if it contains a formula (section 2.2.2) with a call to the RTD sheet function. A cell has a dependency upon an cube function if it contains a formula with a call to one of the cube functions.
All volatile dependencies are organized into a hierarchy. The first level of the hierarchy separates dependencies based on their types. Within each type, dependencies are grouped based on their main topic. Within a main topic, each particular volatile dependency on this main topic is specified in a collection.
2.2.13.1 Types
Volatile dependencies are specified in two collections, each specifying all volatile dependency information relating to a specific type of volatile dependencies. The two types of volatile dependencies are those relating to RTD servers and those relating to cube functions. Each of these collections is specified by BrtBeginVolType (section 2.4.302) and BrtEndVolType (section 2.4.654) records, as defined in the Volatile Dependencies (section 2.1.7.60) part.
2.2.13.2 Main Topic
All volatile dependency information that relates to calls to an RTD or cube function that share the same first parameter value is grouped together in a collection specified by BrtBeginVolMain (section 2.4.300) and BrtEndVolMain (section 2.4.652) records, as defined in the Volatile Dependencies (section 2.1.7.60) part.
2.2.13.3 Subtopic Sequences
All volatile dependency information relating to cells that contain calls to an RTD or cube function that share the same set of parameter values is specified by a collection of records specified by BrtBeginVolTopic (section 2.4.301) and BrtEndVolTopic (section 2.4.653) records, as defined in the Volatile Dependencies (section 2.1.7.60) part.
A volatile dependency collection specifies the following:
x The sequence of subtopics which define the dependency, corresponding to a call’s parameter
values. This is specified by the sequence of BrtVolSubtopic (section 2.4.864) records.
x The last value returned by the call that corresponds to the volatile dependency.
156 / 1118
[MS-XLSB] - v20251113
Excel (.xlsb) Binary File Format
Copyright © 2025 Microsoft Corporation
Release: November 13, 2025
x The set of cells which depend upon the data specified by this volatile dependency, and need to
be updated whenever the value cached for this dependency changes. This is specified by the
set of BrtVolRef (section 2.4.862) records.
2.2.13.4 Cached returned values
The type of the last value returned by the call that corresponds to a volatile dependency, as well as the value itself, are specified by the BrtVolNum (section 2.4.861), BrtVolErr (section 2.4.860), BrtVolBool (section 2.4.859), or BrtVolStr (section 2.4.863) records, as defined in the Volatile Dependencies (section 2.1.7.60) part ABNF. The value is stored with the volatile dependency until a different value is returned by the corresponding call.
2.2.14 Slicers
A slicer is a mechanism for filtering data in PivotTable views (section 2.2.5.3) and cube functions, tables and Charts ([ISO/IEC29500-1:2016] section 21.2) based on Non-Worksheet PivotTables. A slicer is based on a column (1) in the source data (section 2.2.14.1.1) and the slicer filters on distinct values in that column (1). In the case of using OLAP source data, a slicer is based on an OLAP hierarchy.
A slicer has two major parts, a slicer cache (section 2.2.14.1) and a slicer view (section 2.2.14.2). There can be more than one slicer view based on a single slicer cache. When filtering multi-level OLAP hierarchies using slicers, separate slicer views are used for each OLAP level.
2.2.14.1 Slicer Cache
A slicer cache specifies the subset of slicer source data (section 2.2.14.1.1) that is cached for display in slicer views (section 2.2.14.2) as well as properties related to slicer (section 2.2.14) filtering. A slicer cache is specified by the sequence of records that conform to the SLICERCACHE rule (defined in section 2.1.7.47).
A slicer cache has an associated PivotCache (section 2.2.5.2) as specified in section 2.2.14.1.2, or Table (section 2.1.7.51).
If the slicer source data is an OLAP data source, the stHierarchy field of the BrtBeginSlicerCacheDef (section 2.4.205) record specifies the MDX unique name of the associated OLAP hierarchy.
If the slicer source data is a non-OLAP data source, the stHierarchy field of the BrtBeginSlicerCacheDef record specifies the associated cache field (section 2.2.5.2.2) of the associated PivotCache.
If the slicer source data is a table data source, the stHierarchy field of the BrtBeginSlicerCacheDef record specifies the associated table column (1).
If the slicer (section 2.2.14) is used to filter PivotTable views (section 2.2.5.3), the slicer cache specifies the PivotTable views being filtered as specified in section 2.2.14.1.3.
2.2.14.1.1 Slicer Source Data
The source data for a slicer (section 2.2.14) is specified by the associated PivotCache (section 2.2.5.2) or Table (section 2.1.7.51). See section 2.2.14.1.2.
2.2.14.1.2 Slicer Cache Relationship to PivotCache
A slicer cache (section 2.2.14.1) is associated with a PivotCache (section 2.2.5.2) or Table (section 2.1.7.51). The association is specified by the following rules.
157 / 1118
[MS-XLSB] - v20251113
Excel (.xlsb) Binary File Format
Copyright © 2025 Microsoft Corporation
Release: November 13, 2025
If a slicer cache contains the sequence of records that conforms to the SLICERCACHEOLAPIMPL rule (defined in section 2.1.7.47) then the type of slicer source data (section 2.2.14.1.1) is OLAP and the associated PivotCache (section 2.2.5.2) of the slicer cache is specified by the ipivotcacheid field of the BrtBeginSlicerCacheOlapImpl (section 2.4.211) record of the slicer cache. The associated PivotCache MUST be an OLAP PivotCache as specified in section 2.2.5.2.1. The fSlicerData field of the BrtBeginPCD14 (section 2.4.123) record of the associated PivotCache MUST be 1.
If a slicer cache contains the sequence of records that conforms to the SLICERCACHENATIVEITEMS rule (defined in section 2.1.7.47) then the type of slicer source data (section 2.2.14.1.1) is non-OLAP and the associated PivotCache (section 2.2.5.2) of the slicer cache is specified by the dwcacheId field of the BrtBeginSlicerCacheNative (section 2.4.210) record of the slicer cache. The associated PivotCache MUST NOT be an OLAP PivotCache (section 2.2.5.2) as specified in section 2.2.5.2.1.
If a slicer cache contains the sequence of records that conforms to the TABLESLICERCACHE rule (defined in section 2.1.7.47) then the type of slicer source data (section 2.2.14.1.1) is table and the associated Table (section 2.1.7.51) of the slicer cache is specified by the dwLstd field of the BrtBeginTableSlicerCache (section 2.4.282) record of the slicer cache.
Multiple slicer caches can be associated with one PivotCache.
If a slicer cache is associated (as specified in section 2.2.14.1.3) with one or more PivotTable views (section 2.2.5.3) and the slicer source data (section 2.2.14.1.1) type is non-OLAP then the slicer cache and each associated PivotTable view (section 2.2.5.3), as specified in section 2.2.5.3.1, MUST be associated with the same PivotCache and the fSlicerData field of the BrtBeginPCD14 record of that PivotCache MUST be 0.
If a slicer cache is associated (as specified in section 2.2.14.1.3) with one or more PivotTable views and the slicer source data type is OLAP then the PivotCache that is associated with the slicer cache and all PivotCaches that are associated with the PivotTable views MUST be based on the same OLAP connection (section 2.2.8.3.1) and the PivotCaches associated with the PivotTable views MUST NOT be associated with any slicer cache. The fSlicerData field of the BrtBeginPCD14 record for each PivotCache associated with the PivotTable views MUST be 0.
2.2.14.1.3 Slicer Cache Relationship to PivotTable View
A slicer cache (section 2.2.14.1) can be associated with PivotTable views (section 2.2.5.3) and Charts ([ISO/IEC29500-1:2016] section 21.2) based on Non-Worksheet PivotTables. Associated PivotTable views are specified by the BrtSlicerCachePivotTables (section 2.4.802) record of the slicer cache.
If the associated PivotCache (section 2.2.5.2) of a slicer cache (as specified in section 2.2.14.1.2) is an OLAP PivotCache, then the slicer items (section 2.2.14.1.4) in the slicer cache are used to apply OLAP manual filters (section 2.2.5.3.5.2) to the pivot hierarchy (section 2.2.5.3.4) specified by the stHierarchy field of the BrtBeginSlicerCacheDef (section 2.4.205) record in all associated PivotTable views (section 2.2.5.3) and Charts based on Non-Worksheet PivotTables of the slicer cache. The selected slicer items (section 2.2.14.1.4) in the slicer cache are converted into OLAP manual filters by the application to apply the filter state of the slicer cache to the associated PivotTable views.
If the associated PivotCache of a slicer cache (as specified in section 2.2.14.1.2) is a non-OLAP PivotCache, then the PivotCache of the PivotTable views and the PivotCache of the slicer cache MUST be the same. If the slicer cache is associated with at least one Chart based on Non-Worksheet PivotTable then the slicer cache MUST be OLAP sourced.
If the associated PivotCache of a slicer cache (as specified in section 2.2.14.1.2) is a non-OLAP PivotCache, then the slicer items (section 2.2.14.1.4) in the slicer cache are used to apply non-OLAP manual filters (section 2.2.5.3.5.1) to the pivot field (section 2.2.5.3.2) specified by the stHierarchy field of the BrtBeginSlicerCacheDef record in all associated PivotTable views (section 2.2.5.3) of the slicer cache. The selected slicer items in the slicer cache are converted into selected pivot items (section 2.2.5.3.3) in the non-OLAP manual filters by the application to apply the filter state of the slicer cache to the associated PivotTable views.
158 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
When an OLAP PivotTable views is associated with a slicer cache, there MUST NOT be more than one slicer cache for each OLAP hierarchy.
A slicer cache (section 2.2.14.1) can be associated with a column (1) in a Table (section 2.1.7.51). Associated column (1) is specified by the dwColumn field of the BrtBeginTableSlicerCache (section 2.4.282) record of the slicer cache.
2.2.14.1.4 Slicer Items
Slicer items in a slicer cache (section 2.2.14.1) represent distinct values in a column (1) of the slicer source data (section 2.2.14.1.1). In the case of slicers (section 2.2.14) based on OLAP slicer source data, the slicer cache is based on an OLAP hierarchy and slicer items represent OLAP members within levels of that OLAP hierarchy.
For slicers that are associated with PivotTable views (section 2.2.5.3), each slicer item specifies whether slicer source data exists for that slicer item. For more information, see section 2.2.14.1.5.
Each slicer item also specifies item selection state, used for filtering, and can specify additional properties. For more information see section 2.2.14.1.4.1 and section 2.2.14.1.4.2.
2.2.14.1.4.1 Non-OLAP Slicer Items
The slicer items of a non–OLAP slicer are specified by an ordered sequence of records that conform to the SLICERCACHENATIVEITEMS rule (as defined in section 2.1.7.47). Each slicer item is associated with a cache item (section 2.2.5.2.3) of the associated cache field (section 2.2.5.2.2) in the associated PivotCache (section 2.2.5.2). Also see section 2.2.14.1.2.
The associated cache field is specified by the stHierarchy field of the BrtBeginSlicerCacheDef (section 2.4.205) record and MUST be equal to the stFldName field of a BrtBeginPCDField (section 2.4.136) record in the collection of cache fields of the associated PivotCache. The associated cache item is specified by the iCache field of the SlicerCacheNativeItem (section 2.5.136) structure. The iCache field of the SlicerCacheNativeItem structure specifies a cache item index of the associated cache item in the associated cache field. Two non–OLAP slicer items MUST NOT be associated with the same cache item.
The order of non–OLAP slicer items in the slicer cache (section 2.2.14.1) is specified by the fSortOrder, fCrossFilter and fSortUsingCustomLists fields of the BrtBeginSlicerCacheNative (section 2.4.210) record.
The SlicerCacheNativeItem structure also specifies whether the non–OLAP slicer item is selected for filtering and if data exists in the slicer source data (section 2.2.14.1.1) for it. Also see section 2.2.14.1.5.
2.2.14.1.4.2 OLAP Slicer Items
OLAP slicer items are specified by the sequence of records that conform to the SLICERCACHEOLAPIMPL rule (as defined in section 2.1.7.47).
The cache for an OLAP level in an OLAP slicer cache (section 2.2.14.1) is specified by the sequence of records that conform to the SLICERCACHESIRANGES rule (as defined in section 2.1.7.47).
The cache is organized into ranges of cached OLAP slicer items for each OLAP level in the slicer cache. Each range is specified by the sequence of records that conform to the SLICERCACHESIRANGE rule (as defined in section 2.1.7.47). The iitemstart field of the BrtBeginSlicerCacheSiRange (section 2.4.213) record specifies the zero-based index of the first OLAP slicer item in this cached range in the ordered collection of all OLAP members that exist in the slicer source data (section 2.2.14.1.1) for the associated OLAP level. The collection in the slicer source data is ordered as specified by the fSortOrder and fCrossFilter fields of the preceding BrtBeginSlicerCacheLevelData (section 2.4.208) record.
159 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
Each cached OLAP slicer item in a range is specified by a BrtSlicerCacheOlapItem (section 2.4.801) record.
The OLAP slicer items that are selected for filtering are specified by the sequence of records that conform to the SLICERCACHESELECTIONS rule (as defined in section 2.1.7.47).
Each individual OLAP slicer item selected for filtering is specified by a BrtSlicerCacheSelection (section 2.4.803) record.
2.2.14.1.5 Slicer Cross Filtering
Cross filtering is an application behavior that allows one slicer to reflect the results of filtering by another. This behavior exposes whether data exists in the slicer source data (section 2.2.14.1.1) for each slicer item (section 2.2.14.1.4) when the slicer source data is filtered by the selected slicer items of all associated slicer caches (section 2.2.14.1) of a PivotTable view (section 2.2.5.3), as specified in section 2.2.14.1.3, and all manual filters (section 2.2.5.3.5) in the PivotTable view.
If the type of slicer source data is OLAP then the existence of data, after filtering, for a slicer item is specified by the fNoData field of the BrtSlicerCacheOlapItem (section 2.4.801) record. If the type of source data (section 2.2.5.2.1) is non-OLAP then the existence of data for a slicer item is specified by the fNoData field of the SlicerCacheNativeItem (section 2.5.136) structure contained in the BrtSlicerCacheNativeItem (section 2.4.800) record.
If the type of slicer source data (section 2.2.14.1.1) is non-OLAP, the fCrossFilter field of the BrtBeginSlicerCacheNative record as specified by the Slicer Cache (section 2.1.7.47) part ABNF specifies how the non-OLAP slicer items (section 2.2.14.1.4.1) that have no data are displayed.
If the type of slicer source data is OLAP, the fCrossFilter field of the BrtBeginSlicerCacheLevelData (section 2.4.208) record as specified by the Slicer Cache (section 2.1.7.47) part ABNF specifies how the OLAP slicer items (section 2.2.14.1.4.2) that have no data are displayed for the OLAP level specified by the stUniqueName field of the BrtBeginSlicerCacheLevelData record.
2.2.14.2 Slicer View
A slicer view specifies the display of a slicer (section 2.2.14) on a worksheet. A slicer view is displayed as a list of slicer items (section 2.2.14.1.4). A slicer view is specified by the sequence of records that conform to the SLICER rule (as defined in section 2.1.7.48.
Each slicer view is associated with a slicer cache (section 2.2.14.1) as specified in section 2.2.14.2.1. The filtering state of slicer items displayed in the slicer view is specified by the associated slicer cache.
Each slicer view is associated with a drawing ([ISO/IEC29500-1:2016] section 20.5), contained in the drawing part ([ISO/IEC29500-1:2016] section 12.3.8) associated with the worksheet with which the slicer view is associated. The associated drawing ([ISO/IEC29500-1:2016] section 20.5) contains a slicer element of type CT_Slicer ([MS-XLSX] section 2.6.68) that contains a name attribute that matches the stName field of the BrtBeginSlicer (section 2.4.203) record that specifies the slicer view.
For information about slicer formatting see slicer styles (section 2.2.6.3.1).
2.2.14.2.1 Slicer View Relationship to Slicer Cache
Each slicer view (section 2.2.14.2) is associated with a slicer cache (section 2.2.14.1). The slicer view is associated with a slicer cache through the stName field of the BrtBeginSlicerCacheDef (section 2.4.205) record in the slicer cache that matches the stSlicerCacheName field of the BrtBeginSlicer (section 2.4.203) record that specifies this slicer view.
160 / 1118
[MS-XLSB] - v20251113
Excel (.xlsb) Binary File Format
Copyright © 2025 Microsoft Corporation
Release: November 13, 2025
If a slicer view is associated with an OLAP slicer cache, the slicer view also has an associated OLAP level, specified by the dwLevel field of the BrtBeginSlicer record. In this case the slicer view displays OLAP Slicer Items (section 2.2.14.1.4.2) of that OLAP level.
There can be multiple slicer views associated with a single slicer cache (section 2.2.14.1), for the following two reasons:
For a user-defined OLAP hierarchy with several OLAP levels (for example a Geography OLAP hierarchy with Country/Region, State, and City OLAP levels), each slicer view is associated with a single OLAP level, providing a mechanism for filtering different OLAP levels of the OLAP hierarchy.
Multiple slicer views associated with either the same slicer cache (for a non-OLAP slicer cache) or the same OLAP level (for an OLAP slicer cache) provides a mechanism for displaying the filter state in more than one location in the workbook.
2.2.14.3 Slicers and Cube Functions
Each slicer cache (section 2.2.14.1) has a defined name associated with it specified by the stName field of the BrtBeginSlicerCacheDef (section 2.4.205) record. The value of the formula.rgce field of each BrtName (section 2.4.718) record specifying a defined name associated with a slicer cache MUST consist of a single PtgErr (section 2.5.98.39) with err equal to 0x2A (#N/A).
If the slicer source data (section 2.2.14.1.1) type of a slicer cache (section 2.2.14.1) is OLAP then cube functions can use the defined name of the slicer cache as a parameter to refer to selection state of the slicer cache.
2.2.15 Timelines
A Timeline is a mechanism for filtering data in PivotTable ([ISO/IEC29500-1:2016] section 18.10) views, cube functions, and Charts ([ISO/IEC29500-1:2016] section 21.2) based on Non-Worksheet PivotTables. In the case of using OLAP Timeline source data (section 2.2.15.1.1), a Timeline is based on a key attribute of an OLAP hierarchy. In the case of using native Timeline source data (section 2.2.15.1.1), a Timeline is based on data table column.
A Timeline has two major parts a Timeline cache, and a Timeline view. There can be more than one Timeline view based on a single Timeline cache.
2.2.15.1 Timeline Cache
A Timeline cache specifies the subset of Timeline source data (section 2.2.15.1.1) that is cached for display in Timeline views (section 2.2.15.2), as well as properties related to Timeline filtering (section 2.2.15). A Timeline cache is specified by the CT_TimelineCacheDefinition element ([MS- XLSX] section 2.6.112).
A Timeline cache has an associated PivotTable ([ISO/IEC29500-1:2016] section 18.10) PivotCache (section 2.2.5.2).
If the timeline source data is an OLAP data source, the sourceName attribute of the CT_TimelineCacheDefinition element specifies the key attribute name of the associated OLAP hierarchy. If the timeline source data is a native data source, the sourceName attribute of the CT_TimelineCacheDefinition element specifies the name of the associated data table column.
If the timeline is used to filter PivotTable views, the Timeline cache specifies the PivotTable views being filtered as specified in Timeline Cache Relationship to PivotTable View (section 2.2.15.1.3).
2.2.15.1.1 Timeline Source Data
161 / 1118
[MS-XLSB] - v20251113
Excel (.xlsb) Binary File Format
Copyright © 2025 Microsoft Corporation
Release: November 13, 2025
The source data for a Timeline is specified by the associated PivotTable ([ISO/IEC29500-1:2016] section 18.10) PivotCache as specified in Timeline Cache Relationship to PivotCache.
2.2.15.1.2 Timeline Cache Relationship to PivotCache
A Timeline cache is associated with a PivotTable ([ISO/IEC29500-1:2016] section 18.10) PivotCache through the pivotCacheId attribute of the CT_TimelineState ([MS-XLSX] section 2.6.116) element. If the Timeline cache has an associated PivotTable ([ISO/IEC29500-1:2016] section 18.10) PivotCache, the timelineData attribute of the CT_TimelinePivotCacheDefinition ([MS-XLSX] section 2.6.109) element MUST be "true".
Multiple Timeline caches can be associated with one PivotTable ([ISO/IEC29500-1:2016] section 18.10) PivotCache.
If a Timeline cache (section 2.2.15.1) is associated, as specified by Timeline Cache Relationship to PivotTable View (section 2.2.15.1.3), with one or more PivotTable ([ISO/IEC29500-1:2016] section 18.10) views, the PivotTable ([ISO/IEC29500-1:2016] section 18.10) PivotCache that is associated with the Timeline cache (section 2.2.15.1) and all PivotTable ([ISO/IEC29500-1:2016] section 18.10) PivotCaches that are associated with the PivotTable ([ISO/IEC29500-1:2016] section 18.10) views MUST be based on the same source – an OLAP connection ([ISO/IEC29500-1:2016] section 18.13.5) if the Timeline source data (section 2.2.15.1.1) is OLAP and a data table if the Timeline source data (section 2.2.15.1.1) is native, and the PivotTable ([ISO/IEC29500-1:2016] section 18.10) PivotCaches associated with the PivotTable ([ISO/IEC29500-1:2016] section 18.10) views MUST NOT be associated with any Timeline cache (section 2.2.15.1). The timelineData attribute of the CT_TimelinePivotCacheDefinition ([MS-XLSX] section 2.6.109) element for each PivotTable ([ISO/IEC29500-1:2016] section 18.10) PivotCache associated with the PivotTable ([ISO/IEC29500- 1:2016] section 18.10) views MUST be "false".
2.2.15.1.3 Timeline Cache Relationship to PivotTable View
A Timeline cache can be associated with PivotTable ([ISO/IEC29500-1:2016] section 18.10) views and Charts ([ISO/IEC29500-1:2016] section 21.2) based on Non-Worksheet PivotTables, as specified by the pivotTables group element of the CT_TimelineCacheDefinition ([MS-XLSX] section 2.6.112) element.
If the associated PivotTable PivotCache of a Timeline cache, as specified by the Timeline Cache Relationship to PivotCache, is an OLAP PivotTable PivotCache, the Timeline State of the Timeline cache is used to apply PivotTable OLAP date filter to the PivotTable hierarchy which belongs to the same dimension as the hierarchy associated with the sourceName attribute of the CT_TimelineState ([MS-XLSX] section 2.6.116) element, in all associated PivotTable views and Charts based on Non-Worksheet PivotTables, of the Timeline cache. The selected date range in the Timeline cache is converted into selected PivotTable items in the PivotTable OLAP date filters by the application to apply the filter state of the Timeline cache to the associated PivotTable views and Charts based on Non-Worksheet PivotTables.
When an OLAP PivotTable view is associated with an OLAP Timeline cache (section 2.2.15.1), there MUST NOT be more than one Timeline cache (section 2.2.15.1) for each OLAP hierarchy. If the Timeline cache has at least one Chart based on Non-Worksheet PivotTables then the Timeline cache MUST be OLAP sourced. When a native PivotTable view is associated with a native Timeline cache, there MUST NOT be more than one Timeline cache for each data table column.
2.2.15.1.4 Timeline State
Timeline state specifies the information used for display in Timeline view. The Timeline state contains two elements, selection and bounds, of type CT_TimelineRange ([MS-XLSX] section 2.6.115). The selection element specifies the start and end dates of the selection in the Timeline and is used for filtering data in PivotTable ([ISO/IEC29500-1:2016] section 18.10) views and cube
162 / 1118
[MS-XLSB] - v20251113
Excel (.xlsb) Binary File Format
Copyright © 2025 Microsoft Corporation
Release: November 13, 2025
functions. The bounds element specifies the minimum and maximum dates that can be displayed by the Timeline view.
2.2.15.2 Timeline View
A Timeline view specifies the display of a Timeline on a worksheet. The Timeline view is specified by a CT_Timeline ([MS-XLSX] section 2.6.111) element.
Each Timeline view is associated with a Timeline cache as specified in Timeline View Relationship to Timeline Cache. The filtering state of Timeline displayed in the Timeline view is specified by the associated Timeline cache.
Each Timeline view is associated with a drawing ([ISO/IEC29500-1:2016] section 20.5), contained in the Drawings part ([ISO/IEC29500-1:2016] section 12.3.8).
2.2.15.2.1 Timeline View Relationship to Timeline Cache
Each Timeline view is associated with a Timeline cache. The Timeline view is associated with Timeline cache through the name attribute of the CT_TimelineCacheDefinition ([MS-XLSX] section 2.6.112) element in the Timeline cache that matches the cache attribute of the CT_Timeline ([MS-XLSX] section 2.6.111) element that specifies this Timeline view.
There can be multiple Timeline views associated with a single Timeline cache, providing a mechanism for displaying the filter state in more than one location in the workbook.
2.2.15.3 Timelines and Cube Functions
Each Timeline cache (section 2.1.7.53) has a defined name associated with it as specified by the name attribute of the CT_TimelineCacheDefinition ([MS-XLSX] section 2.6.112) element.
The value of the CT_DefinedName ([ISO/IEC29500-1:2016] section 18.2.5) element specifying a defined name associated with a Timeline cache MUST be #N/A.
If the Timeline source data type of a Timeline cache is OLAP, cube functions can use the defined name of the Timeline cache as a parameter to refer to the selection state of the Timeline cache.
2.3 Record Enumeration
This section specifies the record name associated with a specified record type value<5>. For more information about record types, see section 2.1.4.
These associations between record name and record type are listed by record name as well as by record type.
The type-specific meaning and fields for each record type are specified in the subsection of section 2.4 corresponding to the record name.
2.3.1 By Name Record type Name (number) BrtAbsPath15 (section 2.4.1) 2071
BrtACBegin (section 2.4.2) 37
BrtACEnd (section 2.4.3) 38
BrtActiveX (section 2.4.4) 644
163 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
Record type
Name (number) BrtAFilterDateGroupItem (section 2.4.5) 175
BrtArrFmla (section 2.4.6) 426
BrtBeginActiveXControls (section 2.4.7) 643
BrtBeginAFilter (section 2.4.8) 161
BrtBeginAutoSortScope (section 2.4.9) 459
BrtBeginBook (section 2.4.10) 131
BrtBeginBookViews (section 2.4.11) 135
BrtBeginBorders (section 2.4.12) 613
BrtBeginBundleShs (section 2.4.13) 143
BrtBeginCacheVersionInfo (section 5111 2.4.14) BrtBeginCalcFeatures (section 2.4.15) 5095
BrtBeginCellIgnoreECs (section 2.4.16) 648
BrtBeginCellIgnoreECs14 (section 1169 2.4.17) BrtBeginCellSmartTag (section 2.4.18) 590
BrtBeginCellSmartTags (section 2.4.19) 592
BrtBeginCellStyleXFs (section 2.4.20) 626
BrtBeginCellWatches (section 2.4.21) 605
BrtBeginCellXFs (section 2.4.22) 617
BrtBeginCFRule (section 2.4.23) 463
BrtBeginCFRule14 (section 2.4.24) 1048
BrtBeginColBrk (section 2.4.25) 394
BrtBeginColInfos (section 2.4.26) 390
BrtBeginColorPalette (section 2.4.27) 473
BrtBeginColorScale (section 2.4.28) 469
BrtBeginColorScale14 (section 2.4.29) 1157
BrtBeginComment (section 2.4.30) 635
BrtBeginCommentAuthors (section 630 2.4.31) BrtBeginCommentList (section 2.4.32) 633
BrtBeginComments (section 2.4.33) 628
BrtBeginConditionalFormatting (section 461 2.4.34) BrtBeginConditionalFormatting14 1046 (section 2.4.35)
164 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
Record type
Name (number) BrtBeginConditionalFormattings 1135 (section 2.4.36) BrtBeginCRErrs (section 2.4.37) 608
BrtBeginCsView (section 2.4.38) 141
BrtBeginCsViews (section 2.4.39) 139
BrtBeginCustomFilters (section 2.4.40) 172
BrtBeginCustomFilters14 (section 1178 2.4.41) BrtBeginCustomRichFilters (section 5086 2.4.42) BrtBeginDatabar (section 2.4.43) 467
BrtBeginDatabar14 (section 2.4.44) 1051
BrtBeginDataFeedPr15 (section 2.4.45) 2113
BrtBeginDataModel (section 2.4.46) 2121
BrtBeginDbTables15 (section 2.4.47) 2118
BrtBeginDCon (section 2.4.48) 495
BrtBeginDecoupledPivotCacheIDs 2048 (section 2.4.49) BrtBeginDeletedName (section 2.4.50) 453
BrtBeginDeletedNames (section 2.4.51) 451
BrtBeginDim (section 2.4.52) 275
BrtBeginDims (section 2.4.53) 273
BrtBeginDRefs (section 2.4.54) 497
BrtBeginDVals (section 2.4.55) 573
BrtBeginDVals14 (section 2.4.56) 1054
BrtBeginDxF14s (section 2.4.57) 1172
BrtBeginDXFs (section 2.4.58) 505
BrtBeginDXFs15 (section 2.4.59) 2103
BrtBeginDynamicArrayPr (section 4096 2.4.60) BrtBeginECDbProps (section 2.4.61) 203
BrtBeginECOlapProps (section 2.4.62) 205
BrtBeginECParam (section 2.4.63) 267
BrtBeginECParams (section 2.4.64) 265
BrtBeginECTwFldInfo (section 2.4.65) 542
BrtBeginECTwFldInfo15 (section 2.4.66) 2133
165 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
Record type
Name (number) BrtBeginECTWFldInfoLst (section 540 2.4.67) BrtBeginECTWFldInfoLst15 (section 2131 2.4.68) BrtBeginECTxtWiz (section 2.4.69) 538
BrtBeginECTxtWiz15 (section 2.4.70) 2129
BrtBeginECWebProps (section 2.4.71) 261
BrtBeginEcWpTables (section 2.4.72) 263
BrtBeginEsfmd (section 2.4.73) 339
BrtBeginEsmdb (section 2.4.74) 337
BrtBeginEsmdtinfo (section 2.4.75) 334
BrtBeginEsmdx (section 2.4.76) 372
BrtBeginEsstr (section 2.4.77) 380
BrtBeginExtConn14 (section 2.4.78) 1068
BrtBeginExtConn15 (section 2.4.79) 2109
BrtBeginExtConnection (section 2.4.80) 201
BrtBeginExtConnections (section 2.4.81) 429
BrtBeginExternals (section 2.4.82) 353
BrtBeginFills (section 2.4.83) 603
BrtBeginFilterColumn (section 2.4.84) 163
BrtBeginFilters (section 2.4.85) 165
BrtBeginFmd (section 2.4.86) 52
BrtBeginFmts (section 2.4.87) 615
BrtBeginFnGroup (section 2.4.88) 664
BrtBeginFonts (section 2.4.89) 611
BrtBeginHeaderFooter (section 2.4.90) 479
BrtBeginIconSet (section 2.4.91) 465
BrtBeginIconSet14 (section 2.4.92) 1052
BrtBeginIndexedColors (section 2.4.93) 565
BrtBeginISXTHCols (section 2.4.94) 322
BrtBeginISXTHRws (section 2.4.95) 320
BrtBeginISXVDCols (section 2.4.96) 311
BrtBeginISXVDRws (section 2.4.97) 309
166 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
Record type
Name (number) BrtBeginISXVIs (section 2.4.98) 388
BrtBeginItemUniqueNames (section 2106 2.4.99) BrtBeginList (section 2.4.100) 343
BrtBeginListCol (section 2.4.101) 347
BrtBeginListCols (section 2.4.102) 345
BrtBeginListParts (section 2.4.103) 660
BrtBeginListXmlCPr (section 2.4.104) 349
BrtBeginMap (section 2.4.105) 492
BrtBeginMdx (section 2.4.106) 54
BrtBeginMdxKPI (section 2.4.107) 378
BrtBeginMdxMbrProp (section 2.4.108) 376
BrtBeginMdxSet (section 2.4.109) 374
BrtBeginMdxTuple (section 2.4.110) 56
BrtBeginMergeCells (section 2.4.111) 177
BrtBeginMetadata (section 2.4.112) 332
BrtBeginMG (section 2.4.113) 490
BrtBeginMGMaps (section 2.4.114) 488
BrtBeginMgs (section 2.4.115) 486
BrtBeginModelRelationships (section 2126 2.4.116) BrtBeginModelTables (section 2.4.117) 2123
brtBeginModelTimeGrouping (section 2139 2.4.118) brtBeginModelTimeGroupings (section 2137 2.4.119) BrtBeginMRUColors (section 2.4.120) 569
BrtBeginOledbPr15 (section 2.4.121) 2111
BrtBeginOleObjects (section 2.4.122) 638
BrtBeginPCD14 (section 2.4.123) 1066
BrtBeginPCDCalcItem (section 2.4.124) 245
BrtBeginPCDCalcItems (section 2.4.125) 243
BrtBeginPCDCalcMem (section 2.4.126) 433
BrtBeginPCDCalcMem14 (section 1038 2.4.127) BrtBeginPCDCalcMemExt (section 1137
167 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
Record type
Name (number) 2.4.128)
BrtBeginPCDCalcMems (section 2.4.129) 431
BrtBeginPCDCalcMemsExt (section 1139 2.4.130) BrtBeginPCDFAtbl (section 2.4.131) 189
BrtBeginPCDFGDiscrete (section 225 2.4.132) BrtBeginPCDFGItems (section 2.4.133) 221
BrtBeginPCDFGRange (section 2.4.134) 223
BrtBeginPCDFGroup (section 2.4.135) 219
BrtBeginPCDField (section 2.4.136) 183
BrtBeginPCDFields (section 2.4.137) 181
BrtBeginPCDHFieldsUsage (section 199 2.4.138) BrtBeginPCDHGLevel (section 2.4.139) 437
BrtBeginPCDHGLevels (section 2.4.140) 435
BrtBeginPCDHGLGMember (section 445 2.4.141) BrtBeginPCDHGLGMembers (section 443 2.4.142) BrtBeginPCDHGLGroup (section 2.4.143) 441
BrtBeginPCDHGLGroups (section 439 2.4.144) BrtBeginPCDHierarchies (section 195 2.4.145) BrtBeginPCDHierarchy (section 2.4.146) 197
BrtBeginPCDIRun (section 2.4.147) 191
BrtBeginPCDKPI (section 2.4.148) 271
BrtBeginPCDKPIs (section 2.4.149) 269
BrtBeginPCDSConsol (section 2.4.150) 207
BrtBeginPCDSCPage (section 2.4.151) 211
BrtBeginPCDSCPages (section 2.4.152) 209
BrtBeginPCDSCPItem (section 2.4.153) 213
BrtBeginPCDSCSet (section 2.4.154) 217
BrtBeginPCDSCSets (section 2.4.155) 215
BrtBeginPCDSDTCEMember (section 233 2.4.156) BrtBeginPCDSDTCEMembers (section 231 2.4.157)
168 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
Record type
Name (number) BrtBeginPCDSDTCEMembersSortBy 646 (section 2.4.158) BrtBeginPCDSDTCEntries (section 229 2.4.159) BrtBeginPCDSDTCQueries (section 235 2.4.160) BrtBeginPCDSDTCQuery (section 237 2.4.161) BrtBeginPCDSDTCSet (section 2.4.162) 241
BrtBeginPCDSDTCSets (section 2.4.163) 239
BrtBeginPCDSDTupleCache (section 227 2.4.164) BrtBeginPcdSFCIEntries (section 657 2.4.165) BrtBeginPCDSource (section 2.4.166) 185
BrtBeginPCDSRange (section 2.4.167) 187
BrtBeginPivotCacheDef (section 2.4.168) 179
BrtBeginPivotCacheID (section 2.4.169) 386
BrtBeginPivotCacheIDs (section 384 2.4.170) BrtBeginPivotCacheRecords (section 193 2.4.171) BrtBeginPivotRuleFilterSubtotals 5139 (section 2.4.172) BrtBeginPivotTableRefs (section 2051 2.4.173) BrtBeginPivotTableUISettings (section 2072 2.4.174) BrtBeginPivotVersionInfo (section 5109 2.4.175) BrtBeginPName (section 2.4.176) 255
BrtBeginPNames (section 2.4.177) 253
BrtBeginPNPair (section 2.4.178) 259
BrtBeginPNPairs (section 2.4.179) 257
BrtBeginPRFilter (section 2.4.180) 251
BrtBeginPRFilter14 (section 2.4.181) 1165
BrtBeginPRFilters (section 2.4.182) 249
BrtBeginPRFilters14 (section 2.4.183) 1163
BrtBeginPRFItem (section 2.4.184) 382
BrtBeginPRFItem14 (section 2.4.185) 1167
BrtBeginPRule (section 2.4.186) 247
169 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
Record type
Name (number) BrtBeginPRule14 (section 2.4.187) 1161
BrtBeginQSI (section 2.4.188) 447
BrtBeginQSIF (section 2.4.189) 457
BrtBeginQSIFs (section 2.4.190) 455
BrtBeginQSIR (section 2.4.191) 449
BrtBeginRichFilterColumn (section 5084 2.4.192) BrtBeginRichFilters (section 2.4.193) 5081
BrtBeginRichSortCondition (section 5092 2.4.194) BrtBeginRichValueBlock (section 5002 2.4.195) BrtBeginRRSort (section 2.4.196) 673
BrtBeginRwBrk (section 2.4.197) 392
BrtBeginScenMan (section 2.4.198) 500
BrtBeginSct (section 2.4.199) 502
BrtBeginSheet (section 2.4.200) 129
BrtBeginSheetData (section 2.4.201) 145
BrtBeginSingleCells (section 2.4.202) 341
BrtBeginSlicer (section 2.4.203) 1083
BrtBeginSlicerCache (section 2.4.204) 1075
BrtBeginSlicerCacheDef (section 1077 2.4.205) BrtBeginSlicerCacheID (section 2.4.206) 1072
BrtBeginSlicerCacheIDs (section 1070 2.4.207) BrtBeginSlicerCacheLevelData (section 1090 2.4.208) BrtBeginSlicerCacheLevelsData (section 1088 2.4.209) BrtBeginSlicerCacheNative (section 1100 2.4.210) BrtBeginSlicerCacheOlapImpl (section 1086 2.4.211) BrtBeginSlicerCacheSelections (section 1097 2.4.212) BrtBeginSlicerCacheSiRange (section 1094 2.4.213) BrtBeginSlicerCacheSiRanges (section 1092 2.4.214) BrtBeginSlicerCachesPivotCacheID 1133 (section 2.4.215)
170 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
Record type
Name (number) BrtBeginSlicerCachesPivotCacheIDs 1113 (section 2.4.216) BrtBeginSlicerEx (section 2.4.217) 1081
BrtBeginSlicers (section 2.4.218) 1115
BrtBeginSlicersEx (section 2.4.219) 1079
BrtBeginSlicerStyle (section 2.4.220) 1128
BrtBeginSlicerStyleElements (section 1144 2.4.221) BrtBeginSlicerStyles (section 2.4.222) 1142
BrtBeginSmartTags (section 2.4.223) 594
BrtBeginSmartTagTypes (section 597 2.4.224) BrtBeginSortCond (section 2.4.225) 532
BrtBeginSortCond14 (section 2.4.226) 1152
BrtBeginSortState (section 2.4.227) 530
BrtBeginSparklineGroup (section 1041 2.4.228) BrtBeginSparklineGroups (section 1058 2.4.229) BrtBeginSparklines (section 2.4.230) 1056
BrtBeginSst (section 2.4.231) 159
BrtBeginStyles (section 2.4.232) 619
BrtBeginStyleSheet (section 2.4.233) 278
BrtBeginStyleSheetExt14 (section 1131 2.4.234) BrtBeginSupBook (section 2.4.235) 360
BrtBeginSXChange (section 2.4.236) 1122
BrtBeginSXChanges (section 2.4.237) 1124
BrtBeginSXCondFmt (section 2.4.238) 558
BrtBeginSXCondFmt14 (section 2.4.239) 1147
BrtBeginSXCondFmts (section 2.4.240) 560
BrtBeginSXCondFmts14 (section 1149 2.4.241) BrtBeginSXCrtFormat (section 2.4.242) 481
BrtBeginSXCrtFormats (section 2.4.243) 483
BrtBeginSXDI (section 2.4.244) 293
BrtBeginSXDIs (section 2.4.245) 295
171 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
Record type
Name (number) BrtBeginSXEdit (section 2.4.246) 1118
BrtBeginSXEdits (section 2.4.247) 1120
BrtBeginSXFILTER (section 2.4.248) 601
BrtBeginSXFilters (section 2.4.249) 599
BrtBeginSXFormat (section 2.4.250) 303
BrtBeginSXFormats (section 2.4.251) 305
BrtBeginSXLI (section 2.4.252) 297
BrtBeginSXLICols (section 2.4.253) 301
BrtBeginSXLIRws (section 2.4.254) 299
BrtBeginSXLocation (section 2.4.255) 314
BrtBeginSXPI (section 2.4.256) 289
BrtBeginSXPIs (section 2.4.257) 291
BrtBeginSxRow (section 2.4.258) 2057
BrtBeginSxrules (section 2.4.259) 641
BrtBeginSxrules14 (section 2.4.260) 1159
BrtBeginSxSelect (section 2.4.261) 307
BrtBeginSXTDMP (section 2.4.262) 326
BrtBeginSXTDMPS (section 2.4.263) 324
BrtBeginSXTH (section 2.4.264) 318
BrtBeginSXTHItem (section 2.4.265) 330
BrtBeginSXTHItems (section 2.4.266) 328
BrtBeginSXTHs (section 2.4.267) 316
BrtBeginSXTupleSet (section 2.4.268) 1026
BrtBeginSXTupleSetData (section 1031 2.4.269) BrtBeginSXTupleSetHeader (section 1028 2.4.270) BrtBeginSXTupleSetRow (section 1033 2.4.271) BrtBeginSxvcells (section 2.4.272) 2055
BrtBeginSXVD (section 2.4.273) 285
BrtBeginSXVDs (section 2.4.274) 287
BrtBeginSxvdSubtotals (section 2.4.276) 5136
BrtBeginSxvdSubtotalLineItems 5143 (section 2.4.275)
172 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
Record type
Name (number) BrtBeginSXVI (section 2.4.277) 282
BrtBeginSXView (section 2.4.278) 280
BrtBeginSxView14 (section 2.4.279) 1062
BrtBeginSXView16 (section 2.4.280) 1064
BrtBeginSXVIs (section 2.4.281) 283
BrtBeginTableSlicerCache (section 2077 2.4.282) BrtBeginTableStyle (section 2.4.283) 510
BrtBeginTableStyles (section 2.4.284) 508
BrtBeginTimelineCacheID (section 2085 2.4.285) BrtBeginTimelineCacheIDs (section 2083 2.4.286) BrtBeginTimelineCachePivotCacheIDs 2080 (section 2.4.287) BrtBeginTimelineEx (section 2.4.288) 2089
BrtBeginTimelinesEx (section 2.4.289) 2087
BrtBeginTimelineStyle (section 2.4.290) 2093
BrtBeginTimelineStyleElements (section 2100 2.4.291) BrtBeginTimelineStyles (section 2098 2.4.292) BrtBeginTimelineStylesheetExt15 2096 (section 2.4.293) BrtBeginUserCsView (section 2.4.294) 655
BrtBeginUserCsViews (section 2.4.295) 653
BrtBeginUsers (section 2.4.296) 401
BrtBeginUserShView (section 2.4.297) 423
BrtBeginUserShViews (section 2.4.298) 422
BrtBeginVolDeps (section 2.4.299) 514
BrtBeginVolMain (section 2.4.300) 518
BrtBeginVolTopic (section 2.4.301) 520
BrtBeginVolType (section 2.4.302) 516
BrtBeginWebExtensions (section 2068 2.4.303) BrtBeginWebPubItem (section 2.4.304) 556
BrtBeginWebPubItems (section 2.4.305) 554
BrtBeginWsSortMap (section 2.4.306) 671
173 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
Record type
Name (number) BrtBeginWsView (section 2.4.307) 137
BrtBeginWsViews (section 2.4.308) 133
BrtBigName (section 2.4.309) 625
BrtBkHim (section 2.4.310) 562
BrtBookProtection (section 2.4.311) 534
BrtBookProtectionIso (section 2.4.312) 677
BrtBookView (section 2.4.313) 158
BrtBorder (section 2.4.314) 46
BrtBrk (section 2.4.315) 396
BrtBundleSh (section 2.4.316) 156
BrtCalcFeature (section 2.4.317) 5097
BrtCalcProp (section 2.4.318) 157
BrtCellBlank (section 2.4.319) 1
BrtCellBool (section 2.4.320) 4
BrtCellError (section 2.4.321) 3
BrtCellIgnoreEC (section 2.4.322) 649
BrtCellIgnoreEC14 (section 2.4.323) 1105
BrtCellIsst (section 2.4.324) 7
BrtCellMeta (section 2.4.325) 49
BrtCellReal (section 2.4.326) 5
BrtCellRk (section 2.4.327) 2
BrtCellRString (section 2.4.328) 62
BrtCellSmartTagProperty (section 589 2.4.329) BrtCellSt (section 2.4.330) 6
BrtCellWatch (section 2.4.331) 607
BrtCFIcon (section 2.4.332) 1112
BrtCFRuleExt (section 2.4.333) 1146
BrtCFVO (section 2.4.334) 471
BrtCFVO14 (section 2.4.335) 1050
BrtColInfo (section 2.4.336) 60
BrtColor (section 2.4.337) 564
174 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
Record type
Name (number) BrtColor14 (section 2.4.338) 1055
BrtColorFilter (section 2.4.339) 168
BrtCommentAuthor (section 2.4.340) 632
BrtCommentText (section 2.4.341) 637
BrtCrashRecErr (section 2.4.342) 610
BrtCsPageSetup (section 2.4.343) 652
BrtCsProp (section 2.4.344) 651
BrtCsProtection (section 2.4.345) 669
BrtCsProtectionIso (section 2.4.346) 679
BrtCUsr (section 2.4.347) 399
BrtCustomFilter (section 2.4.348) 174
BrtCustomFilter14 (section 2.4.349) 1180
BRTCustomRichFilter (section 2.4.350) 5088
BrtDbCommand15 (section 2.4.351) 2117
BrtDbTable15 (section 2.4.352) 2120
BrtDecoupledPivotCacheID (section 2048 2.4.353) BrtDrawing (section 2.4.354) 550
BrtDRef (section 2.4.355) 499
BrtDVal (section 2.4.356) 64
BrtDVal14 (section 2.4.357) 1053
BrtDValList (section 2.4.358) 681
BrtDXF (section 2.4.359) 507
BrtDXF14 (section 2.4.360) 1171
BrtDXF15 (section 2.4.361) 2102
BrtDynamicFilter (section 2.4.362) 171
BrtDynamicRichFilter (section 2.4.363) 5090
BrtEndActiveXControls (section 2.4.364) 645
BrtEndAFilter (section 2.4.365) 162
BrtEndAutoSortScope (section 2.4.366) 460
BrtEndBook (section 2.4.367) 132
BrtEndBookViews (section 2.4.368) 136
175 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
Record type
Name (number) BrtEndBorders (section 2.4.369) 614
BrtEndBundleShs (section 2.4.370) 144
BrtEndCacheVersionInfo (section 5112 2.4.371) BrtEndCalcFeatures (section 2.4.372) 5096
BrtEndCellIgnoreECs (section 2.4.373) 650
BrtEndCellIgnoreECs14 (section 1170 2.4.374) BrtEndCellSmartTag (section 2.4.375) 591
BrtEndCellSmartTags (section 2.4.376) 593
BrtEndCellStyleXFs (section 2.4.377) 627
BrtEndCellWatches (section 2.4.378) 606
BrtEndCellXFs (section 2.4.379) 618
BrtEndCFRule (section 2.4.380) 464
BrtEndCFRule14 (section 2.4.381) 1049
BrtEndColBrk (section 2.4.382) 395
BrtEndColInfos (section 2.4.383) 391
BrtEndColorPalette (section 2.4.384) 474
BrtEndColorScale (section 2.4.385) 470
BrtEndColorScale14 (section 2.4.386) 1158
BrtEndComment (section 2.4.387) 636
BrtEndCommentAuthors (section 631 2.4.388) BrtEndCommentList (section 2.4.389) 634
BrtEndComments (section 2.4.390) 629
BrtEndConditionalFormatting (section 462 2.4.391) BrtEndConditionalFormatting14 1047 (section 2.4.392) BrtEndConditionalFormattings (section 1136 2.4.393) BrtEndCRErrs (section 2.4.394) 609
BrtEndCsView (section 2.4.395) 142
BrtEndCsViews (section 2.4.396) 140
BrtEndCustomFilters (section 2.4.397) 173
BrtEndCustomRichFilters (section 5087 2.4.398)
176 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
Record type
Name (number) BrtEndDatabar (section 2.4.399) 468
BrtEndDatabar14 (section 2.4.400) 1156
BrtEndDataFeedPr15 (section 2.4.401) 2114
BrtEndDataModel (section 2.4.402) 2122
BrtEndDbTables15 (section 2.4.403) 2119
BrtEndDCon (section 2.4.404) 496
BrtEndDecoupledPivotCacheIDs 2049 (section 2.4.405) BrtEndDeletedName (section 2.4.406) 454
BrtEndDeletedNames (section 2.4.407) 452
BrtEndDim (section 2.4.408) 276
BrtEndDims (section 2.4.409) 27 4
BrtEndDRefs (section 2.4.410) 498
BrtEndDVals (section 2.4.411) 574
BrtEndDVals14 (section 2.4.412) 1154
BrtEndDxf14s (section 2.4.413) 1173
BrtEndDXFs (section 2.4.414) 506
BrtEndDXFs15 (section 2.4.415) 2104
BrtEndDynamicArrayPr (section 2.4.416) 4097
BrtEndECDbProps (section 2.4.417) 204
BrtEndECOlapProps (section 2.4.418) 206
BrtEndECParam (section 2.4.419) 268
BrtEndECParams (section 2.4.420) 266
BrtEndECTWFldInfoLst (section 2.4.421) 541
BrtEndECTWFldInfoLst15 (section 2132 2.4.422) BrtEndECTxtWiz (section 2.4.423) 539
BrtEndECTxtWiz15 (section 2.4.424) 2130
BrtEndECWebProps (section 2.4.425) 262
BrtEndECWPTables (section 2.4.426) 264
BrtEndEsfmd (section 2.4.427) 340
BrtEndEsmdb (section 2.4.428) 338
BrtEndEsmdtinfo (section 2.4.429) 336
177 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
Record type
Name (number) BrtEndEsmdx (section 2.4.430) 373
BrtEndEsstr (section 2.4.431) 381
BrtEndExtConn14 (section 2.4.432) 1069
BrtEndExtConn15 (section 2.4.433) 2110
BrtEndExtConnection (section 2.4.434) 202
BrtEndExtConnections (section 2.4.435) 430
BrtEndExternals (section 2.4.436) 354
BrtEndFills (section 2.4.437) 604
BrtEndFilterColumn (section 2.4.438) 164
BrtEndFilters (section 2.4.439) 166
BrtEndFmd (section 2.4.440) 53
BrtEndFmts (section 2.4.441) 616
BrtEndFnGroup (section 2.4.442) 666
BrtEndFonts (section 2.4.443) 612
BrtEndHeaderFooter (section 2.4.444) 480
BrtEndIconSet (section 2.4.445) 466
BrtEndIconSet14 (section 2.4.446) 1155
BrtEndIndexedColors (section 2.4.447) 566
BrtEndISXTHCols (section 2.4.448) 323
BrtEndISXTHRws (section 2.4.449) 321
BrtEndISXVDCols (section 2.4.450) 312
BrtEndISXVDRws (section 2.4.451) 310
BrtEndISXVIs (section 2.4.452) 389
BrtEndItemUniqueNames (section 2107 2.4.453) BrtEndList (section 2.4.454) 344
BrtEndListCol (section 2.4.455) 348
BrtEndListCols (section 2.4.456) 346
BrtEndListParts (section 2.4.457) 662
BrtEndListXmlCPr (section 2.4.458) 350
BrtEndMap (section 2.4.459) 493
BrtEndMdx (section 2.4.460) 55
178 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
Record type
Name (number) BrtEndMdxKPI (section 2.4.461) 379
BrtEndMdxMbrProp (section 2.4.462) 377
BrtEndMdxSet (section 2.4.463) 375
BrtEndMdxTuple (section 2.4.464) 57
BrtEndMergeCells (section 2.4.465) 178
BrtEndMetadata (section 2.4.466) 333
BrtEndMG (section 2.4.467) 491
BrtEndMGMaps (section 2.4.468) 489
BrtEndMGs (section 2.4.469) 487
BrtEndModelRelationships (section 2127 2.4.470) BrtEndModelTables (section 2.4.471) 2124
brtEndModelTimeGrouping (section 2140 2.4.472) brtEndModelTimeGroupings (section 2138 2.4.473) BrtEndMRUColors (section 2.4.474) 570
BrtEndOledbPr15 (section 2.4.475) 2112
BrtEndOleObjects (section 2.4.476) 640
BrtEndPCD14 (section 2.4.477) 1067
BrtEndPCDCalcItem (section 2.4.478) 246
BrtEndPCDCalcItems (section 2.4.479) 244
BrtEndPCDCalcMem (section 2.4.480) 434
BrtEndPCDCalcMem14 (section 2.4.481) 1039
BrtEndPCDCalcMemExt (section 2.4.482) 1138
BrtEndPCDCalcMems (section 2.4.483) 432
BrtEndPCDCalcMemsExt (section 1140 2.4.484) BrtEndPCDFAtbl (section 2.4.485) 190
BrtEndPCDFGDiscrete (section 2.4.486) 226
BrtEndPCDFGItems (section 2.4.487) 222
BrtEndPCDFGRange (section 2.4.488) 224
BrtEndPCDFGroup (section 2.4.489) 220
BrtEndPCDField (section 2.4.490) 184
BrtEndPCDFields (section 2.4.491) 182
179 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
Record type
Name (number) BrtEndPCDHFieldsUsage (section 200 2.4.492) BrtEndPCDHGLevel (section 2.4.493) 438
BrtEndPCDHGLevels (section 2.4.494) 436
BrtEndPCDHGLGMember (section 446 2.4.495) BrtEndPCDHGLGMembers (section 444 2.4.496) BrtEndPCDHGLGroup (section 2.4.497) 442
BrtEndPCDHGLGroups (section 2.4.498) 440
BrtEndPCDHierarchies (section 2.4.499) 196
BrtEndPCDHierarchy (section 2.4.500) 198
BrtEndPCDIRun (section 2.4.501) 192 BrtEndPCDKPI (section 2.4.502) 272 BrtEndPCDKPIs (section 2.4.503) 270 BrtEndPCDSConsol (section 2.4.504) 208 BrtEndPCDSCPage (section 2.4.505) 212 BrtEndPCDSCPages (section 2.4.506) 210 BrtEndPCDSCPItem (section 2.4.507) 214 BrtEndPCDSCSet (section 2.4.508) 218 BrtEndPCDSCSets (section 2.4.509) 216 BrtEndPCDSDTCEMember (section 234 2.4.510)
BrtEndPCDSDTCEMembers (section 232 2.4.511)
BrtEndPCDSDTCEntries (section 2.4.512) 230 BrtEndPCDSDTCQueries (section 236 2.4.513)
BrtEndPCDSDTCQuery (section 2.4.514) 238 BrtEndPCDSDTCSet (section 2.4.515) 242 BrtEndPCDSDTCSets (section 2.4.516) 240 BrtEndPCDSDTupleCache (section 228 2.4.517)
BrtEndPCDSFCIEntries (section 2.4.518) 658 BrtEndPCDSource (section 2.4.519) 186 BrtEndPCDSRange (section 2.4.520) 188
180 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
Record type
Name (number) BrtEndPivotCacheDef (section 2.4.521) 180 BrtEndPivotCacheID (section 2.4.522) 387 BrtEndPivotCacheIDs (section 2.4.523) 385 BrtEndPivotCacheRecords (section 194 2.4.524)
BrtEndPivotRuleFilterSubtotals (section 5140 2.4.525)
BrtEndPivotTableRefs (section 2.4.526) 2052 BrtEndPivotTableUISettings (section 2073 2.4.527)
BrtEndPivotVersionInfo (section 5110 2.4.528)
BrtEndPName (section 2.4.529) 256 BrtEndPNames (section 2.4.530) 254 BrtEndPNPair (section 2.4.531) 260 BrtEndPNPairs (section 2.4.532) 258 BrtEndPRFilter (section 2.4.533) 252 BrtEndPRFilter14 (section 2.4.534) 1166 BrtEndPRFilters (section 2.4.535) 250 BrtEndPRFilters14 (section 2.4.536) 1164 BrtEndPRFItem (section 2.4.537) 383 BrtEndPRFItem14 (section 2.4.538) 1168 BrtEndPRule (section 2.4.539) 248 BrtEndPRule14 (section 2.4.540) 1162 BrtEndQSI (section 2.4.541) 448 BrtEndQSIF (section 2.4.542) 458 BrtEndQSIFs (section 2.4.543) 456 BrtEndQSIR (section 2.4.544) 450 BrtEndRichFilterColumn (section 5085 2.4.545)
BrtEndRichFilters (section 2.4.546) 5082 BrtEndRichSortCondition (section 5093 2.4.547)
BrtEndRichValueBlock (section 2.4.548) 5003 BrtEndRRSort (section 2.4.549) 674
181 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
Record type
Name (number) BrtEndRwBrk (section 2.4.550) 393 BrtEndScenMan (section 2.4.551) 501 BrtEndSct (section 2.4.552) 503 BrtEndSheet (section 2.4.553) 1 30 BrtEndSheetData (section 2.4.554) 146 BrtEndSingleCells (section 2.4.555) 342 BrtEndSlicer (section 2.4.556) 1084 BrtEndSlicerCache (section 2.4.557) 1076 BrtEndSlicerCacheDef (section 2.4.558) 1078 BrtEndSlicerCacheID (section 2.4.559) 1073 BrtEndSlicerCacheIDs (section 2.4.560) 1071 BrtEndSlicerCacheLevelData (section 1091 2.4.561)
BrtEndSlicerCacheLevelsData (section 1089 2.4.562)
BrtEndSlicerCacheNative (section 1101 2.4.563)
BrtEndSlicerCacheOlapImpl (section 1087 2.4.564)
BrtEndSlicerCacheSelections (section 1099 2.4.565)
BrtEndSlicerCacheSiRange (section 1095 2.4.566)
BrtEndSlicerCacheSiRanges (section 1093 2.4.567)
BrtEndSlicerCachesPivotCacheID 1134 (section 2.4.568)
BrtEndSlicerCachesPivotCacheIDs 1114 (section 2.4.569)
BrtEndSlicerEx (section 2.4.570) 1082 BrtEndSlicers (section 2.4.571) 1116 BrtEndSlicersEx (section 2.4.572) 1080 BrtEndSlicerStyle (section 2.4.573) 1129 BrtEndSlicerStyleElements (section 1145 2.4.574)
BrtEndSlicerStyles (section 2.4.575) 1143
182 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
Record type
Name (number) BrtEndSmartTags (section 2.4.576) 595 BrtEndSmartTagTypes (section 2.4.577) 598 BrtEndSortCond (section 2.4.578) 533 BrtEndSortCond14 (section 2.4.579) 1153 BrtEndSortState (section 2.4.580) 531 BrtEndSparklineGroup (section 2.4.581) 1042 BrtEndSparklineGroups (section 1059 2.4.582)
BrtEndSparklines (section 2.4.583) 1057 BrtEndSst (section 2.4.584) 160 BrtEndStyles (section 2.4.585) 620 BrtEndStyleSheet (section 2.4.586) 279 BrtEndStyleSheetExt14 (section 1132 2.4.587)
BrtEndSupBook (section 2.4.588) 588 BrtEndSXChange (section 2.4.589) 1123 BrtEndSXChanges (section 2.4.590) 1125 BrtEndSXCondFmt (section 2.4.591) 559 BrtEndSXCondFmt14 (section 2.4.592) 1148 BrtEndSXCondFmts (section 2.4.593) 561 BrtEndSXCondFmts14 (section 2.4.594) 1150 BrtEndSXCrtFormat (section 2.4.595) 482 BrtEndSXCrtFormats (section 2.4.596) 484 BrtEndSXDI (section 2.4.597) 294 BrtEndSXDIs (section 2.4.598) 296 BrtEndSXEdit (section 2.4.599) 1119 BrtEndSXEdits (section 2.4.600) 1121 BrtEndSXFilter (section 2.4.601) 602 BrtEndSXFilters (section 2.4.602) 600 BrtEndSXFormat (section 2.4.603) 304 BrtEndSxFormats (section 2.4.604) 306 BrtEndSXLI (section 2.4.605) 298 BrtEndSXLICols (section 2.4.606) 302
183 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
Record type
Name (number) BrtEndSXLIRws (section 2.4.607) 300 BrtEndSXLocation (section 2.4.608) 313 BrtEndSXPI (section 2.4.609) 290 BrtEndSXPIs (section 2.4.610) 292 BrtEndSxRow (section 2.4.611) 2058 BrtEndSxRules (section 2.4.612) 642 BrtEndSxrules14 (section 2.4.613) 1160 BrtEndSxSelect (section 2.4.614) 308 BrtEndSXTDMP (section 2.4.615) 327 BrtEndSXTDMPs (section 2.4.616) 325 BrtEndSXTH (section 2.4.617) 319 BrtEndSXTHItem (section 2.4.618) 331 BrtEndSXTHItems (section 2.4.619) 329 BrtEndSXTHs (section 2.4.620) 317 BrtEndSXTupleSet (section 2.4.621) 1027 BrtEndSXTupleSetData (section 2.4.622) 1032 BrtEndSXTupleSetHeader (section 1029 2.4.623)
BrtEndSXTupleSetRow (section 2.4.624) 1034 BrtEndSxvcells (section 2.4.625) 2056 BrtEndSXVD (section 2.4.626) 286 BrtEndSXVDs (section 2.4.627) 288 BrtEndSxvdSubtotals (section 2.4.629) 5137 BrtEndSxvdSubtotalLineItems (section 5144 2.4.628)
BrtEndSXVI (section 2.4.630) 281 BrtEndSXView (section 2.4.631) 315 BrtEndSxView14 (section 2.4.632) 1063 BrtEndSXView16 (section 2.4.633) 1065 BrtEndSXVIs (section 2.4.634) 284 BrtEndTableSlicerCache (section 2078 2.4.635)
BrtEndTableStyle (section 2.4.636) 511
184 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
Record type
Name (number) BrtEndTableStyles (section 2.4.637) 509 BrtEndTimelineCacheID (section 2086 2.4.638)
BrtEndTimelineCacheIDs (section 2084 2.4.639)
BrtEndTimelineCachePivotCacheIDs 2081 (section 2.4.640)
BrtEndTimelineEx (section 2.4.641) 2090 BrtEndTimelinesEx (section 2.4.642) 2088 BrtEndTimelineStyle (section 2.4.643) 2094 BrtEndTimelineStyleElements (section 2101 2.4.644)
BrtEndTimelineStyles (section 2.4.645) 2099 BrtEndTimelineStylesheetExt15 (section 2097 2.4.646)
BrtEndUserCsView (section 2.4.647) 656 BrtEndUserCsViews (section 2.4.648) 654 BrtEndUserShView (section 2.4.649) 424 BrtEndUserShViews (section 2.4.650) 425 BrtEndVolDeps (section 2.4.651) 515 BrtEndVolMain (section 2.4.652) 519 BrtEndVolTopic (section 2.4.653) 521 BrtEndVolType (section 2.4.654) 517 BrtEndWebExtensions (section 2.4.655) 2069 BrtEndWebPubItem (section 2.4.656) 557 BrtEndWebPubItems (section 2.4.657) 555 BrtEndWsSortMap (section 2.4.658) 672 BrtEndWsView (section 2.4.659) 138 BrtEndWsViews (section 2.4.660) 134 BrtEOF (section 2.4.661) 403 BrtExternalCodeService (section 5117 2.4.662)
BrtExternalCodeServiceImageAsInput 5142 (section 2.4.663)
BrtExternalLinksAlternateUrls (section 5108 2.4.664)
185 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
Record type
Name (number) BrtExternalLinksPr (section 2.4.665) 5099 BrtExternCellBlank (section 2.4.666) 367 BrtExternCellBool (section 2.4.667) 369 BrtExternCellError (section 2.4.668) 370 BrtExternCellReal (section 2.4.669) 368 BrtExternCellString (section 2.4.670) 371 BrtExternRowHdr (section 2.4.671) 366 BrtExternSheet (section 2.4.672) 362 BrtExternTableEnd (section 2.4.673) 364 BrtExternTableStart (section 2.4.674) 363 BrtExternValueMeta (section 2.4.675) 472 BrtFieldListActiveItem (section 2.4.676) 2134 BrtFileRecover (section 2.4.677) 155 BrtFileSharing (section 2.4.678) 548 BrtFileSharingIso (section 2.4.679) 676 BrtFileVersion (section 2.4.680) 128 BrtFill (section 2.4.681) 45 BrtFilter (section 2.4.682) 167 BrtFilter14 (section 2.4.683) 1177 BrtFmlaBool (section 2.4.684) 10 BrtFmlaError (section 2.4.685) 11 BrtFmlaNum (section 2.4.686) 9 BrtFmlaString (section 2.4.687) 8 BrtFmt (section 2.4.688) 44 BrtFnGroup (section 2.4.689) 665 BrtFont (section 2.4.690) 43 BrtFRTBegin (section 2.4.691) 35 BrtFRTEnd (section 2.4.692) 36 BrtHLink (section 2.4.693) 494 BrtIconFilter (section 2.4.694) 169 BrtIconFilter14 (section 2.4.695) 1181 BrtIndexBlock (section 2.4.696) 42
186 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
Record type
Name (number) BrtIndexedColor (section 2.4.697) 475 BrtIndexPartEnd (section 2.4.698) 277 BrtIndexRowBlock (section 2.4.699) 40 BrtInfo (section 2.4.700) 398 BrtItemUniqueName (section 2.4.701) 2108 BrtKnownFonts (section 2.4.702) 1025 BrtLegacyDrawing (section 2.4.703) 551 BrtLegacyDrawingHF (section 2.4.704) 552 BrtList14 (section 2.4.705) 1111 BrtListCCFmla (section 2.4.706) 351 BrtListPart (section 2.4.707) 661 BrtListTrFmla (section 2.4.708) 352 BrtMargins (section 2.4.709) 476 BrtMdb (section 2.4.710) 51 BrtMdtinfo (section 2.4.711) 335 BrtMdxMbrIstr (section 2.4.712) 58 BrtMergeCell (section 2.4.713) 176 BrtModelRelationship (section 2.4.714) 2128 BrtModelTable (section 2.4.715) 2125 brtModelTimeGroupingCalcCol (section 2141 2.4.716)
BrtMRUColor (section 2.4.717) 572 BrtName (section 2.4.718) 39 BrtNameExt (section 2.4.719) 1036 BrtOleObject (section 2.4.720) 639 BrtOleSize (section 2.4.721) 549 BrtPageSetup (section 2.4.722) 478 BrtPane (section 2.4.723) 151 BrtPCDCalcMem15 (section 2.4.724) 2060 BrtPCDField14 (section 2.4.725) 1141 BrtPCDH14 (section 2.4.726) 1037 BrtPCDH15 (section 2.4.727) 2092
187 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
Record type
Name (number) BrtPCDIABoolean (section 2.4.728) 29 BrtPCDIADatetime (section 2.4.729) 32 BrtPCDIAError (section 2.4.730) 30 BrtPCDIAMissing (section 2.4.731) 27 BrtPCDIANumber (section 2.4.732) 28 BrtPCDIAString (section 2.4.733) 31 BrtPCDIBoolean (section 2.4.734) 22 BrtPCDIDatetime (section 2.4.735) 25 BrtPCDIError (section 2.4.736) 23 BrtPCDIIndex (section 2.4.737) 26 BrtPCDIMissing (section 2.4.738) 20 BrtPCDINumber (section 2.4.739) 21 BrtPCDIString (section 2.4.740) 24 BrtPCDSFCIEntry (section 2.4.741) 659 BrtPCRRecord (section 2.4.742) 33 BrtPCRRecordDt (section 2.4.743) 34 BrtPhoneticInfo (section 2.4.744) 537 BrtPivotCacheAutoRefresh (section 5132 2.4.745)
BrtPivotCacheConnectionName (section 1182 2.4.746)
BrtPivotCacheDataSource (section 5133 2.4.747)
BrtPivotCacheIdVersion (section 2135 2.4.748)
BrtPivotCacheImplicitMeasureSupport 5100 (section 2.4.749)
BrtPivotCacheRichData (section 2.4.750) 5105 BrtPivotDataFieldFutureData (section 5103 2.4.751)
BrtPivotFieldFeatureSupportInfo 5131 (section 2.4.752)
BrtPivotFieldIgnorableAfter (section 5101 2.4.753)
BrtPivotHierarchyIgnorableAfter 5102 (section 2.4.754)
188 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
Record type
Name (number) BrtPivotLastUsedFeature (section 5114 2.4.755)
BrtPivotRequiredFeature (section 5113 2.4.756)
BrtPivotRuleFilterSubtotal (section 5141 2.4.757)
BrtPivotTableRef (section 2.4.758) 2053 BrtPlaceholderName (section 2.4.759) 361 BrtPrintOptions (section 2.4.760) 477 BrtQsi15 (section 2.4.761) 2067 BrtRangePr15 (section 2.4.762) 2116 BrtRangeProtection (section 2.4.763) 536 BrtRangeProtection14 (section 2.4.764) 1103 BrtRangeProtectionIso (section 2.4.765) 680 BrtRangeProtectionIso14 (section 1104 2.4.766)
brtRevisionPtr (section 2.4.767) 3073 BrtRichFilter (section 2.4.768) 5083 BrtRichFilterDateGroupItem (section 5094 2.4.769)
BrtRowHdr (section 2.4.770) 0 BrtRRAutoFmt (section 2.4.771) 421 BrtRRChgCell (section 2.4.772) 409 BrtRRConflict (section 2.4.773) 417 BrtRRDefName (section 2.4.774) 415 BrtRREndChgCell (section 2.4.775) 410 BrtRREndFormat (section 2.4.776) 420 BrtRREndInsDel (section 2.4.777) 406 BrtRREndMove (section 2.4.778) 408 BrtRRFormat (section 2.4.779) 419 BrtRRHeader (section 2.4.780) 411 BrtRRInsDel (section 2.4.781) 405 BrtRRInsertSh (section 2.4.782) 414 BrtRRMove (section 2.4.783) 407
189 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
Record type
Name (number) BrtRRNote (section 2.4.784) 416 BrtRRRenSheet (section 2.4.785) 413 BrtRRSortItem (section 2.4.786) 675 BrtRRTQSIF (section 2.4.787) 418 BrtRRUserView (section 2.4.788) 412 BrtRwDescent (section 2.4.789) 1024 BrtSel (section 2.4.790) 152 BrtSheetCalcProp (section 2.4.791) 663 BrtSheetProtection (section 2.4.792) 535 BrtSheetProtectionIso (section 2.4.793) 678 BrtShowDataTypeIcons (section 5127 2.4.794)
BrtShowDataTypeIconsUserShView 5134 (section 2.4.795)
BrtShrFmla (section 2.4.796) 427 BrtSlc (section 2.4.797) 504 BrtSlicerCacheBookPivotTables (section 2054 2.4.798)
BrtSlicerCacheHideItemsWithNoData 2105 (section 2.4.799)
BrtSlicerCacheNativeItem (section 1102 2.4.800)
BrtSlicerCacheOlapItem (section 1096 2.4.801)
BrtSlicerCachePivotTables (section 1085 2.4.802)
BrtSlicerCacheSelection (section 1098 2.4.803)
BrtSlicerStyleElement (section 2.4.804) 1130 BrtSmartTagType (section 2.4.805) 596 BrtSparkline (section 2.4.806) 1043 BrtSSTItem (section 2.4.807) 19 BrtStr (section 2.4.808) 59 BrtStyle (section 2.4.809) 48 BrtSupAddin (section 2.4.810) 667 BrtSupBookSrc (section 2.4.811) 355
190 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
Record type
Name (number) BrtSupNameBits (section 2.4.812) 586 BrtSupNameBool (section 2.4.813) 584 BrtSupNameEnd (section 2.4.814) 587 BrtSupNameErr (section 2.4.815) 581 BrtSupNameFmla (section 2.4.816) 585 BrtSupNameNil (section 2.4.817) 583 BrtSupNameNum (section 2.4.818) 580 BrtSupNameSt (section 2.4.819) 582 BrtSupNameStart (section 2.4.820) 577 BrtSupNameValueEnd (section 2.4.821) 579 BrtSupNameValueStart (section 2.4.822) 578 BrtSupSame (section 2.4.823) 358 BrtSupSelf (section 2.4.824) 357 BrtSupTabs (section 2.4.825) 359 BrtSXDI14 (section 2.4.826) 1044 BrtSXDI15 (section 2.4.827) 21 36 BrtSXDIAggregation (section 2.4.828) 5130 BrtSxFilter15 (section 2.4.829) 2079 BrtSXTDMPOrder (section 2.4.830) 668 BrtSXTH14 (section 2.4.831) 1040 BrtSXTupleItems (section 2.4.832) 1126 BrtSXTupleSetHeaderItem (section 1030 2.4.833)
BrtSXTupleSetRowItem (section 1035 2.4.834)
BrtSxvcellBool (section 2.4.835) 67 BrtSxvcellDate (section 2.4.836) 69 BrtSxvcellErr (section 2.4.837) 68 BrtSxvcellNil (section 2.4.838) 70 BrtSxvcellNum (section 2.4.839) 65 BrtSxvcellStr (section 2.4.840) 66 BrtSXVD14 (section 2.4.841) 1061 BrtSxvdSubtotal (section 2.4.842) 5138
191 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
Record type
Name (number) BrtSxvdSubtotalLineItem (section 5145 2.4.843)
BrtTable (section 2.4.844) 428 BrtTableSlicerCacheID (section 2.4.845) 2076 BrtTableSlicerCacheIDs (section 2075 2.4.846)
BrtTableStyleClient (section 2.4.847) 513 BrtTableStyleElement (section 2.4.848) 512 BrtTextPr15 (section 2.4.849) 2115 BrtTimelineCachePivotCacheID (section 2082 2.4.850)
BrtTimelineStyleElement (section 2095 2.4.851)
BrtTop10Filter (section 2.4.852) 170 BrtTop10RichFilter (section 2.4.853) 5089 BrtUCR (section 2.4.854) 404 BrtUserBookView (section 2.4.856) 397 BrtUsr (section 2.4.857) 400 BrtValueMeta (section 2.4.858) 50 BrtVolBool (section 2.4.859) 527 BrtVolErr (section 2.4.860) 525 BrtVolNum (section 2.4.861) 524 BrtVolRef (section 2.4.862) 523 BrtVolStr (section 2.4.863) 526 BrtVolSubtopic (section 2.4.864) 522 BrtWbFactoid (section 2.4.865) 154 BrtWbProp (section 2.4.866) 153 BrtWbProp14 (section 2.4.867) 1117 BrtWebExtension (section 2.4.868) 2070 BrtWebOpt (section 2.4.869) 553 BrtWorkbookCompatibilityVersion 5135 (section 2.4.870)
BrtWorkBookPr15 (section 2.4.871) 2091 BrtWsDim (section 2.4.872) 148
192 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
Record type
Name (number) BrtWsFmtInfo (section 2.4.873) 485 BrtWsFmtInfoEx14 (section 2.4.874) 1045 BrtWsProp (section 2.4.875) 147 BrtXF (section 2.4.876) 47
2.3.2 By Number Record type Name (number) BrtRowHdr (section 2.4.770) 0
BrtCellBlank (section 2.4.319) 1
BrtCellRk (section 2.4.327) 2
BrtCellError (section 2.4.321) 3
BrtCellBool (section 2.4.320) 4
BrtCellReal (section 2.4.326) 5
BrtCellSt (section 2.4.330) 6
BrtCellIsst (section 2.4.324) 7
BrtFmlaString (section 2.4.687) 8
BrtFmlaNum (section 2.4.686) 9
BrtFmlaBool (section 2.4.684) 10
BrtFmlaError (section 2.4.685) 11
BrtSSTItem (section 2.4.807) 19
BrtPCDIMissing (section 2.4.738) 20
BrtPCDINumber (section 2.4.739) 21
BrtPCDIBoolean (section 2.4.734) 22
BrtPCDIError (section 2.4.736) 23
BrtPCDIString (section 2.4.740) 24
BrtPCDIDatetime (section 2.4.735) 25
BrtPCDIIndex (section 2.4.737) 26
BrtPCDIAMissing (section 2.4.731) 27
BrtPCDIANumber (section 2.4.732) 28
BrtPCDIABoolean (section 2.4.728) 29
BrtPCDIAError (section 2.4.730) 30
193 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
Record type
Name (number) BrtPCDIAString (section 2.4.733) 31
BrtPCDIADatetime (section 2.4.729) 32
BrtPCRRecord (section 2.4.742) 33
BrtPCRRecordDt (section 2.4.743) 34
BrtFRTBegin (section 2.4.691) 35
BrtFRTEnd (section 2.4.692) 36
BrtACBegin (section 2.4.2) 37
BrtACEnd (section 2.4.3) 38
BrtName (section 2.4.718) 39
BrtIndexRowBlock (section 2.4.699) 40
BrtIndexBlock (section 2.4.696) 42
BrtFont (section 2.4.690) 43
BrtFmt (section 2.4.688) 44
BrtFill (section 2.4.681) 45
BrtBorder (section 2.4.314) 46
BrtXF (section 2.4.876) 47
BrtStyle (section 2.4.809) 48
BrtCellMeta (section 2.4.325) 49
BrtValueMeta (section 2.4.858) 50
BrtMdb (section 2.4.710) 51
BrtBeginFmd (section 2.4.86) 52
BrtEndFmd (section 2.4.440) 53
BrtBeginMdx (section 2.4.106) 54
BrtEndMdx (section 2.4.460) 55
BrtBeginMdxTuple (section 2.4.110) 56
BrtEndMdxTuple (section 2.4.464) 57
BrtMdxMbrIstr (section 2.4.712) 58 BrtStr (section 2.4.808) 59
BrtColInfo (section 2.4.336) 60
BrtCellRString (section 2.4.328) 62
BrtDVal (section 2.4.356) 64
BrtSxvcellNum (section 2.4.839) 65
194 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
Record type
Name (number) BrtSxvcellStr (section 2.4.840) 66 BrtSxvcellBool (section 2.4.835) 67 BrtSxvcellErr (section 2.4.837) 68 BrtSxvcellDate (section 2.4.836) 69 BrtSxvcellNil (section 2.4.838) 70 BrtFileVersion (section 2.4.680) 128
BrtBeginSheet (section 2.4.200) 129
BrtEndSheet (section 2.4.553) 130
BrtBeginBook (section 2.4.10) 131
BrtEndBook (section 2.4.367) 132
BrtBeginWsViews (section 2.4.308) 133
BrtEndWsViews (section 2.4.660) 134
BrtBeginBookViews (section 2.4.11) 135
BrtEndBookViews (section 2.4.368) 136
BrtBeginWsView (section 2.4.307) 137
BrtEndWsView (section 2.4.659) 138
BrtBeginCsViews (section 2.4.39) 139
BrtEndCsViews (section 2.4.396) 140
BrtBeginCsView (section 2.4.38) 141
BrtEndCsView (section 2.4.395) 142
BrtBeginBundleShs (section 2.4.13) 143
BrtEndBundleShs (section 2.4.370) 144
BrtBeginSheetData (section 2.4.201) 145
BrtEndSheetData (section 2.4.554) 146 BrtWsProp (section 2.4.875) 147 BrtWsDim (section 2.4.872) 148 BrtPane (section 2.4.723) 151 BrtSel (section 2.4.790) 152 BrtWbProp (section 2.4.866) 153 BrtWbFactoid (section 2.4.865) 154 BrtFileRecover (section 2.4.677) 155
BrtBundleSh (section 2.4.316) 156
195 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
Record type
Name (number) BrtCalcProp (section 2.4.318) 157
BrtBookView (section 2.4.313) 158
BrtBeginSst (section 2.4.231) 159
BrtEndSst (section 2.4.584) 160
BrtBeginAFilter (section 2.4.8) 161
BrtEndAFilter (section 2.4.365) 162
BrtBeginFilterColumn (section 2.4.84) 163
BrtEndFilterColumn (section 2.4.438) 164
BrtBeginFilters (section 2.4.85) 165
BrtEndFilters (section 2.4.439) 166
BrtFilter (section 2.4.682) 167
BrtColorFilter (section 2.4.339) 168
BrtIconFilter (section 2.4.694) 169 BrtTop10Filter (section 2.4.852) 170
BrtDynamicFilter (section 2.4.362) 171
BrtBeginCustomFilters (section 2.4.40) 172
BrtEndCustomFilters (section 2.4.397) 173
BrtCustomFilter (section 2.4.348) 174
BrtAFilterDateGroupItem (section 2.4.5) 175
BrtMergeCell (section 2.4.713) 176
BrtBeginMergeCells (section 2.4.111) 177
BrtEndMergeCells (section 2.4.465) 178
BrtBeginPivotCacheDef (section 2.4.168) 179
BrtEndPivotCacheDef (section 2.4.521) 180
BrtBeginPCDFields (section 2.4.137) 181
BrtEndPCDFields (section 2.4.491) 182
BrtBeginPCDField (section 2.4.136) 183
BrtEndPCDField (section 2.4.490) 184
BrtBeginPCDSource (section 2.4.166) 185
BrtEndPCDSource (section 2.4.519) 186
BrtBeginPCDSRange (section 2.4.167) 187
BrtEndPCDSRange (section 2.4.520) 188
196 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
Record type
Name (number) BrtBeginPCDFAtbl (section 2.4.131) 189
BrtEndPCDFAtbl (section 2.4.485) 190
BrtBeginPCDIRun (section 2.4.147) 191
BrtEndPCDIRun (section 2.4.501) 192
BrtBeginPivotCacheRecords (section 193 2.4.171) BrtEndPivotCacheRecords (section 2.4.524) 194
BrtBeginPCDHierarchies (section 2.4.145) 195
BrtEndPCDHierarchies (section 2.4.499) 196
BrtBeginPCDHierarchy (section 2.4.146) 197
BrtEndPCDHierarchy (section 2.4.500) 198
BrtBeginPCDHFieldsUsage (section 2.4.138) 199
BrtEndPCDHFieldsUsage (section 2.4.492) 200
BrtBeginExtConnection (section 2.4.80) 201
BrtEndExtConnection (section 2.4.434) 202
BrtBeginECDbProps (section 2.4.61) 203
BrtEndECDbProps (section 2.4.417) 204
BrtBeginECOlapProps (section 2.4.62) 205
BrtEndECOlapProps (section 2.4.418) 206
BrtBeginPCDSConsol (section 2.4.150) 207
BrtEndPCDSConsol (section 2.4.504) 208
BrtBeginPCDSCPages (section 2.4.152) 209
BrtEndPCDSCPages (section 2.4.506) 210
BrtBeginPCDSCPage (section 2.4.151) 211
BrtEndPCDSCPage (section 2.4.505) 212
BrtBeginPCDSCPItem (section 2.4.153) 213
BrtEndPCDSCPItem (section 2.4.507) 214
BrtBeginPCDSCSets (section 2.4.155) 215
BrtEndPCDSCSets (section 2.4.509) 216
BrtBeginPCDSCSet (section 2.4.154) 217
BrtEndPCDSCSet (section 2.4.508) 218
BrtBeginPCDFGroup (section 2.4.135) 219
197 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
Record type
Name (number) BrtEndPCDFGroup (section 2.4.489) 220
BrtBeginPCDFGItems (section 2.4.133) 221
BrtEndPCDFGItems (section 2.4.487) 222
BrtBeginPCDFGRange (section 2.4.134) 223
BrtEndPCDFGRange (section 2.4.488) 224
BrtBeginPCDFGDiscrete (section 2.4.132) 225
BrtEndPCDFGDiscrete (section 2.4.486) 226
BrtBeginPCDSDTupleCache (section 227 2.4.164) BrtEndPCDSDTupleCache (section 2.4.517) 228
BrtBeginPCDSDTCEntries (section 2.4.159) 229
BrtEndPCDSDTCEntries (section 2.4.512) 230
BrtBeginPCDSDTCEMembers (section 231 2.4.157) BrtEndPCDSDTCEMembers (section 232 2.4.511)
BrtBeginPCDSDTCEMember (section 233 2.4.156) BrtEndPCDSDTCEMember (section 2.4.510) 234
BrtBeginPCDSDTCQueries (section 2.4.160) 235
BrtEndPCDSDTCQueries (section 2.4.513) 236
BrtBeginPCDSDTCQuery (section 2.4.161) 237
BrtEndPCDSDTCQuery (section 2.4.514) 238
BrtBeginPCDSDTCSets (section 2.4.163) 239
BrtEndPCDSDTCSets (section 2.4.516) 240
BrtBeginPCDSDTCSet (section 2.4.162) 241
BrtEndPCDSDTCSet (section 2.4.515) 242
BrtBeginPCDCalcItems (section 2.4.125) 243
BrtEndPCDCalcItems (section 2.4.479) 244
BrtBeginPCDCalcItem (section 2.4.124) 245
BrtEndPCDCalcItem (section 2.4.478) 246
BrtBeginPRule (section 2.4.186) 247
BrtEndPRule (section 2.4.539) 248
BrtBeginPRFilters (section 2.4.182) 249
198 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
Record type
Name (number) BrtEndPRFilters (section 2.4.535) 250
BrtBeginPRFilter (section 2.4.180) 251
BrtEndPRFilter (section 2.4.533) 252
BrtBeginPNames (section 2.4.177) 253
BrtEndPNames (section 2.4.530) 254
BrtBeginPName (section 2.4.176) 255
BrtEndPName (section 2.4.529) 256
BrtBeginPNPairs (section 2.4.179) 257
BrtEndPNPairs (section 2.4.532) 258
BrtBeginPNPair (section 2.4.178) 259
BrtEndPNPair (section 2.4.531) 260
BrtBeginECWebProps (section 2.4.71) 261
BrtEndECWebProps (section 2.4.425) 262
BrtBeginEcWpTables (section 2.4.72) 263
BrtEndECWPTables (section 2.4.426) 264
BrtBeginECParams (section 2.4.64) 265
BrtEndECParams (section 2.4.420) 266
BrtBeginECParam (section 2.4.63) 267
BrtEndECParam (section 2.4.419) 268
BrtBeginPCDKPIs (section 2.4.149) 269
BrtEndPCDKPIs (section 2.4.503) 270
BrtBeginPCDKPI (section 2.4.148) 271
BrtEndPCDKPI (section 2.4.502) 272
BrtBeginDims (section 2.4.53) 273
BrtEndDims (section 2.4.409) 274
BrtBeginDim (section 2.4.52) 275
BrtEndDim (section 2.4.408) 276
BrtIndexPartEnd (section 2.4.698) 277
BrtBeginStyleSheet (section 2.4.233) 278
BrtEndStyleSheet (section 2.4.586) 279
BrtBeginSXView (section 2.4.278) 280
BrtEndSXVI (section 2.4.630) 281
199 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
Record type
Name (number) BrtBeginSXVI (section 2.4.277) 282
BrtBeginSXVIs (section 2.4.281) 283
BrtEndSXVIs (section 2.4.634) 284
BrtBeginSXVD (section 2.4.273) 285
BrtEndSXVD (section 2.4.626) 286
BrtBeginSXVDs (section 2.4.274) 287
BrtEndSXVDs (section 2.4.627) 288
BrtBeginSXPI (section 2.4.256) 289
BrtEndSXPI (section 2.4.609) 290
BrtBeginSXPIs (section 2.4.257) 291
BrtEndSXPIs (section 2.4.610) 292
BrtBeginSXDI (section 2.4.244) 293
BrtEndSXDI (section 2.4.597) 294
BrtBeginSXDIs (section 2.4.245) 295
BrtEndSXDIs (section 2.4.598) 296
BrtBeginSXLI (section 2.4.252) 297
BrtEndSXLI (section 2.4.605) 298
BrtBeginSXLIRws (section 2.4.254) 299
BrtEndSXLIRws (section 2.4.607) 300
BrtBeginSXLICols (section 2.4.253) 301
BrtEndSXLICols (section 2.4.606) 302
BrtBeginSXFormat (section 2.4.250) 303
BrtEndSXFormat (section 2.4.603) 304
BrtBeginSXFormats (section 2.4.251) 305
BrtEndSxFormats (section 2.4.604) 306
BrtBeginSxSelect (section 2.4.261) 307
BrtEndSxSelect (section 2.4.614) 308
BrtBeginISXVDRws (section 2.4.97) 309
BrtEndISXVDRws (section 2.4.451) 310
BrtBeginISXVDCols (section 2.4.96) 311
BrtEndISXVDCols (section 2.4.450) 312
BrtEndSXLocation (section 2.4.608) 313
200 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
Record type
Name (number) BrtBeginSXLocation (section 2.4.255) 314
BrtEndSXView (section 2.4.631) 315
BrtBeginSXTHs (section 2.4.267) 316
BrtEndSXTHs (section 2.4.620) 317
BrtBeginSXTH (section 2.4.264) 318
BrtEndSXTH (section 2.4.617) 319
BrtBeginISXTHRws (section 2.4.95) 320
BrtEndISXTHRws (section 2.4.449) 321
BrtBeginISXTHCols (section 2.4.94) 322
BrtEndISXTHCols (section 2.4.448) 323
BrtBeginSXTDMPS (section 2.4.263) 324
BrtEndSXTDMPs (section 2.4.616) 325
BrtBeginSXTDMP (section 2.4.262) 326
BrtEndSXTDMP (section 2.4.615) 327
BrtBeginSXTHItems (section 2.4.266) 328
BrtEndSXTHItems (section 2.4.619) 329
BrtBeginSXTHItem (section 2.4.265) 330
BrtEndSXTHItem (section 2.4.618) 331
BrtBeginMetadata (section 2.4.112) 332
BrtEndMetadata (section 2.4.466) 333
BrtBeginEsmdtinfo (section 2.4.75) 334
BrtMdtinfo (section 2.4.711) 335
BrtEndEsmdtinfo (section 2.4.429) 336
BrtBeginEsmdb (section 2.4.74) 337
BrtEndEsmdb (section 2.4.428) 338
BrtBeginEsfmd (section 2.4.73) 339
BrtEndEsfmd (section 2.4.427) 340
BrtBeginSingleCells (section 2.4.202) 341
BrtEndSingleCells (section 2.4.555) 342
BrtBeginList (section 2.4.100) 343
BrtEndList (section 2.4.454) 344
BrtBeginListCols (section 2.4.102) 345
201 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
Record type
Name (number) BrtEndListCols (section 2.4.456) 346
BrtBeginListCol (section 2.4.101) 347
BrtEndListCol (section 2.4.455) 348
BrtBeginListXmlCPr (section 2.4.104) 349
BrtEndListXmlCPr (section 2.4.458) 350
BrtListCCFmla (section 2.4.706) 351 BrtListTrFmla (section 2.4.708) 352
BrtBeginExternals (section 2.4.82) 353
BrtEndExternals (section 2.4.436) 354
BrtSupBookSrc (section 2.4.811) 355 BrtSupSelf (section 2.4.824) 357 BrtSupSame (section 2.4.823) 358 BrtSupTabs (section 2.4.825) 359
BrtBeginSupBook (section 2.4.235) 360
BrtPlaceholderName (section 2.4.759) 361 BrtExternSheet (section 2.4.672) 362 BrtExternTableStart (section 2.4.674) 363 BrtExternTableEnd (section 2.4.673) 364 BrtExternRowHdr (section 2.4.671) 366 BrtExternCellBlank (section 2.4.666) 367 BrtExternCellReal (section 2.4.669) 368 BrtExternCellBool (section 2.4.667) 369 BrtExternCellError (section 2.4.668) 370 BrtExternCellString (section 2.4.670) 371
BrtBeginEsmdx (section 2.4.76) 372
BrtEndEsmdx (section 2.4.430) 373
BrtBeginMdxSet (section 2.4.109) 374
BrtEndMdxSet (section 2.4.463) 375
BrtBeginMdxMbrProp (section 2.4.108) 376
BrtEndMdxMbrProp (section 2.4.462) 377
BrtBeginMdxKPI (section 2.4.107) 378
BrtEndMdxKPI (section 2.4.461) 379
202 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
Record type
Name (number) BrtBeginEsstr (section 2.4.77) 380
BrtEndEsstr (section 2.4.431) 381
BrtBeginPRFItem (section 2.4.184) 382
BrtEndPRFItem (section 2.4.537) 383
BrtBeginPivotCacheIDs (section 2.4.170) 384
BrtEndPivotCacheIDs (section 2.4.523) 385
BrtBeginPivotCacheID (section 2.4.169) 386
BrtEndPivotCacheID (section 2.4.522) 387
BrtBeginISXVIs (section 2.4.98) 388
BrtEndISXVIs (section 2.4.452) 389
BrtBeginColInfos (section 2.4.26) 390
BrtEndColInfos (section 2.4.383) 391
BrtBeginRwBrk (section 2.4.197) 392
BrtEndRwBrk (section 2.4.550) 393
BrtBeginColBrk (section 2.4.25) 394
BrtEndColBrk (section 2.4.382) 395
BrtBrk (section 2.4.315) 396
BrtUserBookView (section 2.4.856) 397 BrtInfo (section 2.4.700) 398
BrtCUsr (section 2.4.347) 399
BrtUsr (section 2.4.857) 400
BrtBeginUsers (section 2.4.296) 401
BrtEOF (section 2.4.661) 403 BrtUCR (section 2.4.854) 404 BrtRRInsDel (section 2.4.781) 405 BrtRREndInsDel (section 2.4.777) 406 BrtRRMove (section 2.4.783) 407 BrtRREndMove (section 2.4.778) 408 BrtRRChgCell (section 2.4.772) 409 BrtRREndChgCell (section 2.4.775) 410 BrtRRHeader (section 2.4.780) 411 BrtRRUserView (section 2.4.788) 412
203 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
Record type
Name (number) BrtRRRenSheet (section 2.4.785) 413 BrtRRInsertSh (section 2.4.782) 414 BrtRRDefName (section 2.4.774) 415 BrtRRNote (section 2.4.784) 416 BrtRRConflict (section 2.4.773) 417 BrtRRTQSIF (section 2.4.787) 418 BrtRRFormat (section 2.4.779) 419 BrtRREndFormat (section 2.4.776) 420 BrtRRAutoFmt (section 2.4.771) 421
BrtBeginUserShViews (section 2.4.298) 422
BrtBeginUserShView (section 2.4.297) 423
BrtEndUserShView (section 2.4.649) 424 BrtEndUserShViews (section 2.4.650) 425
BrtArrFmla (section 2.4.6) 426
BrtShrFmla (section 2.4.796) 427 BrtTable (section 2.4.844) 428
BrtBeginExtConnections (section 2.4.81) 429
BrtEndExtConnections (section 2.4.435) 430
BrtBeginPCDCalcMems (section 2.4.129) 431
BrtEndPCDCalcMems (section 2.4.483) 432
BrtBeginPCDCalcMem (section 2.4.126) 433
BrtEndPCDCalcMem (section 2.4.480) 434
BrtBeginPCDHGLevels (section 2.4.140) 435
BrtEndPCDHGLevels (section 2.4.494) 436
BrtBeginPCDHGLevel (section 2.4.139) 437
BrtEndPCDHGLevel (section 2.4.493) 438
BrtBeginPCDHGLGroups (section 2.4.144) 439
BrtEndPCDHGLGroups (section 2.4.498) 440
BrtBeginPCDHGLGroup (section 2.4.143) 441
BrtEndPCDHGLGroup (section 2.4.497) 442
BrtBeginPCDHGLGMembers (section 443 2.4.142)
204 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
Record type
Name (number) BrtEndPCDHGLGMembers (section 2.4.496) 444
BrtBeginPCDHGLGMember (section 2.4.141) 445
BrtEndPCDHGLGMember (section 2.4.495) 446
BrtBeginQSI (section 2.4.188) 447
BrtEndQSI (section 2.4.541) 448
BrtBeginQSIR (section 2.4.191) 449
BrtEndQSIR (section 2.4.544) 450
BrtBeginDeletedNames (section 2.4.51) 451
BrtEndDeletedNames (section 2.4.407) 452
BrtBeginDeletedName (section 2.4.50) 453
BrtEndDeletedName (section 2.4.406) 454
BrtBeginQSIFs (section 2.4.190) 455
BrtEndQSIFs (section 2.4.543) 456
BrtBeginQSIF (section 2.4.189) 457
BrtEndQSIF (section 2.4.542) 458
BrtBeginAutoSortScope (section 2.4.9) 459
BrtEndAutoSortScope (section 2.4.366) 460
BrtBeginConditionalFormatting (section 461 2.4.34) BrtEndConditionalFormatting (section 462 2.4.391) BrtBeginCFRule (section 2.4.23) 463
BrtEndCFRule (section 2.4.380) 464
BrtBeginIconSet (section 2.4.91) 465
BrtEndIconSet (section 2.4.445) 466
BrtBeginDatabar (section 2.4.43) 467
BrtEndDatabar (section 2.4.399) 468
BrtBeginColorScale (section 2.4.28) 469
BrtEndColorScale (section 2.4.385) 470
BrtCFVO (section 2.4.334) 471
BrtExternValueMeta (section 2.4.675) 472
BrtBeginColorPalette (section 2.4.27) 473
BrtEndColorPalette (section 2.4.384) 474
205 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
Record type
Name (number) BrtIndexedColor (section 2.4.697) 475 BrtMargins (section 2.4.709) 476 BrtPrintOptions (section 2.4.760) 477 BrtPageSetup (section 2.4.722) 478
BrtBeginHeaderFooter (section 2.4.90) 479
BrtEndHeaderFooter (section 2.4.444) 480
BrtBeginSXCrtFormat (section 2.4.242) 481
BrtEndSXCrtFormat (section 2.4.595) 482
BrtBeginSXCrtFormats (section 2.4.243) 483
BrtEndSXCrtFormats (section 2.4.596) 484 BrtWsFmtInfo (section 2.4.873) 485
BrtBeginMgs (section 2.4.115) 486
BrtEndMGs (section 2.4.469) 487
BrtBeginMGMaps (section 2.4.114) 488
BrtEndMGMaps (section 2.4.468) 489
BrtBeginMG (section 2.4.113) 490
BrtEndMG (section 2.4.467) 491
BrtBeginMap (section 2.4.105) 492
BrtEndMap (section 2.4.459) 493
BrtHLink (section 2.4.693) 494
BrtBeginDCon (section 2.4.48) 495
BrtEndDCon (section 2.4.404) 496
BrtBeginDRefs (section 2.4.54) 497
BrtEndDRefs (section 2.4.410) 498
BrtDRef (section 2.4.355) 499
BrtBeginScenMan (section 2.4.198) 500
BrtEndScenMan (section 2.4.551) 501
BrtBeginSct (section 2.4.199) 502
BrtEndSct (section 2.4.552) 503 BrtSlc (section 2.4.797) 504
BrtBeginDXFs (section 2.4.58) 505
BrtEndDXFs (section 2.4.414) 506
206 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
Record type
Name (number) BrtDXF (section 2.4.359) 507
BrtBeginTableStyles (section 2.4.284) 508
BrtEndTableStyles (section 2.4.637) 509
BrtBeginTableStyle (section 2.4.283) 510
BrtEndTableStyle (section 2.4.636) 511 BrtTableStyleElement (section 2.4.848) 512 BrtTableStyleClient (section 2.4.847) 513
BrtBeginVolDeps (section 2.4.299) 514
BrtEndVolDeps (section 2.4.651) 515
BrtBeginVolType (section 2.4.302) 516
BrtEndVolType (section 2.4.654) 517
BrtBeginVolMain (section 2.4.300) 518
BrtEndVolMain (section 2.4.652) 519
BrtBeginVolTopic (section 2.4.301) 520
BrtEndVolTopic (section 2.4.653) 521 BrtVolSubtopic (section 2.4.864) 522 BrtVolRef (section 2.4.862) 523 BrtVolNum (section 2.4.861) 524 BrtVolErr (section 2.4.860) 525 BrtVolStr (section 2.4.863) 526 BrtVolBool (section 2.4.859) 527
BrtBeginSortState (section 2.4.227) 530
BrtEndSortState (section 2.4.580) 531
BrtBeginSortCond (section 2.4.225) 532
BrtEndSortCond (section 2.4.578) 533
BrtBookProtection (section 2.4.311) 534
BrtSheetProtection (section 2.4.792) 535 BrtRangeProtection (section 2.4.763) 536 BrtPhoneticInfo (section 2.4.744) 537
BrtBeginECTxtWiz (section 2.4.69) 538
BrtEndECTxtWiz (section 2.4.423) 539
BrtBeginECTWFldInfoLst (section 2.4.67) 540
207 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
Record type
Name (number) BrtEndECTWFldInfoLst (section 2.4.421) 541
BrtBeginECTwFldInfo (section 2.4.65) 542
BrtFileSharing (section 2.4.678) 548 BrtOleSize (section 2.4.721) 549
BrtDrawing (section 2.4.354) 550
BrtLegacyDrawing (section 2.4.703) 551 BrtLegacyDrawingHF (section 2.4.704) 552 BrtWebOpt (section 2.4.869) 553
BrtBeginWebPubItems (section 2.4.305) 554
BrtEndWebPubItems (section 2.4.657) 555
BrtBeginWebPubItem (section 2.4.304) 556
BrtEndWebPubItem (section 2.4.656) 557
BrtBeginSXCondFmt (section 2.4.238) 558
BrtEndSXCondFmt (section 2.4.591) 559
BrtBeginSXCondFmts (section 2.4.240) 560
BrtEndSXCondFmts (section 2.4.593) 561
BrtBkHim (section 2.4.310) 562
BrtColor (section 2.4.337) 564
BrtBeginIndexedColors (section 2.4.93) 565
BrtEndIndexedColors (section 2.4.447) 566
BrtBeginMRUColors (section 2.4.120) 569
BrtEndMRUColors (section 2.4.474) 570
BrtMRUColor (section 2.4.717) 572
BrtBeginDVals (section 2.4.55) 573
BrtEndDVals (section 2.4.411) 574
BrtSupNameStart (section 2.4.820) 577 BrtSupNameValueStart (section 2.4.822) 578 BrtSupNameValueEnd (section 2.4.821) 579 BrtSupNameNum (section 2.4.818) 580 BrtSupNameErr (section 2.4.815) 581 BrtSupNameSt (section 2.4.819) 582 BrtSupNameNil (section 2.4.817) 583
208 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
Record type
Name (number) BrtSupNameBool (section 2.4.813) 584 BrtSupNameFmla (section 2.4.816) 585 BrtSupNameBits (section 2.4.812) 586 BrtSupNameEnd (section 2.4.814) 587 BrtEndSupBook (section 2.4.588) 588
BrtCellSmartTagProperty (section 2.4.329) 589
BrtBeginCellSmartTag (section 2.4.18) 590
BrtEndCellSmartTag (section 2.4.375) 591
BrtBeginCellSmartTags (section 2.4.19) 592
BrtEndCellSmartTags (section 2.4.376) 593
BrtBeginSmartTags (section 2.4.223) 594
BrtEndSmartTags (section 2.4.576) 595 BrtSmartTagType (section 2.4.805) 596
BrtBeginSmartTagTypes (section 2.4.224) 597
BrtEndSmartTagTypes (section 2.4.577) 598
BrtBeginSXFilters (section 2.4.249) 599
BrtEndSXFilters (section 2.4.602) 600
BrtBeginSXFILTER (section 2.4.248) 601
BrtEndSXFilter (section 2.4.601) 602
BrtBeginFills (section 2.4.83) 603
BrtEndFills (section 2.4.437) 604
BrtBeginCellWatches (section 2.4.21) 605
BrtEndCellWatches (section 2.4.378) 606
BrtCellWatch (section 2.4.331) 607
BrtBeginCRErrs (section 2.4.37) 608
BrtEndCRErrs (section 2.4.394) 609
BrtCrashRecErr (section 2.4.342) 610
BrtBeginFonts (section 2.4.89) 611
BrtEndFonts (section 2.4.443) 612
BrtBeginBorders (section 2.4.12) 613
BrtEndBorders (section 2.4.369) 614
BrtBeginFmts (section 2.4.87) 615
209 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
Record type
Name (number) BrtEndFmts (section 2.4.441) 616
BrtBeginCellXFs (section 2.4.22) 617
BrtEndCellXFs (section 2.4.379) 618
BrtBeginStyles (section 2.4.232) 619
BrtEndStyles (section 2.4.585) 620
BrtBigName (section 2.4.309) 625
BrtBeginCellStyleXFs (section 2.4.20) 626
BrtEndCellStyleXFs (section 2.4.377) 627
BrtBeginComments (section 2.4.33) 628
BrtEndComments (section 2.4.390) 629
BrtBeginCommentAuthors (section 2.4.31) 630
BrtEndCommentAuthors (section 2.4.388) 631
BrtCommentAuthor (section 2.4.340) 632
BrtBeginCommentList (section 2.4.32) 633
BrtEndCommentList (section 2.4.389) 634
BrtBeginComment (section 2.4.30) 635
BrtEndComment (section 2.4.387) 636
BrtCommentText (section 2.4.341) 637
BrtBeginOleObjects (section 2.4.122) 638
BrtOleObject (section 2.4.720) 639
BrtEndOleObjects (section 2.4.476) 640
BrtBeginSxrules (section 2.4.259) 641
BrtEndSxRules (section 2.4.612) 642
BrtBeginActiveXControls (section 2.4.7) 643
BrtActiveX (section 2.4.4) 644
BrtEndActiveXControls (section 2.4.364) 645
BrtBeginPCDSDTCEMembersSortBy 646 (section 2.4.158) BrtBeginCellIgnoreECs (section 2.4.16) 648
BrtCellIgnoreEC (section 2.4.322) 649
BrtEndCellIgnoreECs (section 2.4.373) 650
BrtCsProp (section 2.4.344) 651
210 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
Record type
Name (number) BrtCsPageSetup (section 2.4.343) 652
BrtBeginUserCsViews (section 2.4.295) 653
BrtEndUserCsViews (section 2.4.648) 654
BrtBeginUserCsView (section 2.4.294) 655
BrtEndUserCsView (section 2.4.647) 656
BrtBeginPcdSFCIEntries (section 2.4.165) 657
BrtEndPCDSFCIEntries (section 2.4.518) 658 BrtPCDSFCIEntry (section 2.4.741) 659
BrtBeginListParts (section 2.4.103) 660
BrtListPart (section 2.4.707) 661
BrtEndListParts (section 2.4.457) 662
BrtSheetCalcProp (section 2.4.791) 663
BrtBeginFnGroup (section 2.4.88) 664
BrtFnGroup (section 2.4.689) 665
BrtEndFnGroup (section 2.4.442) 666
BrtSupAddin (section 2.4.810) 667 BrtSXTDMPOrder (section 2.4.830) 668
BrtCsProtection (section 2.4.345) 669
BrtBeginWsSortMap (section 2.4.306) 671
BrtEndWsSortMap (section 2.4.658) 672
BrtBeginRRSort (section 2.4.196) 673
BrtEndRRSort (section 2.4.549) 674 BrtRRSortItem (section 2.4.786) 675 BrtFileSharingIso (section 2.4.679) 676
BrtBookProtectionIso (section 2.4.312) 677
BrtSheetProtectionIso (section 2.4.793) 678
BrtCsProtectionIso (section 2.4.346) 679
BrtRangeProtectionIso (section 2.4.765) 680 BrtDValList (section 2.4.358) 681 BrtRwDescent (section 2.4.789) 1024 BrtKnownFonts (section 2.4.702) 1025
BrtBeginSXTupleSet (section 2.4.268) 1026
211 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
Record type
Name (number) BrtEndSXTupleSet (section 2.4.621) 1027
BrtBeginSXTupleSetHeader (section 1028 2.4.270) BrtEndSXTupleSetHeader (section 2.4.623) 1029 BrtSXTupleSetHeaderItem (section 1030 2.4.833)
BrtBeginSXTupleSetData (section 2.4.269) 1031
BrtEndSXTupleSetData (section 2.4.622) 1032
BrtBeginSXTupleSetRow (section 2.4.271) 1033
BrtEndSXTupleSetRow (section 2.4.624) 1034 BrtSXTupleSetRowItem (section 2.4.834) 1035 BrtNameExt (section 2.4.719) 1036 BrtPCDH14 (section 2.4.726) 1037
BrtBeginPCDCalcMem14 (section 2.4.127) 1038
BrtEndPCDCalcMem14 (section 2.4.481) 1039
BrtSXTH14 (section 2.4.831) 1040
BrtBeginSparklineGroup (section 2.4.228) 1041
BrtEndSparklineGroup (section 2.4.581) 1042 BrtSparkline (section 2.4.806) 1043 BrtSXDI14 (section 2.4.826) 1044 BrtWsFmtInfoEx14 (section 2.4.874) 1045
BrtBeginConditionalFormatting14 (section 1046 2.4.35) BrtEndConditionalFormatting14 (section 1047 2.4.392) BrtBeginCFRule14 (section 2.4.24) 1048
BrtEndCFRule14 (section 2.4.381) 1049
BrtCFVO14 (section 2.4.335) 1050
BrtBeginDatabar14 (section 2.4.44) 1051
BrtBeginIconSet14 (section 2.4.92) 1052
BrtDVal14 (section 2.4.357) 1053
BrtBeginDVals14 (section 2.4.56) 1054
BrtColor14 (section 2.4.338) 1055
BrtBeginSparklines (section 2.4.230) 1056
212 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
Record type
Name (number) BrtEndSparklines (section 2.4.583) 1057
BrtBeginSparklineGroups (section 2.4.229) 1058
BrtEndSparklineGroups (section 2.4.582) 1059 BrtSXVD14 (section 2.4.841) 1061
BrtBeginSxView14 (section 2.4.279) 1062
BrtEndSxView14 (section 2.4.632) 1063 BrtBeginSXView16 (section 2.4.280) 1064 BrtEndSXView16 (section 2.4.633) 1065
BrtBeginPCD14 (section 2.4.123) 1066
BrtEndPCD14 (section 2.4.477) 1067
BrtBeginExtConn14 (section 2.4.78) 1068
BrtEndExtConn14 (section 2.4.432) 1069
BrtBeginSlicerCacheIDs (section 2.4.207) 1070
BrtEndSlicerCacheIDs (section 2.4.560) 1071
BrtBeginSlicerCacheID (section 2.4.206) 1072
BrtEndSlicerCacheID (section 2.4.559) 1073
BrtBeginSlicerCache (section 2.4.204) 1075
BrtEndSlicerCache (section 2.4.557) 1076
BrtBeginSlicerCacheDef (section 2.4.205) 1077
BrtEndSlicerCacheDef (section 2.4.558) 1078
BrtBeginSlicersEx (section 2.4.219) 1079
BrtEndSlicersEx (section 2.4.572) 1080
BrtBeginSlicerEx (section 2.4.217) 1081
BrtEndSlicerEx (section 2.4.570) 1082
BrtBeginSlicer (section 2.4.203) 1083
BrtEndSlicer (section 2.4.556) 1084 BrtSlicerCachePivotTables (section 2.4.802) 1085
BrtBeginSlicerCacheOlapImpl (section 1086 2.4.211) BrtEndSlicerCacheOlapImpl (section 1087 2.4.564)
BrtBeginSlicerCacheLevelsData (section 1088 2.4.209) BrtEndSlicerCacheLevelsData (section 1089
213 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
Record type
Name (number) 2.4.562)
BrtBeginSlicerCacheLevelData (section 1090 2.4.208) BrtEndSlicerCacheLevelData (section 1091 2.4.561)
BrtBeginSlicerCacheSiRanges (section 1092 2.4.214) BrtEndSlicerCacheSiRanges (section 1093 2.4.567)
BrtBeginSlicerCacheSiRange (section 1094 2.4.213) BrtEndSlicerCacheSiRange (section 1095 2.4.566)
BrtSlicerCacheOlapItem (section 2.4.801) 1096
BrtBeginSlicerCacheSelections (section 1097 2.4.212) BrtSlicerCacheSelection (section 2.4.803) 1098 BrtEndSlicerCacheSelections (section 1099 2.4.565)
BrtBeginSlicerCacheNative (section 1100 2.4.210) BrtEndSlicerCacheNative (section 2.4.563) 1101 BrtSlicerCacheNativeItem (section 2.4.800) 1102 BrtRangeProtection14 (section 2.4.764) 1103 BrtRangeProtectionIso14 (section 2.4.766) 1104
BrtCellIgnoreEC14 (section 2.4.323) 1105
BrtList14 (section 2.4.705) 1111
BrtCFIcon (section 2.4.332) 1112
BrtBeginSlicerCachesPivotCacheIDs 1113 (section 2.4.216) BrtEndSlicerCachesPivotCacheIDs (section 1114 2.4.569)
BrtBeginSlicers (section 2.4.218) 1115
BrtEndSlicers (section 2.4.571) 1116 BrtWbProp14 (section 2.4.867) 1117
BrtBeginSXEdit (section 2.4.246) 1118
BrtEndSXEdit (section 2.4.599) 1119
BrtBeginSXEdits (section 2.4.247) 1120
BrtEndSXEdits (section 2.4.600) 1121
214 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
Record type
Name (number) BrtBeginSXChange (section 2.4.236) 1122
BrtEndSXChange (section 2.4.589) 1123
BrtBeginSXChanges (section 2.4.237) 1124
BrtEndSXChanges (section 2.4.590) 1125 BrtSXTupleItems (section 2.4.832) 1126
BrtBeginSlicerStyle (section 2.4.220) 1128
BrtEndSlicerStyle (section 2.4.573) 1129 BrtSlicerStyleElement (section 2.4.804) 1130
BrtBeginStyleSheetExt14 (section 2.4.234) 1131
BrtEndStyleSheetExt14 (section 2.4.587) 1132
BrtBeginSlicerCachesPivotCacheID 1133 (section 2.4.215) BrtEndSlicerCachesPivotCacheID (section 1134 2.4.568)
BrtBeginConditionalFormattings (section 1135 2.4.36) BrtEndConditionalFormattings (section 1136 2.4.393) BrtBeginPCDCalcMemExt (section 2.4.128) 1137
BrtEndPCDCalcMemExt (section 2.4.482) 1138
BrtBeginPCDCalcMemsExt (section 2.4.130) 1139
BrtEndPCDCalcMemsExt (section 2.4.484) 1140
BrtPCDField14 (section 2.4.725) 1141
BrtBeginSlicerStyles (section 2.4.222) 1142
BrtEndSlicerStyles (section 2.4.575) 1143
BrtBeginSlicerStyleElements (section 1144 2.4.221) BrtEndSlicerStyleElements (section 1145 2.4.574)
BrtCFRuleExt (section 2.4.333) 1146
BrtBeginSXCondFmt14 (section 2.4.239) 1147
BrtEndSXCondFmt14 (section 2.4.592) 1148
BrtBeginSXCondFmts14 (section 2.4.241) 1149
BrtEndSXCondFmts14 (section 2.4.594) 1150
BrtBeginSortCond14 (section 2.4.226) 1152
BrtEndSortCond14 (section 2.4.579) 1153
215 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
Record type
Name (number) BrtEndDVals14 (section 2.4.412) 1154
BrtEndIconSet14 (section 2.4.446) 1155
BrtEndDatabar14 (section 2.4.400) 1156
BrtBeginColorScale14 (section 2.4.29) 1157
BrtEndColorScale14 (section 2.4.386) 1158
BrtBeginSxrules14 (section 2.4.260) 1159
BrtEndSxrules14 (section 2.4.613) 1160
BrtBeginPRule14 (section 2.4.187) 1161
BrtEndPRule14 (section 2.4.540) 1162
BrtBeginPRFilters14 (section 2.4.183) 1163
BrtEndPRFilters14 (section 2.4.536) 1164
BrtBeginPRFilter14 (section 2.4.181) 1165
BrtEndPRFilter14 (section 2.4.534) 1166
BrtBeginPRFItem14 (section 2.4.185) 1167
BrtEndPRFItem14 (section 2.4.538) 1168
BrtBeginCellIgnoreECs14 (section 2.4.17) 1169
BrtEndCellIgnoreECs14 (section 2.4.374) 1170
BrtDxf14 (section 2.4.360) 1171
BrtBeginDxF14s (section 2.4.57) 1172
BrtEndDxf14s (section 2.4.413) 1173
BrtFilter14 (section 2.4.683) 1177
BrtBeginCustomFilters14 (section 2.4.41) 1178
BrtCustomFilter14 (section 2.4.349) 1180
BrtIconFilter14 (section 2.4.695) 1181 BrtPivotCacheConnectionName (section 1182 2.4.746)
BrtBeginDecoupledPivotCacheIDs (section 2048 2.4.49)
BrtEndDecoupledPivotCacheIDs (section 2049 2.4.405)
BrtDecoupledPivotCacheID (section 2050 2.4.353)
BrtBeginPivotTableRefs (section 2.4.173) 2051 BrtEndPivotTableRefs (section 2.4.526) 2052
216 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
Record type
Name (number) BrtPivotTableRef (section 2.4.758) 2053 BrtSlicerCacheBookPivotTables (section 2054 2.4.798)
BrtBeginSxvcells (section 2.4.272) 2055 BrtEndSxvcells (section 2.4.625) 2056 BrtBeginSxRow (section 2.4.258) 2057 BrtEndSxRow (section 2.4.611) 2058 BrtPcdCalcMem15 (section 2.4.724) 2060 BrtQsi15 (section 2.4.761) 2067 BrtBeginWebExtensions (section 2.4.303) 2068 BrtEndWebExtensions (section 2.4.655) 2069 BrtWebExtension (section 2.4.868) 2070 BrtAbsPath15 (section 2.4.1) 2071 BrtBeginPivotTableUISettings (section 2072 2.4.174)
BrtEndPivotTableUISettings (section 2073 2.4.527)
BrtTableSlicerCacheIDs (section 2.4.846) 2075 BrtTableSlicerCacheID (section 2.4.845) 2076 BrtBeginTableSlicerCache (section 2.4.282) 2077 BrtEndTableSlicerCache (section 2.4.635) 2078 BrtSxFilter15 (section 2.4.829) 2079 BrtBeginTimelineCachePivotCacheIDs 2080 (section 2.4.287)
BrtEndTimelineCachePivotCacheIDs 2081 (section 2.4.640)
BrtTimelineCachePivotCacheID (section 2082 2.4.850)
BrtBeginTimelineCacheIDs (section 2083 2.4.286)
BrtEndTimelineCacheIDs (section 2.4.639) 2084 BrtBeginTimelineCacheID (section 2.4.285) 2085 BrtEndTimelineCacheID (section 2.4.638) 2086 BrtBeginTimelinesEx (section 2.4.289) 2087 BrtEndTimelinesEx (section 2.4.642) 2088
217 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
Record type
Name (number) BrtBeginTimelineEx (section 2.4.288) 2089 BrtEndTimelineEx (section 2.4.641) 2090 BrtWorkBookPr15 (section 2.4.871) 2091 BrtPCDH15 (section 2.4.727) 2092 BrtBeginTimelineStyle (section 2.4.290) 2093 BrtEndTimelineStyle (section 2.4.643) 2094 BrtTimelineStyleElement (section 2.4.851) 2095 BrtBeginTimelineStylesheetExt15 (section 2096 2.4.293)
BrtEndTimelineStylesheetExt15 (section 2097 2.4.646)
BrtBeginTimelineStyles (section 2.4.292) 2098 BrtEndTimelineStyles (section 2.4.645) 2099 BrtBeginTimelineStyleElements (section 2100 2.4.291)
BrtEndTimelineStyleElements (section 2101 2.4.644)
BrtDxf15 (section 2.4.361) 2102 BrtBeginDxfs15 (section 2.4.59) 2103 BrtEndDXFs15 (section 2.4.415) 2104 BrtSlicerCacheHideItemsWithNoData 2105 (section 2.4.799)
BrtBeginItemUniqueNames (section 2.4.99) 2106 BrtEndItemUniqueNames (section 2.4.453) 2107 BrtItemUniqueName (section 2.4.701) 2108 BrtBeginExtConn15 (section 2.4.79) 2109 BrtEndExtConn15 (section 2.4.433) 2110 BrtBeginOledbPr15 (section 2.4.121) 2111 BrtEndOledbPr15 (section 2.4.475) 2112 BrtBeginDataFeedPr15 (section 2.4.45) 2113 BrtEndDataFeedPr15 (section 2.4.401) 2114 BrtTextPr15 (section 2.4.849) 2115 BrtRangePr15 (section 2.4.762) 2116 BrtDbCommand15 (section 2.4.351) 2117
218 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
Record type
Name (number) BrtBeginDbTables15 (section 2.4.47) 2118 BrtEndDbTables15 (section 2.4.403) 2119 BrtDbTable15 (section 2.4.352) 2120 BrtBeginDataModel (section 2.4.46) 2121 BrtEndDataModel (section 2.4.402) 2122 BrtBeginModelTables (section 2.4.117) 2123 BrtEndModelTables (section 2.4.471) 2124 BrtModelTable (section 2.4.715) 2125 BrtBeginModelRelationships (section 2126 2.4.116)
BrtEndModelRelationships (section 2.4.470) 2127 BrtModelRelationship (section 2.4.714) 2128 BrtBeginECTxtWiz15 (section 2.4.70) 2129 BrtEndECTxtWiz15 (section 2.4.424) 2130 BrtBeginECTWFldInfoLst15 (section 2.4.68) 2131 BrtEndECTWFldInfoLst15 (section 2.4.422) 2132 BrtBeginECTWFldInfo15 (section 2.4.68) 2133 BrtFieldListActiveItem (section 2.4.676) 2134 BrtPivotCacheIdVersion (section 2.4.748) 2135 BrtSXDI15 (section 2.4.827) 2136 brtBeginModelTimeGroupings (section 2137 2.4.119)
brtEndModelTimeGroupings (section 2138 2.4.473)
brtBeginModelTimeGrouping (section 2139 2.4.118)
brtEndModelTimeGrouping (section 2140 2.4.472)
brtModelTimeGroupingCalcCol (section 2141 2.4.716)
brtRevisionPtr (section 2.4.767) 3073
BrtBeginDynamicArrayPr (section 2.4.60) 4096
BrtEndDynamicArrayPr (section 2.4.416) 4097
BrtBeginRichValueBlock (section 2.4.195) 5002
BrtEndRichValueBlock (section 2.4.548) 5003
219 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
Record type
Name (number)
BrtBeginRichFilters (section 2.4.193) 5081
BrtEndRichFilters (section 2.4.546) 5082
BrtRichFilter (section 2.4.768) 5083
BrtBeginRichFilterColumn (section 2.4.192) 5084
BrtEndRichFilterColumn (section 2.4.545) 5085
BrtBeginCustomRichFilters (section 2.4.42) 5086
BrtEndCustomRichFilters (section 2.4.398) 5087
BRTCustomRichFilter (section 2.4.350) 5088
BrtTop10RichFilter (section 2.4.853) 5089
BrtDynamicRichFilter (section 2.4.363) 5090
BrtBeginRichSortCondition (section 5092 2.4.194)
BrtEndRichSortCondition (section 2.4.547) 5093
BrtRichFilterDateGroupItem (section 5094 2.4.769)
BrtBeginCalcFeatures (section 2.4.15) 5095
BrtEndCalcFeatures (section 2.4.372) 5096
BrtCalcFeature (section 2.4.317) 5097
BrtExternalLinksPr (section 2.4.665) 5099
BrtPivotCacheImplicitMeasureSupport 5100 (section 2.4.749)
BrtPivotFieldIgnorableAfter (section 5101 2.4.753)
BrtPivotHierarchyIgnorableAfter (section 5102 2.4.754)
BrtPivotDataFieldFutureData (section 5103 2.4.751)
BrtPivotCacheRichData (section 2.4.750) 5105
BrtExternalLinksAlternateUrls (section 5108 2.4.664)
BrtBeginPivotVersionInfo (section 2.4.175) 5109
BrtEndPivotVersionInfo (section 2.4.528) 5110
BrtBeginCacheVersionInfo (section 2.4.14) 5111
BrtEndCacheVersionInfo (section 2.4.371) 5112
BrtPivotRequiredFeature (section 2.4.756) 5113
220 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
Record type
Name (number)
BrtPivotLastUsedFeature (section 2.4.755) 5114
BrtExternalCodeService (section 2.4.662) 5117
BrtShowDataTypeIcons (section 2.4.794) 5127
BrtSXDIAggregation (section 2.4.828) 5130
BrtPivotFieldFeatureSupportInfo (section 5131 2.4.752)
BrtPivotCacheAutoRefresh (section 5132 2.4.745)
BrtPivotCacheDataSource (section 2.4.747) 5133
BrtShowDataTypeIconsUserShView 5134 (section 2.4.795)
BrtWorkbookCompatibilityVersion (section 5135 2.4.870)
BrtBeginSxvdSubtotals (section 2.4.276) 5136
BrtEndSxvdSubtotals (section 2.4.629) 5137
BrtSxvdSubtotal (section 2.4.842) 5138
BrtBeginPivotRuleFilterSubtotals (section 5139 2.4.172)
BrtEndPivotRuleFilterSubtotals (section 5140 2.4.525)
BrtPivotRuleFilterSubtotal (section 2.4.757) 5141
BrtExternalCodeServiceImageAsInput 5142 (section 2.4.663)
BrtBeginSxvdSubtotalLineItems (section 5143 2.4.275)
BrtEndSxvdSubtotalLineItems (section 5144 2.4.628)
BrtSxvdSubtotalLineItem (section 2.4.843) 5145
2.4 Records
2.4.1 BrtAbsPath15
The BrtAbsPath15 record specifies the location of the workbook.
221 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
0 1 2 3 4 5 6 7 8 9 1 1 2 3 4 5 6 7 8 2 3 0 9 0 1 2 3 4 5 6 7 8 9 0 1
stAbsPath (variable)
...
stAbsPath (variable): An XLWideString (section 2.5.169) that specifies the location of the workbook as absolute path or absolute URL, not including the file name and extension.
2.4.2 BrtACBegin
The BrtACBegin record specifies the beginning of an alternate content block as specified by future record (section 2.1.6).
0 1 2 3 4 5 6 7 8 9 1 1 2 3 4 5 6 7 8 2 3 0 9 0 1 2 3 4 5 6 7 8 9 0 1
cver RgACVer (variable)
...
cver (2 bytes): An unsigned integer that specifies the count of ACProductVersion (section 2.5.1) structures in RgACVer. MUST be greater than or equal to 1.
RgACVer (variable): An array of ACProductVersion (section 2.5.1) structures that specifies the applications and versions that can process the alternate content block. The count of items in this array MUST be equal to cver.
2.4.3 BrtACEnd
The BrtACEnd record specifies the end of an alternate content block as specified by future record (section 2.1.6).
2.4.4 BrtActiveX
The BrtActiveX record specifies an ActiveX control.
0 1 2 3 4 5 6 7 8 9 1 1 2 3 4 5 6 7 8 2 3 0 9 0 1 2 3 4 5 6 7 8 9 0 1
shapeId
strRelID (variable)
...
strName (variable)
...
shapeId (4 bytes): An unsigned integer that corresponds to the spid attribute of a shape element in the VML Drawings (section 2.1.7.59) part as specified in [ISO/IEC29500-1:2016] section
222 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
18.2.29. This value MUST be greater than or equal to 0x00000001 and less than or equal to 0x03FFD7FF. The value of the ObjectType attribute of the ClientData child element (specified in [ISO/IEC29500-4:2016] section 19.4.2.12) of the shape element MUST be "Pict" as specified in [ISO/IEC29500-4:2016] section 19.4.3.2. The total number of unique identifiers specified by all shapeId fields in BrtActiveX records and shapeId fields in BrtOleObject (section 2.4.720) records in the worksheet (section 2.1.7.62) MUST NOT exceed 65535.
strRelID (variable): A RelID (section 2.5.115) that specifies a relationship that specifies an ActiveX (section 2.1.7.1) part containing control-specific properties and state information for the ActiveX control.
strName (variable): An XLWideString (section 2.5.169) that specifies a name for the ActiveX control. The length of this string MUST NOT exceed 32 characters. The name of the shape MUST correspond to the id attribute of a shape element in the VML Drawings (section 2.1.7.59) part as specified in [ISO/IEC29500-1:2016] section 19.1.2.19. This name MUST be unique among all shape names specified in the VML Drawings part of the worksheet (section 2.1.7.62).
2.4.5 BrtAFilterDateGroupItem
The BrtAFilterDateGroupItem record specifies information about a criterion for a date AutoFilter.
0 1 2 3 4 5 6 7 8 9 1 1 2 3 4 5 6 7 8 2 3 0 9 0 1 2 3 4 5 6 7 8 9 0 1
yr mon
dom
hour min
sec unused1
unused2
dntChecked
yr (2 bytes): An unsigned integer that specifies the year for the AutoFilter. This value MUST be greater than or equal to 1000 and less than or equal to 9999.
mon (2 bytes): An unsigned integer that specifies the month for the AutoFilter. If dntChecked is greater than or equal to 0x00000001, this value MUST be greater than or equal to 1 and less than or equal to 12.
dom (4 bytes): An unsigned integer that specifies the day of the month for the AutoFilter. If dntChecked is greater than or equal to 0x00000002, this value MUST be greater than or equal to 1 and less than or equal to 31.
hour (2 bytes): An unsigned integer that specifies the hour for the AutoFilter. If dntChecked is greater than or equal to 0x00000003, this value MUST be less than or equal to 23.
min (2 bytes): An unsigned integer that specifies the minute for the AutoFilter. If dntChecked is greater than or equal to 0x00000004, this value MUST be less than or equal to 59.
sec (2 bytes): An unsigned integer that specifies the second for the AutoFilter. If dntChecked is equal to 0x00000005, this value MUST be less than or equal to 59.
unused1 (2 bytes): Undefined, and MUST be ignored.
223 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
unused2 (4 bytes): Undefined, and MUST be ignored.
dntChecked (4 bytes): An unsigned integer that specifies what comparisons are made to determine if a cell is displayed. For example, if this value is equal to DNTMONTH, only cells with the same year and month specified in this record are displayed. dntChecked MUST be equal to a value from the following table.
Name Value Meaning
DNTYEAR 0x00000000 Group by year
DNTMONTH 0x00000001 Group by month and year
DNTDAY 0x00000002 Group by day, month, and year
DNTHOUR 0x00000003 Group by hour, day, month, and year
DNTMINUTE 0x00000004 Group by minute, hour, day, month, and year
DNTSECOND 0x00000005 Group by second, minute, hour, day, month, and year
2.4.6 BrtArrFmla
The BrtArrFmla record type specifies an array formula (section 2.2.2) for a range of cells, as specified in Worksheet (section 2.1.7.62) part ABNF and Macro Sheet (section 2.1.7.32) part ABNF, that performs calculations on one or more sets of values, and then returns either a single result or multiple results across a continuous range of cells. This record is preceded by a single BrtFmlaString (section 2.4.687), BrtFmlaNum (section 2.4.686), BrtFmlaBool (section 2.4.684), or BrtFmlaError (section 2.4.685) record that represents the logical top-left cell in the range that uses this array formula. Other BrtFmlaString, BrtFmlaNum, BrtFmlaBool, or BrtFmlaError records that use this array formula follow after the BrtArrFmla record in the file, and are not necessarily in a contiguous sequence. The BrtFmlaString, BrtFmlaNum, BrtFmlaBool, or BrtFmlaError records that use this array formula MUST have a cell field that is within the range specified in the ref field of this record and MUST have their formula begin with PtgExp (section 2.5.98.40).
0 1 2 3 4 5 6 7 8 9 1 1 2 3 4 5 6 7 8 2 3
0 9 0 1 2 3 4 5 6 7 8 9 0 1
rfx (16 bytes)
...
...
A unused formula (variable)
...
rfx (16 bytes): An RfX (section 2.5.118) that specifies the row and column (1) bounds of the array formula (section 2.2.2). Every cell specified by rfx MUST use the array formula.
A - fAlwaysCalc (1 bit): A bit that specifies if the array formula (section 2.2.2) needs to be calculated as part of the next recalculation.
224 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
Value Meaning Formula does not need to be calculated as part of 0 the next recalculation. Formula needs to be calculated as part of the next 1 recalculation.
unused (7 bits): Undefined and MUST be ignored.
formula (variable): An ArrayParsedFormula (section 2.5.98.1) that contains this formula (section 2.2.2).
2.4.7 BrtBeginActiveXControls
The BrtBeginActiveXControls record specifies the beginning of a collection of BrtActiveX (section 2.4.4) records as defined by the Worksheet (section 2.1.7.62) part ABNF. The collection of BrtActiveX records specifies ActiveX controls embedded in the sheet.
2.4.8 BrtBeginAFilter
The BrtBeginAFilter record specifies the range of cells the AutoFilter applies to and specifies the beginning of a collection of records as defined by the Macro Sheet (section 2.1.7.32) part ABNF, the PivotTable (section 2.1.7.40) part ABNF, the Table (section 2.1.7.51) part ABNF, and the Worksheet (section 2.1.7.62) part ABNF. The collection of records specifies an AutoFilter.
0 1 2 3 4 5 6 7 8 9 1 1 2 3 4 5 6 7 8 2 3 0 9 0 1 2 3 4 5 6 7 8 9 0 1
rfx (16 bytes)
...
...
rfx (16 bytes): An UncheckedRfX (section 2.5.154) that specifies the range of cells the AutoFilter applies to. If this filter is applied to a PivotTable (section 2.2.5), rwFirst, rwLast, colFirst, and colLast MUST all be equal to 0.
2.4.9 BrtBeginAutoSortScope
The BrtBeginAutoSortScope record specifies the beginning of a collection of records as specified by the PivotTable (section 2.1.7.40) part ABNF. The collection specifies pivot field sorting (section 2.2.5.3.2.1) properties.
If the value of the PRFilter.isxvd field in the first BrtBeginPRFilter (section 2.4.180) record followed by this record is -2, then sorting is specified to be by values, otherwise sorting is specified to be by member property captions.
When sorting by values, the collection of records specifies the row or column (1) that contains the values by which the pivot items (section 2.2.5.3.3) of this pivot field (section 2.2.5.3.2) are sorted.
When sorting by member property captions, the collection of records specifies a member property pivot field on the row axis or the column (1) axis of the PivotTable view (section 2.2.5.3). The pivot items of this pivot field are sorted by the pivot item captions of the specified member property pivot field.
225 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
The BrtBeginPRFilters (section 2.4.182) collection followed by this record MUST be sorted by the PRFilter.isxvd field in the BrtBeginPRFilter (section 2.4.180) in ascending order.
If this record exists, the fAutoSort field of the BrtBeginSXVD (section 2.4.273) record immediately preceding this record MUST be 1.
2.4.10 BrtBeginBook
The BrtBeginBook record specifies the beginning of a collection of records as defined by the Workbook (section 2.1.7.61) part ABNF. The collection of records specifies properties of a workbook.
2.4.11 BrtBeginBookViews
The BrtBeginBookViews record specifies the beginning of a collection of BrtBookView (section 2.4.313) records as defined by the Workbook (section 2.1.7.61) part ABNF. The collection of BrtBookView records specifies workbook views.
2.4.12 BrtBeginBorders
The BrtBeginBorders record specifies a count of BrtBorder (section 2.4.314) records and specifies the beginning of a collection of BrtBorder records as defined by the Styles (section 2.1.7.50) part ABNF. The collection of BrtBorder records specifies cell border style.
0 1 2 3 4 5 6 7 8 9 1 1 2 3 4 5 6 7 8 2 3 0 9 0 1 2 3 4 5 6 7 8 9 0 1
cborders
cborders (4 bytes): An unsigned integer that specifies the number of BrtBorder. MUST be less than or equal to 0x0000FF96.
2.4.13 BrtBeginBundleShs
The BrtBeginBundleShs record specifies the beginning of a collection of BrtBundleSh (section 2.4.316) records as defined by the Workbook (section 2.1.7.61) part ABNF. The collection of BrtBundleSh records specifies the sheets in the workbook.
2.4.14 BrtBeginCacheVersionInfo
The BrtBeginCacheVersionInfo record specifies the beginning of a collection of records as defined by the PivotCache Definition (section 2.1.7.38) part ABNF. The collection of records specifies versioning information about the associated PivotCache (section 2.2.5.2).
0 1 2 3 4 5 6 7 8 9 1 1 2 3 4 5 6 7 8 2 3 0 9 0 1 2 3 4 5 6 7 8 9 0 1
FRTHeader
FRTHeader (4 bytes): An FRTBlank (section 2.5.55) that specifies the future record (section 2.1.6) information for this record.
226 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
2.4.15 BrtBeginCalcFeatures
The BrtBeginCalcFeatures record specifies the beginning of a collection of BrtCalcFeature (section 2.4.317) records as defined by the Workbook (section 2.1.7.61) part ABNF. The collection of BrtCalcFeature records specifies features that are part of the calculation engine.
2.4.16 BrtBeginCellIgnoreECs
The BrtBeginCellIgnoreECs record specifies the beginning of a collection of BrtCellIgnoreEC (section 2.4.322) records as defined by the Worksheet (section 2.1.7.62) part ABNF. The collection of BrtCellIgnoreEC records specifies the types of cell errors that are to be ignored for specific cell ranges.
2.4.17 BrtBeginCellIgnoreECs14
The BrtBeginCellIgnoreECs14 record specifies the beginning of a collection of BrtCellIgnoreEC14 (section 2.4.323) records as defined by the Worksheet (section 2.1.7.62) part ABNF. The collection of BrtCellIgnoreEC14 records specifies the types of cell errors that are to be ignored for specific cell ranges.
2.4.18 BrtBeginCellSmartTag
The BrtBeginCellSmartTag record specifies smart tag properties and specifies the beginning of a collection of BrtCellSmartTagProperty (section 2.4.329) records as defined by the Worksheet (section 2.1.7.62) part ABNF. The collection of BrtCellSmartTagProperty (section 2.4.329) records specifies a smart tag associated with a cell.<6>
0 1 2 3 4 5 6 7 8 9 1 1 2 3 4 5 6 7 8 2 3 0 9 0 1 2 3 4 5 6 7 8 9 0 1
type
A B reserved
type (4 bytes): An unsigned integer that specifies a zero-based index of a BrtSmartTagType record (section 2.4.805) in the collection of all records directly following BrtBeginSmartTagTypes (section 2.4.224) in the Workbook part (section 2.1.7.61). This value MUST be less than the total number of BrtSmartTagType (section 2.4.805) records.
A - fDeleted (1 bit): A bit that specifies that the application does not display the smart tag because of explicit user choice.
B - fXMLBased (1 bit): A bit that specifies that smart tag recognition is triggered because the cell is associated with an XML map, where the element in the XML map has the same XML namespace and name as the smart tag recognizer.
reserved (14 bits): This value MUST be 0, and MUST be ignored.
2.4.19 BrtBeginCellSmartTags
The BrtBeginCellSmartTags record specifies the row and column (1) properties of a cell with a smart tag and specifies the beginning of a collection of records as defined by the Worksheet (section 2.1.7.62) part ABNF. The collection of records specifies smart tag properties of a cell.<7>
227 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
0 1 2 3 4 5 6 7 8 9 1 1 2 3 4 5 6 7 8 2 3 0 9 0 1 2 3 4 5 6 7 8 9 0 1
rw
col
rw (4 bytes): A Rw (section 2.5.126) that specifies the row of the cell.
col (4 bytes): A Col (section 2.5.23) that specifies the column (1) of the cell.
2.4.20 BrtBeginCellStyleXFs
The BrtBeginCellStyleXFs record specifies a count of BrtXF (section 2.4.876) records and specifies the beginning of a collection of BrtXF records as defined by the Styles (section 2.1.7.50) part ABNF. This collection specifies all cell style XFs (section 2.2.6.1.2.1) in the workbook. The collection MUST contain at least 0x0001 and no more than 0xFF96 BrtXF records.
0 1 2 3 4 5 6 7 8 9 1 1 2 3 4 5 6 7 8 2 3 0 9 0 1 2 3 4 5 6 7 8 9 0 1
cxfs
cxfs (4 bytes): An unsigned integer that specifies the number of BrtXF (section 2.4.876) records in this collection. MUST be at least 0x0001 and no more than 0xFF96.
2.4.21 BrtBeginCellWatches
The BrtBeginCellWatches record specifies the beginning of a collection of BrtCellWatch (section 2.4.331) records as defined by the Worksheet (section 2.1.7.62) part ABNF. The collection of BrtCellWatch records specifies a set of references to watched cells.
2.4.22 BrtBeginCellXFs
The BrtBeginCellXFs record specifies a count of BrtXF (section 2.4.876) records and specifies the beginning of a collection of BrtXF records as defined by the Styles (section 2.1.7.50) part ABNF. This collection specifies all cell XFs (section 2.2.6.1.1) in the workbook. The collection MUST contain at least 0x0001 and no more than 0xFF96 BrtXF records.
0 1 2 3 4 5 6 7 8 9 1 1 2 3 4 5 6 7 8 2 3 0 9 0 1 2 3 4 5 6 7 8 9 0 1
cxfs
cxfs (4 bytes): An unsigned integer that specifies the number of BrtXF (section 2.4.876) records in this collection. MUST be at least 0x0001 and no more than 0xFF96.
2.4.23 BrtBeginCFRule
The BrtBeginCFRule record specifies the properties of a conditional formatting rule and specifies the beginning of a collection of records as defined by the Worksheet (section 2.1.7.62) part ABNF and the Macro Sheet (section 2.1.7.32) part ABNF. The collection of records specifies a conditional formatting rule for a range.
228 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
0 1 2 3 4 5 6 7 8 9 1 1 2 3 4 5 6 7 8 2 3 0 9 0 1 2 3 4 5 6 7 8 9 0 1
iType
iTemplate
dxfId
iPri
iParam
reserved1
reserved2
A B C D E reserved4 cbFmla1
... cbFmla2
... cbFmla3
... strParam (variable)
...
rgce1 (variable)
...
rgce2 (variable)
...
rgce3 (variable)
...
iType (4 bytes): A CFType (section 2.5.18) that specifies the way conditional formatting is displayed
in the range.
When iType is CF_TYPE_GRADIENT, there MUST be one BrtBeginColorScale (section 2.4.28) record in the collection of conditional formatting records following this record.
When iType is CF_TYPE_DATABAR, there MUST be one BrtBeginDatabar (section 2.4.43) record in the collection of conditional formatting records following this record.
When iType is CF_TYPE_MULTISTATE, there MUST be one BrtBeginIconSet (section 2.4.91) record in the collection of conditional formatting records following this record.
229 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
iTemplate (4 bytes): A CFTemp (section 2.5.16) that specifies the type of logical condition that determines when conditional formatting is shown. The following table specifies the allowable combinations of iType and iTemplate. Other combinations MUST NOT be used.
Value of iType Value of iTemplate
CF_TYPE_CELLIS CF_TEMPLATE_EXPR
CF_TYPE_EXPRIS CF_TEMPLATE_FMLA
CF_TYPE_EXPRIS CF_TEMPLATE_UNIQUEVALUES
CF_TYPE_EXPRIS CF_TEMPLATE_CONTAINSTEXT
CF_TYPE_EXPRIS CF_TEMPLATE_CONTAINSBLANKS
CF_TYPE_EXPRIS CF_TEMPLATE_CONTAINSNOBLANKS
CF_TYPE_EXPRIS CF_TEMPLATE_CONTAINSERRORS
CF_TYPE_EXPRIS CF_TEMPLATE_CONTAINSNOERRORS
CF_TYPE_EXPRIS CF_TEMPLATE_TIMEPERIODTODAY
CF_TYPE_EXPRIS CF_TEMPLATE_TIMEPERIODTOMORROW
CF_TYPE_EXPRIS CF_TEMPLATE_TIMEPERIODYESTERDAY
CF_TYPE_EXPRIS CF_TEMPLATE_TIMEPERIODLAST7DAYS
CF_TYPE_EXPRIS CF_TEMPLATE_TIMEPERIODLASTMONTH
CF_TYPE_EXPRIS CF_TEMPLATE_TIMEPERIODNEXTMONTH
CF_TYPE_EXPRIS CF_TEMPLATE_TIMEPERIODTHISWEEK
CF_TYPE_EXPRIS CF_TEMPLATE_TIMEPERIODNEXTWEEK
CF_TYPE_EXPRIS CF_TEMPLATE_TIMEPERIODLASTWEEK
CF_TYPE_EXPRIS CF_TEMPLATE_TIMEPERIODTHISMONTH
CF_TYPE_EXPRIS CF_TEMPLATE_ABOVEAVERAGE
CF_TYPE_EXPRIS CF_TEMPLATE_BELOWAVERAGE
CF_TYPE_EXPRIS CF_TEMPLATE_DUPLICATEVALUES
CF_TYPE_EXPRIS CF_TEMPLATE_EQUALABOVEAVERAGE
CF_TYPE_EXPRIS CF_TEMPLATE_EQUALBELOWAVERAGE
CF_TYPE_GRADIENT CF_TEMPLATE_GRADIENT CF_TYPE_DATABAR CF_TEMPLATE_DATABAR CF_TYPE_FILTER CF_TEMPLATE_FILTER CF_TYPE_MULTISTATE CF_TEMPLATE_MULTISTATE
dxfId (4 bytes): A DXFId (section 2.5.38) that specifies the differential formatting (section 2.2.6.2) applied to the range. If iType is CF_TYPE_GRADIENT, CF_TYPE_DATABAR, or CF_TYPE_MULTISTATE, dxfId MUST be 0xFFFFFFFF and MUST be ignored.
230 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
iPri (4 bytes): A signed integer that specifies the relative priority of this rule compared to the other rules in this sheet. Rules are applied in order from the smallest iPri to the largest iPri. This value MUST be greater than 0 and MUST NOT duplicate an iPri value in any other BrtBeginCFRule (section 2.4.23) or BrtBeginCFRule14 (section 2.4.24) record that exists in the same worksheet (section 2.1.7.62) or macro sheet (section 2.1.7.32) part.
iParam (4 bytes): This structure specifies a parameter for the conditional formatting rule. The value, type, and meaning of iParam depend on the value of iType and iTemplate, as specified in the following table.
Value of iType Value of iTemplate Meaning of iParam CF_TYPE_CELLIS CF_TEMPLATE_EXPR A CFOper (section 2.5.15) that specifies the type of value comparison used. CF_TYPE_EXPRIS CF_TEMPLATE_CONTAINSTEXT A CFTextOper (section 2.5.17) that specifies the type of text comparison operation used. CF_TYPE_EXPRIS CF_TEMPLATE_TIMEPERIODTODAY A CFDateOper (section 2.5.12) that MUST be CF_TIMEPERIOD_TODAY.
CF_TYPE_EXPRIS CF_TEMPLATE_TIMEPERIODTOMOR A CFDateOper that MUST be ROW CF_TIMEPERIOD_TOMORROW. CF_TYPE_EXPRIS CF_TEMPLATE_TIMEPERIODYESTER A CFDateOper that MUST be DAY CF_TIMEPERIOD_YESTERDAY. CF_TYPE_EXPRIS CF_TEMPLATE_TIMEPERIODLAST7D A CFDateOper that MUST be AYS CF_TIMEPERIOD_LAST7DAYS. CF_TYPE_EXPRIS CF_TEMPLATE_TIMEPERIODLASTM A CFDateOper that MUST be ONTH CF_TIMEPERIOD_LASTMONTH. CF_TYPE_EXPRIS CF_TEMPLATE_TIMEPERIODNEXTM A CFDateOper that MUST be ONTH CF_TIMEPERIOD_NEXTMONTH. CF_TYPE_EXPRIS CF_TEMPLATE_TIMEPERIODTHISWE A CFDateOper that MUST be EK CF_TIMEPERIOD_THISWEEK. CF_TYPE_EXPRIS CF_TEMPLATE_TIMEPERIODNEXTW A CFDateOper that MUST be EEK CF_TIMEPERIOD_NEXTWEEK. CF_TYPE_EXPRIS CF_TEMPLATE_TIMEPERIODLASTW A CFDateOper that MUST be EEK CF_TIMEPERIOD_LASTWEEK. CF_TYPE_EXPRIS CF_TEMPLATE_TIMEPERIODTHISM A CFDateOper that MUST be ONTH CF_TIMEPERIOD_THISMONTH.
CF_TYPE_EXPRIS CF_TEMPLATE_ABOVEAVERAGE An unsigned integer that specifies the number of standard deviations above the average to format. The value of iParam MUST be greater than or equal to 0 and less than 4. If iParam is 0, conditional formatting applies to all values greater than the average. CF_TYPE_EXPRIS CF_TEMPLATE_BELOWAVERAGE An unsigned integer that specifies the number of standard deviations below the average to format. The value of iParam MUST be greater than or equal to 0 and less than 4. If iParam is 0, conditional formatting applies to all values below the average. CF_TYPE_EXPRIS CF_TEMPLATE_EQUALABOVEAVERA MUST be 0x00000000. GE CF_TYPE_EXPRIS CF_TEMPLATE_EQUALBELOWAVERA MUST be 0x00000000. GE CF_TYPE_FILTER CF_TEMPLATE_FILTER An unsigned integer that specifies how many
231 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
Value of iType Value of iTemplate Meaning of iParam cells are formatted by this rule. The value of fPercent specifies whether iParam is a percentage or a quantity of cells. When fPercent is 1, iParam MUST be greater than or equal to 0 and less than or equal to 100. Otherwise iParam MUST be greater than or equal to 1 and less than or equal to 1000.
For all combinations of iType and iTemplate that are not specified in this table, iParam MUST be 0x00000000.
reserved1 (4 bytes): This value MUST be 0 and MUST be ignored.
reserved2 (4 bytes): This value MUST be 0 and MUST be ignored.
A - reserved3 (1 bit): This value MUST be 0 and MUST be ignored.
B - fStopTrue (1 bit): A bit that specifies whether evaluation of additional conditional formatting rules is skipped for a cell if the rule evaluates to TRUE for that cell. This value MUST be 0 when iType is CF_TYPE_DATABAR, CF_TYPE_GRADIENT, or CF_TYPE_MULTISTATE.
Value Meaning 0 After this rule has been evaluated, the rule with the next largest iPri value is evaluated normally. 1 If this rule evaluates to TRUE for a cell, rules with a larger iPri value are not evaluated for that cell. If this rule evaluates to FALSE for a cell, the rule with the next largest iPri value is evaluated normally.
C - fAbove (1 bit): A bit that specifies whether conditional formatting is applied to cells with values above or below the average value of other cells in the range. If iTemplate is CF_TEMPLATE_ABOVEAVERAGE or CF_TEMPLATE_EQUALABOVEAVERAGE, fAbove MUST be 1. Otherwise, fAbove MUST be 0.
D - fBottom (1 bit): A bit that specifies how cells are formatted as specified by the following table.
Value Meaning 0 Conditional formatting is applied to cells whose value is in the top end of the range specified by iParam and fPercent. 1 Conditional formatting is applied to cells whose value is in the bottom end of the range specified by iParam and fPercent.
If iType is not CF_TYPE_FILTER, fBottom is unused and MUST be 0.
E - fPercent (1 bit): A bit that specifies how cells are formatted as specified by the following table.
Value Meaning 0 Conditional formatting is applied to the number of cells specified by iParam. 1 iParam specifies the percentage of cells in the range to which conditional formatting is applied.
If iType is not CF_TYPE_FILTER, fPercent is unused and MUST be 0.
reserved4 (11 bits): This value MUST be 0 and MUST be ignored.
cbFmla1 (4 bytes): An unsigned integer. If this value is equal to 0x00000000, rgce1 MUST NOT exist. If this value is nonzero, rgce1 MUST exist and the value of cbFmla1 MUST be ignored.
232 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
cbFmla2 (4 bytes): An unsigned integer. If this value is equal to 0x00000000, rgce2 MUST NOT exist. If nonzero, rgce2 MUST exist and the value of cbFmla2 MUST be ignored.
cbFmla3 (4 bytes): An unsigned integer. If this value is equal to 0x00000000, rgce3 MUST NOT exist. If nonzero, rgce3 MUST exist and the value of cbFmla3 MUST be ignored.
strParam (variable): An XLNullableWideString (section 2.5.167) that specifies a value used in this conditional formatting rule. If iTemplate is not CF_TEMPLATE_CONTAINSTEXT, strParam MUST be NULL and MUST be ignored. Otherwise, strParam MUST contain a string that specifies the value that is searched for, and strParam MUST be greater than 0 and less than 256 characters long.
rgce1 (variable): An optional CFParsedFormula (section 2.5.98.6) that specifies the first formula (section 2.2.2) used in this rule. The following table specifies the conditions for which rgce1 MUST contain a formula. For any conditions not specified in the following table, cbFmla1 MUST be 0x00000000 and rgce1 MUST be omitted.
Condition Formula in rgce1 iType = CF_TYPE_CELLIS A CFParsedFormula that specifies the formula (section 2.2.2), numeric value, or cell reference that specifies the first operand for the CFOper specified by iParam.
iType = CF_TYPE_EXPRIS and A CFParsedFormula. When the formula (section 2.2.2) iTemplate=CF_TEMPLATE_FMLA returns 0, conditional formatting is not displayed. When the formula returns a nonzero value, conditional formatting is displayed. iType = CF_TYPE_EXPRIS and A CFParsedFormula that implements the text comparison iTemplate = operation specified by iParam. CF_TEMPLATE_CONTAINSTEXT iType = CF_TYPE_EXPRIS and A CFParsedFormula that returns a nonzero value when the iTemplate = cell is blank. CF_TEMPLATE_CONTAINSBLANKS iType = CF_TYPE_EXPRIS and A CFParsedFormula that returns a nonzero value when the iTemplate = cell is not blank. CF_TEMPLATE_CONTAINSNOBLANKS iType = CF_TYPE_EXPRIS and A CFParsedFormula that returns a nonzero value when the iTemplate = cell contains an error. CF_TEMPLATE_CONTAINSERRORS iType = CF_TYPE_EXPRIS and A CFParsedFormula that returns a nonzero value when the iTemplate = cell does not contain an error. CF_TEMPLATE_CONTAINSNOERRORS iType = CF_TYPE_EXPRIS, and A CFParsedFormula that implements the date comparison iTemplate greater than or equal to 0x0F operation specified by iParam. and less than or equal to 0x18
rgce2 (variable): An optional CFParsedFormula that specifies the second formula (section 2.2.2) used in this rule. The following table specifies the conditions for which rgce2 MUST contain a formula. For any conditions not specified in the following table, cbFmla2 MUST be 0x00000000 and rgce2 MUST be omitted.
Condition Formula in rgce2 iType = CF_TYPE_CELLIS, and A CFParsedFormula that specifies the formula iParam=CF_OPER_BN or CF_OPER_NB (section 2.2.2), numeric value, or cell reference that specifies the second operand for the CFOper specified by iParam.
233 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
rgce3 (variable): An optional CFParsedFormula that specifies the third formula (section 2.2.2) used in this rule. If iType is not CF_TYPE_GRADIENT, CF_TYPE_DATABAR, or CF_TYPE_MULTISTATE, cbFmla3 MUST be 0x00000000 and rgce3 MUST be omitted. Otherwise, rgce3 can contain a CFParsedFormula. When this formula returns zero, conditional formatting is not displayed. When the formula returns a nonzero value, or when rgce3 is omitted, conditional formatting is displayed.
2.4.24 BrtBeginCFRule14
The BrtBeginCFRule14 record specifies the properties of a conditional formatting rule and specifies the beginning of a collection of records as defined by the Worksheet (section 2.1.7.62) part ABNF. The collection of records specifies a conditional formatting rule for a range. This record is equivalent to BrtBeginCFRule (section 2.4.23) but this record allows a GUID to be specified for the associated BrtCFRuleExt (section 2.4.333) record.
0 1 2 3 4 5 6 7 8 9 1 1 2 3 4 5 6 7 8 2 3 0 9 0 1 2 3 4 5 6 7 8 9 0 1
FRTHeader (variable)
...
iType
iTemplate
dxfId
iPri
iParam
reserved1
reserved2
A B C D E reserved4 cbFmla1
... cbFmla2
... cbFmla3
... unused1
... guid (16 bytes)
...
...
... fGuid
234 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
... strParam (variable)
...
FRTHeader (variable): An FRTHeader (section 2.5.61) that specifies the future record (section 2.1.6) information for this record. The FRTHeader fields MUST have the values listed in the following table.
Field Value FRTHeader.fRef 0 FRTHeader.fSqref 0 FRTHeader.fFormulas 0 or 1 FRTHeader.fRelID 0
FRTHeader.fFormulas MUST be 1 if any of the fields cbFmla1, cbFmla2, or cbFmla3 are nonzero. Otherwise, it MUST be 0.
FRTHeader.rgFormulas contains an array of one or two formulas (section 2.2.2) in the conditional formatting rule. The number of formulas in this array MUST be equal to the number of fields (cbFmla1, cbFmla2, and cbFmla3) that are nonzero. cbFmla1, cbFmla2, and cbFmla3 MUST NOT all be nonzero.
The following table explains how to interpret the first formula in the array, if it is present.
Interpretation of first formula in
Condition FRTHeader.rgFormulas iType = CF_TYPE_CELLIS A FRTCFParsedFormula14 (section 2.5.56) that specifies the formula (section 2.2.2), numeric value, or cell reference that specifies the first operand for the CFOper (section 2.5.15) specified by iParam.
iType = CF_TYPE_EXPRIS and A FRTCFParsedFormula14. When the formula (section iTemplate=CF_TEMPLATE_FMLA 2.2.2) returns 0, conditional formatting is not displayed. When the formula returns a nonzero value, conditional formatting is displayed. iType = CF_TYPE_EXPRIS and A FRTCFParsedFormula14 that implements the text iTemplate = comparison operation specified by iParam. CF_TEMPLATE_CONTAINSTEXT iType = CF_TYPE_EXPRIS and A FRTCFParsedFormula14 that returns a nonzero value iTemplate = when the cell is blank. CF_TEMPLATE_CONTAINSBLANKS iType = CF_TYPE_EXPRIS and A FRTCFParsedFormula14 that returns a nonzero value iTemplate = when the cell is not blank. CF_TEMPLATE_CONTAINSNOBLANKS iType = CF_TYPE_EXPRIS and A FRTCFParsedFormula14 that returns a nonzero value iTemplate = when the cell contains an error. CF_TEMPLATE_CONTAINSERRORS iType = CF_TYPE_EXPRIS and A FRTCFParsedFormula14 that returns a nonzero value iTemplate = when the cell does not contain an error. CF_TEMPLATE_CONTAINSNOERRORS iType = CF_TYPE_EXPRIS, and A FRTCFParsedFormula14 that implements the date iTemplate greater than or equal to 0x0F comparison operation specified by iParam. and less than or equal to 0x18 iType = CF_TYPE_GRADIENT, A FRTCFParsedFormula14 that specifies whether to CF_TYPE_DATABAR, or display conditional formatting. When this formula (section CF_TYPE_MULTISTATE 2.2.2) returns zero, conditional formatting is not displayed. When the formula returns a nonzero value, or is not
235 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
Interpretation of first formula in
Condition FRTHeader.rgFormulas present, conditional formatting is displayed.
If none of the preceding conditions hold, FRTHeader.fFormulas MUST be 0.
The following table explains how to interpret the second formula (section 2.2.2) in the array, if it is present.
Interpretation of second formula in
Condition FRTHeader.rgFormulas iType = CF_TYPE_CELLIS, and A FRTCFParsedFormula14 (section 2.5.56) that specifies iParam=CF_OPER_BN or CF_OPER_NB the formula (section 2.2.2), numeric value, or cell reference that specifies the second operand for the CFOper specified by iParam.
If the preceding condition does not hold, FRTHeader.rgFormulas MUST contain fewer than two formulas.
iType (4 bytes): A CFType (section 2.5.18) that specifies the way conditional formatting is displayed in the range.
When iType is CF_TYPE_GRADIENT, there MUST be one BrtBeginColorScale14 (section 2.4.29) record in the collection of conditional formatting records following this record.
When iType is CF_TYPE_DATABAR, there MUST be one BrtBeginDatabar14 (section 2.4.44) record in the collection of conditional formatting records following this record.
When iType is CF_TYPE_MULTISTATE, there MUST be one BrtBeginIconSet14 (section 2.4.92) record in the collection of conditional formatting records following this record.
iTemplate (4 bytes): A CFTemp (section 2.5.16) that specifies the type of logical condition that determines when conditional formatting is shown. The following table specifies the allowable combinations of iType and iTemplate. Other combinations MUST NOT be used.
Value of iType Value of iTemplate CF_TYPE_CELLIS CF_TEMPLATE_EXPR
CF_TYPE_EXPRIS CF_TEMPLATE_FMLA
CF_TYPE_EXPRIS CF_TEMPLATE_UNIQUEVALUES
CF_TYPE_EXPRIS CF_TEMPLATE_CONTAINSTEXT
CF_TYPE_EXPRIS CF_TEMPLATE_CONTAINSBLANKS
CF_TYPE_EXPRIS CF_TEMPLATE_CONTAINSNOBLANKS
CF_TYPE_EXPRIS CF_TEMPLATE_CONTAINSERRORS
CF_TYPE_EXPRIS CF_TEMPLATE_CONTAINSNOERRORS
CF_TYPE_EXPRIS CF_TEMPLATE_TIMEPERIODTODAY
CF_TYPE_EXPRIS CF_TEMPLATE_TIMEPERIODTOMORROW
CF_TYPE_EXPRIS CF_TEMPLATE_TIMEPERIODYESTERDAY
CF_TYPE_EXPRIS CF_TEMPLATE_TIMEPERIODLAST7DAYS
236 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
Value of iType Value of iTemplate
CF_TYPE_EXPRIS CF_TEMPLATE_TIMEPERIODLASTMONTH
CF_TYPE_EXPRIS CF_TEMPLATE_TIMEPERIODNEXTMONTH
CF_TYPE_EXPRIS CF_TEMPLATE_TIMEPERIODTHISWEEK
CF_TYPE_EXPRIS CF_TEMPLATE_TIMEPERIODNEXTWEEK
CF_TYPE_EXPRIS CF_TEMPLATE_TIMEPERIODLASTWEEK
CF_TYPE_EXPRIS CF_TEMPLATE_TIMEPERIODTHISMONTH
CF_TYPE_EXPRIS CF_TEMPLATE_ABOVEAVERAGE
CF_TYPE_EXPRIS CF_TEMPLATE_BELOWAVERAGE
CF_TYPE_EXPRIS CF_TEMPLATE_DUPLICATEVALUES
CF_TYPE_EXPRIS CF_TEMPLATE_EQUALABOVEAVERAGE
CF_TYPE_EXPRIS CF_TEMPLATE_EQUALBELOWAVERAGE
CF_TYPE_GRADIENT CF_TEMPLATE_GRADIENT
CF_TYPE_DATABAR CF_TEMPLATE_DATABAR
CF_TYPE_DATABAR CF_TEMPLATE_EXPR
CF_TYPE_FILTER CF_TEMPLATE_FILTER
CF_TYPE_MULTISTATE CF_TEMPLATE_MULTISTATE
dxfId (4 bytes): A DXFId14<8> (section 2.5.39) that specifies the differential formatting (section 2.2.6.2) applied to the range. If iType is CF_TYPE_GRADIENT, CF_TYPE_DATABAR, or CF_TYPE_MULTISTATE, and iPri is greater than 0, dxfId MUST be 0xFFFFFFFF and MUST be ignored.
If iPri is equal to -1, this field MUST be 0, and MUST be ignored.
iPri (4 bytes): A signed integer that specifies the relative priority of this rule compared to the other rules in the sheet, or whether this BrtBeginCFRule14 (section 2.4.24) specifies extension information for a conditional formatting data bar rule specified by a BrtBeginCFRule (section 2.4.23) record. MUST be greater than 0 or equal to -1.
Rules with iPri field greater than -1 are applied in order from the smallest iPri to the largest iPri.
If iPri is greater than 0, it MUST NOT duplicate an iPri value in any other BrtBeginCFRule or
BrtBeginCFRule14 record that exists in the same worksheet (section 2.1.7.62) part.
If iPri is equal to -1, this record specifies extension information for a conditional formatting data
bar rule, and MUST be followed by a BrtBeginDatabar14 (section 2.4.44) record describing this
additional information. The value of the guid field MUST equal the value of the guid field of the
associated BrtCFRuleExt (section 2.4.333) record. The iPri field of the BrtBeginCFRule record
associated with this BrtCFRuleExt record specifies the relative priority of this rule. If iPri is equal
to -1 and fGuid is 0x00, or if fGuid is 0x01 but there exists no BrtCFRuleExt record containing a
matching GUID, then this record and the succeeding BrtBeginDatabar14 (section 2.4.44) record
MUST be ignored. If iPri is not equal to -1 fGuid and guid MUST be ignored.
237 / 1118
[MS-XLSB] - v20251113
Excel (.xlsb) Binary File Format
Copyright © 2025 Microsoft Corporation
Release: November 13, 2025
iParam (4 bytes): This structure specifies a parameter for this conditional formatting rule. The value, type, and meaning of iParam depend on the value of iType and iTemplate, as specified in the following table:
Value of iType Value of iTemplate Meaning of iParam CF_TYPE_CELLIS CF_TEMPLATE_EXPR A CFOper that specifies the type of value comparison used. CF_TYPE_EXPRIS CF_TEMPLATE_CONTAINSTEXT A CFTextOper (section 2.5.17) that specifies the type of text comparison operation used. CF_TYPE_EXPRIS CF_TEMPLATE_TIMEPERIODTODAY A CFDateOper (section 2.5.12) that MUST be CF_TIMEPERIOD_TODAY.
CF_TYPE_EXPRIS CF_TEMPLATE_TIMEPERIODTOMOR A CFDateOper that MUST be ROW CF_TIMEPERIOD_TOMORROW. CF_TYPE_EXPRIS CF_TEMPLATE_TIMEPERIODYESTER A CFDateOper that MUST be DAY CF_TIMEPERIOD_YESTERDAY. CF_TYPE_EXPRIS CF_TEMPLATE_TIMEPERIODLAST7D A CFDateOper that MUST be AYS CF_TIMEPERIOD_LAST7DAYS. CF_TYPE_EXPRIS CF_TEMPLATE_TIMEPERIODLASTM A CFDateOper that MUST be ONTH CF_TIMEPERIOD_LASTMONTH. CF_TYPE_EXPRIS CF_TEMPLATE_TIMEPERIODNEXTM A CFDateOper that MUST be ONTH CF_TIMEPERIOD_NEXTMONTH. CF_TYPE_EXPRIS CF_TEMPLATE_TIMEPERIODTHISWE A CFDateOper that MUST be EK CF_TIMEPERIOD_THISWEEK. CF_TYPE_EXPRIS CF_TEMPLATE_TIMEPERIODNEXTW A CFDateOper that MUST be EEK CF_TIMEPERIOD_NEXTWEEK. CF_TYPE_EXPRIS CF_TEMPLATE_TIMEPERIODLASTW A CFDateOper that MUST be EEK CF_TIMEPERIOD_LASTWEEK. CF_TYPE_EXPRIS CF_TEMPLATE_TIMEPERIODTHISM A CFDateOper that MUST be ONTH CF_TIMEPERIOD_THISMONTH.
CF_TYPE_EXPRIS CF_TEMPLATE_ABOVEAVERAGE An unsigned integer that specifies the number of standard deviations above the average to format. iParam MUST be greater than or equal to 0 and less than 4. If iParam is 0, conditional formatting applies to all values greater than the average. CF_TYPE_EXPRIS CF_TEMPLATE_BELOWAVERAGE An unsigned integer that specifies the number of standard deviations below the average to format. iParam MUST be greater than or equal to 0 and less than 4. If iParam is 0, conditional formatting applies to all values below the average. CF_TYPE_EXPRIS CF_TEMPLATE_EQUALABOVEAVERA MUST be 0x00000000. GE CF_TYPE_EXPRIS CF_TEMPLATE_EQUALBELOWAVERA MUST be 0x00000000. GE CF_TYPE_FILTER CF_TEMPLATE_FILTER An unsigned integer that specifies how many cells are formatted by this rule. The value of fPercent specifies whether iParam is a percentage or a quantity of cells. When fPercent is 1, iParam MUST be greater than or equal to 0 and less than or equal to 100. Otherwise iParam MUST be greater than or
238 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
Value of iType Value of iTemplate Meaning of iParam equal to 1 and less than or equal to 1000.
For all combinations of iType and iTemplate that are not specified in this table, iParam MUST be 0x00000000.
reserved1 (4 bytes): This value MUST be 0 and MUST be ignored.
reserved2 (4 bytes): This value MUST be 0 and MUST be ignored.
A - reserved3 (1 bit): This value MUST be 0 and MUST be ignored.
B - fStopTrue (1 bit): A bit that specifies whether evaluation of additional conditional formatting rules is skipped for a cell if this rule evaluates to TRUE for that cell. The value MUST be 0 when iType is CF_TYPE_DATABAR, CF_TYPE_GRADIENT, or CF_TYPE_MULTISTATE. The following table explains the meanings of each value for fStopTrue.
Value Meaning 0 After this rule has been evaluated, the rule with the next largest iPri value is evaluated normally. 1 If this rule evaluates to TRUE for a cell, rules with a larger iPri value are not evaluated for that cell. If this rule evaluates to FALSE for a cell, the rule with the next largest iPri value is evaluated normally.
C - fAbove (1 bit): A bit that specifies whether conditional formatting is applied to cells with values above or below the average value of other cells in the range. If iTemplate is CF_TEMPLATE_ABOVEAVERAGE or CF_TEMPLATE_EQUALABOVEAVERAGE, fAbove MUST be 1. Otherwise, fAbove MUST be 0.
D - fBottom (1 bit): A bit that specifies how cells are formatted as specified by the following table.
Value Meaning 0 Conditional formatting is applied to cells whose value is in the top end of the range specified by iParam and fPercent. 1 Conditional formatting is applied to cells whose value is in the bottom end of the range specified by iParam and fPercent.
If iType is not CF_TYPE_FILTER, fBottom is unused and MUST be 0.
E - fPercent (1 bit): A bit that specifies how cells are formatted as specified by the following table.
Value Meaning 0 Conditional formatting is applied to the number of cells specified by iParam. 1 iParam specifies the percentage of cells in the range to which conditional formatting is applied.
If iType is not CF_TYPE_FILTER, fPercent is unused and MUST be 0.
reserved4 (11 bits): This value MUST be 0 and MUST be ignored.
cbFmla1 (4 bytes): An unsigned integer that MUST equal either the cce of the first formula (section 2.2.2) in FRTHeader.rgFormulas or 0x00000000. If iType is CF_TYPE_GRADIENT, CF_TYPE_DATABAR, or CF_TYPE_MULTISTATE, cbFmla1 MUST be 0x00000000. If cbFmla1 is nonzero, cbFmla3 MUST be 0x00000000.
cbFmla2 (4 bytes): If cbFmla1 is nonzero, this value is an unsigned integer that MUST equal the cce of the second formula (section 2.2.2) in FRTHeader.rgFormulas, or 0x00000000. When
239 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
cbFmla1 is 0x00000000, cbFmla2 MUST be 0x00000000. If cbFmla2 is nonzero, cbFmla3 MUST be 0x00000000.
cbFmla3 (4 bytes): An unsigned integer that MUST equal either the cce of the first formula (section 2.2.2) in FRTHeader.rgFormulas or 0x00000000. If cbFmla3 is nonzero, both cbFmla1 and cbFmla2 MUST be 0x00000000. If iType is not equal to CF_TYPE_GRADIENT, CF_TYPE_DATABAR, or CF_TYPE_MULTISTATE, cbFmla3 MUST be 0x00000000.
unused1 (4 bytes): Undefined, and MUST be ignored.
guid (16 bytes): If fGuid is 1, this value is a GUID as specified in [MS-DTYP] section 2.3.4 that identifies the conditional formatting rule. If fGuid is 0, this field is unused and MUST be ignored.
fGuid (4 bytes): A Boolean (section 2.5.98.3) that specifies whether the conditional formatting rule contains a GUID. This value MUST be a value from the following table.
Value Meaning
0x00000000 The conditional formatting rule does not contain a GUID. guid is unused and MUST be
ignored.
0x00000001 The conditional formatting rule contains a GUID.
If iPri is -1 and fGuid is 0x00000001, the value of the guid field MUST equal the value of the guid field of the associated BrtCFRuleExt (section 2.4.333) record. If iPri is -1 and fGuid is 0x00000000, this BrtBeginCFRule14 (section 2.4.24) and the succeeding BrtBeginDatabar14 (section 2.4.44) record MUST be ignored.
strParam (variable): An XLNullableWideString (section 2.5.167) that specifies a value used in the conditional formatting rule. If iTemplate is not CF_TEMPLATE_CONTAINSTEXT, strParam MUST be NULL and MUST be ignored. Otherwise, strParam MUST contain a string that specifies the value that is searched for, and strParam MUST be greater than 0 and less than 256 characters long.
2.4.25 BrtBeginColBrk
The BrtBeginColBrk record specifies vertical page break properties and specifies the beginning of a collection of BrtBrk (section 2.4.315) records as defined by the Worksheet (section 2.1.7.62) part ABNF and the Macro Sheet (section 2.1.7.32) part ABNF. The collection of BrtBrk records specifies vertical page breaks.
0 1 2 3 4 5 6 7 8 9 1 1 2 3 4 5 6 7 8 2 3 0 9 0 1 2 3 4 5 6 7 8 9 0 1
ibrkMac
ibrkManMac
ibrkMac (4 bytes): An unsigned integer that specifies the number of vertical page breaks in the workbook. MUST be less than or equal to 1023.
ibrkManMac (4 bytes): An unsigned integer that specifies the number of manual vertical page breaks that occur at locations specified by the user. This value MUST be equal to ibrkMac.
2.4.26 BrtBeginColInfos
The BrtBeginColInfos record specifies the beginning of a collection of BrtColInfo (section 2.4.336) records as defined by the Worksheet (section 2.1.7.62) part ABNF and Macro Sheet (section
240 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
2.1.7.32) part ABNF. The collection of BrtColInfo records specifies the column (1) width and formatting for one or more columns (1) of a sheet.
2.4.27 BrtBeginColorPalette
The BrtBeginColorPalette record specifies the beginning of a collection of records as defined by the Styles (section 2.1.7.50) part ABNF. The collection of records specifies the color information associated with this workbook.
When the color palette is modified, the BrtIndexedColor (section 2.4.697) collection is updated. When a custom color has been selected, the BrtMRUColor (section 2.4.717) collection is updated.
2.4.28 BrtBeginColorScale
The BrtBeginColorScale record specifies the beginning of a collection of records as defined by the Worksheet (section 2.1.7.62) part ABNF and the Macro Sheet (section 2.1.7.32) part ABNF. The collection of records specifies a color scale used in conditional formatting.
If this record is followed by two BrtCFVO (section 2.4.334) records and two BrtColor (section 2.4.337) records, this record specifies a two-color color scale. The first BrtCFVO specifies the cell value for the beginning of the color scale, and the second BrtCFVO specifies the cell value for the end of the color scale. The first BrtColor specifies the color for the beginning of the color scale, and the second BrtColor specifies the color for the end of the color scale.
If this record is followed by three BrtCFVO records and three BrtColor records, this record specifies a three-color color scale. The first BrtCFVO specifies the cell value for the beginning of the color scale, the second BrtCFVO specifies the cell value for the midpoint of the color scale, and the third BrtCFVO specifies the cell value for the end of the color scale. The first BrtColor specifies the color for the beginning of the color scale, the second BrtColor specifies the color for the midpoint of the color scale, and the third BrtColor specifies the color for the end of the color scale.
2.4.29 BrtBeginColorScale14
The BrtBeginColorScale14 record specifies the beginning of a collection of records as defined by the Worksheet (section 2.1.7.62) part ABNF. The collection of records specifies a color scale used in conditional formatting.
If this record is followed by two BrtCFVO14 (section 2.4.335) records and two BrtColor14 (section 2.4.338) records, this record specifies a two-color color scale. The first BrtCFVO2.4.319 specifies the cell value for the beginning of the color scale, and the second BrtCFVO2.4.319 specifies the cell value for the end of the color scale. The first BrtColor14 specifies the color for the beginning of the color scale, and the second BrtColor14 specifies the color for the end of the color scale.
If this record is followed by three BrtCFVO2.4.319 records and three BrtColor14 records, this record specifies a three-color color scale. The first BrtCFVO2.4.319 specifies the cell value for the beginning of the color scale, the second BrtCFVO14 specifies the cell value for the midpoint of the color scale, and the third BrtCFVO2.4.319 specifies the cell value for the end of the color scale. The first BrtColor14 specifies the color for the beginning of the color scale, the second BrtColor14 specifies the color for the midpoint of the color scale, and the third BrtColor14 specifies the color for the end of the color scale.
2.4.30 BrtBeginComment
The BrtBeginComment record specifies the beginning of a BrtCommentText (section 2.4.341) record as defined by the Comments (section 2.1.7.8) part ABNF. The BrtCommentText record specifies the text of a comment.
241 / 1118
[MS-XLSB] - v20251113
Excel (.xlsb) Binary File Format
Copyright © 2025 Microsoft Corporation
Release: November 13, 2025
0 1 2 3 4 5 6 7 8 9 1 1 2 3 4 5 6 7 8 2 3 0 9 0 1 2 3 4 5 6 7 8 9 0 1
iauthor
rfx (16 bytes)
...
...
guid (16 bytes)
...
...
iauthor (4 bytes): A signed integer that specifies a zero-based index of a BrtCommentAuthor (section 2.4.340) record in the collection of all records directly following BrtBeginCommentAuthors (section 2.4.31). The referenced BrtCommentAuthor specifies a comment author for this comment.
rfx (16 bytes): An UncheckedRfX (section 2.5.154) that specifies the cell the comment is associated with. rfx.rwFirst MUST be equal to rfx.rwLast. rfx.colFirst MUST be equal to rfx.colLast.
guid (16 bytes): A GUID as specified in [MS-DTYP] section 2.3.4 that identifies this comment. If the workbook is not a shared workbook (section 2.2.12), this field is undefined and MUST be ignored.
2.4.31 BrtBeginCommentAuthors
The BrtBeginCommentAuthors record specifies the beginning of a collection of BrtCommentAuthor (section 2.4.340) records as defined by the Comments (section 2.1.7.8) part ABNF. The collection of BrtCommentAuthor records specifies a list of authors of comments.
2.4.32 BrtBeginCommentList
The BrtBeginCommentList record specifies the beginning of a collection of records as defined by the Comments (section 2.1.7.8) part ABNF. The collection specifies a list of comments.
2.4.33 BrtBeginComments
The BrtBeginComments record specifies the beginning of a collection of records as defined by the Comments (section 2.1.7.8) part ABNF. The collection of records specifies lists of authors and their comments.
2.4.34 BrtBeginConditionalFormatting
The BrtBeginConditionalFormatting record specifies conditional formatting properties for a range and specifies the beginning of a collection of records as defined by the Worksheet (section 2.1.7.62) part ABNF. The collection of records specifies conditional formatting information for a range.
242 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
0 1 2 3 4 5 6 7 8 9 1 1 2 3 4 5 6 7 8 2 3 0 9 0 1 2 3 4 5 6 7 8 9 0 1
ccf
fPivot
sqrfx (variable)
...
ccf (4 bytes): An unsigned integer that equals the count of BrtBeginCFRule (section 2.4.23) records contained in the collection.
fPivot (4 bytes): A Boolean (section 2.5.98.3) that specifies whether the conditional formatting is applied only to a PivotTable (section 2.1.7.40). This value MUST be a value from the following table.
Value Meaning
0x00000000 The area specified by sqrfx includes some cells that are not part of a PivotTable data area
(section 2.2.5.3.8.1.4).
0x00000001 The area specified by sqrfx only includes cells that are part of a PivotTable data area
(section 2.2.5.3.8.1.4).
sqrfx (variable): An UncheckedSqRfX (section 2.5.156) that specifies the range the conditional formatting applies to.
2.4.35 BrtBeginConditionalFormatting14
The BrtBeginConditionalFormatting14 record specifies conditional formatting properties for a range and specifies the beginning of a collection of records as defined by the Worksheet (section 2.1.7.62) part ABNF. The collection of records specifies conditional formatting information for a range. This record is equivalent to BrtBeginConditionalFormatting (section 2.4.34) but allows for more than 8192 ranges to which this conditional formatting is applied.
0 1 2 3 4 5 6 7 8 9 1 1 2 3 4 5 6 7 8 2 3 0 9 0 1 2 3 4 5 6 7 8 9 0 1
FRTHeader (variable)
...
ccf
fPivot
FRTHeader (variable): An FRTHeader (section 2.5.61) that specifies the Future Record (section 2.1.6) information for this record.
The FRTHeader fields MUST have the values listed in the following table.
243 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
Field Value FRTHeader.fRef 0 FRTHeader.fSqref 1 FRTHeader.fFormulas 0 FRTHeader.fRelID 0
The FRTHeader.rgSqrefs specifies the range this conditional formatting applies to. The FRTHeader.rgSqrefs.csqref field MUST equal 1. The sqrfx.crfx field of the single FRTSqref (section 2.5.66) comprising the array of the FRTHeader.rgSqrefs field MUST be greater than or equal to 1.
ccf (4 bytes): An unsigned integer that specifies the count of BrtBeginCFRule14 (section 2.4.24) records contained in this collection.
fPivot (4 bytes): A Boolean (section 2.5.98.3) that specifies whether this conditional formatting is applied only to a PivotTable (section 2.1.7.40). This value MUST be a value from the following table.
Value Meaning 0x00000000 The range specified within FRTHeader.rgSqrefs includes some cells that are not part of a PivotTable data area (section 2.2.5.3.8.1.4). 0x00000001 The range specified within FRTHeader.rgSqrefs only includes cells that are part of a PivotTable data area (section 2.2.5.3.8.1.4).
2.4.36 BrtBeginConditionalFormattings
The BrtBeginConditionalFormattings record specifies the beginning of a collection of records as defined by the Worksheet (section 2.1.7.62) part ABNF. The collection of records specifies conditional formatting information for the Worksheet.
2.4.37 BrtBeginCRErrs
The BrtBeginCRErrs record specifies the file type of the document and specifies the beginning of a collection of BrtCrashRecErr (section 2.4.342) records as defined by the Workbook (section 2.1.7.61) part ABNF. The collection of BrtCrashRecErr records specify the errors that occurred during an application fault.
0 1 2 3 4 5 6 7 8 9 1 1 2 3 4 5 6 7 8 2 3 0 9 0 1 2 3 4 5 6 7 8 9 0 1
ft
ft (4 bytes): A signed integer that specifies the file type of the document before the application failure. This value MUST be a value from the following table.
Value Meaning
0x00000001 SYLK (Symbolic Link) (*.slk)
0x00000002 Text (Tab delimited) (*.txt)
0x00000005 CSV (Comma delimited) (*.csv)
0x00000008 DIF (Data Interchange Format) (*.dif)
0x00000010 Excel 97-2003 Template (*.xlt)
244 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
Value Meaning
0x00000011 Excel 97-2003 Add-In (.xla) 0x00000012 Text (Macintosh) (.txt) 0x00000013 Text (MS-DOS) (.txt) 0x00000015 CSV (Macintosh) (.csv) 0x00000016 CSV (MS-DOS) (.csv) 0x0000001C Microsoft Excel 3.0 Worksheet (.xls) 0x00000020 Microsoft Excel 4.0 Worksheet (.xls) 0x00000023 Formatted Text (Space delimited) (.prn) 0x00000026 Microsoft Excel 5.0/95 Workbook (.xls) 0x00000029 Unicode Text (.txt) 0x0000002A Microsoft Excel 97-2003 & 5.0/95 Workbook (.xls) 0x0000002B Web Page (.htm, .html) 0x0000002C Single File Web Page (.mht, .mhtml) 0x0000002D XML Spreadsheet 2003 (.xml) 0x00000030 XML Data (.xml) 0x00000031 Excel Binary Workbook (.xlsb) 0x00000032 Excel Workbook (.xlsx) 0x00000033 Excel Macro-Enabled Workbook (.xlsm) 0x00000034 Excel Macro-Enabled Template (.xltm) 0x00000035 Excel Template (.xltx) 0x00000036 Excel Add-In (.xlam) 0x00000037 Excel 97-2003 Workbook (.xls)
2.4.38 BrtBeginCsView
The BrtBeginCsView record specifies chart sheet view settings for the current chart sheet. It also specifies the beginning of a collection of records as specified by the Chart Sheet (section 2.1.7.7) part ABNF. This collection specifies additional chart sheet view settings for the current chart sheet. Chart sheet view settings and workbook view settings for the associated workbook view (specified by iwbkview) together define the display of a chart sheet.
0 1 2 3 4 5 6 7 8 9 1 1 2 3 4 5 6 7 8 2 3 0 9 0 1 2 3 4 5 6 7 8 9 0 1
A unused wScale
... iwbkview
...
A - fSelected (1 bit): A bit that specifies that the chart sheet is currently selected.
unused (15 bits): Undefined and MUST be ignored.
wScale (4 bytes): An unsigned integer that specifies the window zoom level as a percentage value. The value MUST be greater than or equal to 10 and less than or equal to 400, or equal to 0. A value of 0 specifies that there is no zoom level set.
245 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
iwbkview (4 bytes): An unsigned integer that specifies the zero-based index of a BrtBookView
(section 2.4.313) record in the collection of all records directly following BrtBeginBookViews
(section 2.4.11) in the Workbook (section 2.1.7.61) part. The referenced BrtBookView specifies
the workbook view the chart sheet view is associated with.
2.4.39 BrtBeginCsViews
The BrtBeginCsViews record specifies the beginning of a collection of records as defined by the
Chart Sheet (section 2.1.7.7) part ABNF. The collection of records specifies the chart sheet views
of the chart sheet.
2.4.40 BrtBeginCustomFilters
The BrtBeginCustomFilters record specifies a property of a filter and specifies the beginning of a
collection of BrtCustomFilter (section 2.4.348) records as defined by the Macro Sheet (section
2.1.7.32) part ABNF, the PivotTable (section 2.1.7.40) part ABNF, the Table (section 2.1.7.51) part
ABNF, and the Worksheet (section 2.1.7.62) part ABNF. The collection of BrtCustomFilter records
specifies custom filter criteria to be applied to a filter.
0 1 2 3 4 5 6 7 8 9 1 1 2 3 4 5 6 7 8 2 3
0 9 0 1 2 3 4 5 6 7 8 9 0 1
fAnd
fAnd (4 bytes): A Boolean (section 2.5.98.3) that specifies whether the criteria specified by the
BrtCustomFilter records in this collection have an "AND" relationship if there are two criteria.
This value MUST be one of the values specified in the following table.
Value Meaning
0x00000000 AND relationship will be used.
0x00000001 OR relationship will be used.
2.4.41 BrtBeginCustomFilters14
The BrtBeginCustomFilters14 record specifies a property of a filter and specifies the beginning of a collection of BrtCustomFilter14 (section 2.4.349) records as defined by the Macro Sheet (section 2.1.7.32) part ABNF, the PivotTable (section 2.1.7.40) part ABNF, the Table (section 2.1.7.51) part ABNF, and the Worksheet (section 2.1.7.62) part ABNF. The collection of BrtCustomFilter14 records specifies custom filter criteria to be applied to a filter.
0 1 2 3 4 5 6 7 8 9 1 1 2 3 4 5 6 7 8 2 3
0 9 0 1 2 3 4 5 6 7 8 9 0 1
fAnd
fAnd (4 bytes): A Boolean (section 2.5.98.3) that specifies whether the criteria specified by the
BrtCustomFilter14 (section 2.4.349) records in this collection have an "AND" relationship if there
are two criteria. This value MUST be one of the values specified in the following table.
Value Meaning
0x00000000 AND relationship will be used.
246 / 1118
[MS-XLSB] - v20251113
Excel (.xlsb) Binary File Format
Copyright © 2025 Microsoft Corporation
Release: November 13, 2025
Value Meaning
0x00000001 OR relationship will be used.
2.4.42 BrtBeginCustomRichFilters
The BrtBeginCustomRichFilters record specifies a property of a filter and specifies the beginning of a collection of BrtCustomRichFilter (section 2.4.350) records as defined by the Common Productions (section 2.1.8) part ABNF. The collection of BrtCustomRichFilter records specifies custom filter criteria to applied to a filter associated with rich values.
0 1 2 3 4 5 6 7 8 9 1 1 2 3 4 5 6 7 8 2 3
0 9 0 1 2 3 4 5 6 7 8 9 0 1
fAnd
fAnd (4 bytes): A Boolean (section 2.5.98.3) that specifies whether the criteria specified by the
BrtCustomRichFilter records in this collection have an “AND” relationship if there are two
criteria. This value MUST be one of the values specified in the following table.
Value Meaning
0x00000000 AND relationship will be used.
0x00000001 OR relationship will be used.
2.4.43 BrtBeginDatabar
The BrtBeginDatabar record specifies data bar properties and specifies the beginning of a collection
of records as defined by the Worksheet (section 2.1.7.62) part ABNF and the Macro Sheet (section
2.1.7.32) part ABNF. The collection of records specifies a data bar used in conditional formatting.
In the collection of records following this record, the first BrtCFVO (section 2.4.334) record specifies
the minimum cell value used for the data bars in this conditional formatting range. The second
BrtCFVO record specifies the maximum cell value used for the data bars in this conditional formatting
range. The BrtColor (section 2.4.337) record specifies the color of the data bar.
0 1 2 3 4 5 6 7 8 9 1 1 2 3 4 5 6 7 8 2 3
0 9 0 1 2 3 4 5 6 7 8 9 0 1
bLenMin bLenMax fShowValue
bLenMin (1 byte): An unsigned integer that specifies the minimum cell width occupied by the data
bars in this conditional formatting range, expressed as a percentage of the width of the cell being
formatted. This value MUST be greater than or equal to 0 and less than or equal to bLenMax.
247 / 1118
[MS-XLSB] - v20251113
Excel (.xlsb) Binary File Format
Copyright © 2025 Microsoft Corporation
Release: November 13, 2025
bLenMax (1 byte): An unsigned integer that specifies the maximum cell width occupied by the data
bars in this conditional formatting range, expressed as a percentage of the width of the cell being
formatted. This value MUST be greater than or equal to bLenMin and less than or equal to 100.
fShowValue (1 byte): A Boolean (section 2.5.98.3) that specifies whether the cells in the
conditional formatting range display both the data bar and the numeric value or only the data bar.
The following table specifies the meaning of each value.
Value Meaning
0x00 Only the data bar is displayed in the cell.
0x01 Both the data bar and the numeric value are displayed in the cell.
2.4.44 BrtBeginDatabar14
The BrtBeginDatabar14 record specifies data bar properties and specifies the beginning of a collection of records as defined by the Worksheet (section 2.1.7.62) part ABNF. The collection of records specifies a data bar used in conditional formatting.
In the collection of records following this record, the first BrtCFVO14 (section 2.4.335) record specifies the minimum cell value used for the data bars in the conditional formatting range. The second BrtCFVO14 record specifies the maximum cell value used for the data bars in the conditional formatting range.
In the collection of records following this record, there are five optional BrtColor14 (section 2.4.338) records. They specify, in order, if they exist, the data bar positive bar color, data bar border color, data bar negative bar color, data bar negative border color, and data bar axis color.
The first optional BrtColor14 (section 2.4.338) record specifies the data bar positive bar color and MUST exist if and only if the iPri field of the BrtBeginCFRule14 (section 2.4.24) record specified by the CFRULE14 rule (as defined in section 2.1.8) that contains this record does not equal -1.
The second optional BrtColor14 record specifies the data bar border color and MUST exist if and only if the fBorder attribute equals 1.
The third optional BrtColor14 record specifies the data bar negative bar color and MUST exist if and only if the fCustomNegativeFillColor attribute equals 1.
The fourth optional BrtColor14 record specifies the data bar negative border color and MUST exist if and only if the fCustomNegativeBorderColor attribute equals 1 and the fBorder attribute equals 1.
The fifth optional BrtColor14 record specifies the data bar axis color and MUST exist if and only if bAxisPosType does not equal 0x02.
0 1 2 3 4 5 6 7 8 9 1 1 2 3 4 5 6 7 8 2 3
0 9 0 1 2 3 4 5 6 7 8 9 0 1
FRTHeader
bLenMin bLenMax fShowValue bDirection
bAxisPosType A B C D unused
248 / 1118
[MS-XLSB] - v20251113
Excel (.xlsb) Binary File Format
Copyright © 2025 Microsoft Corporation
Release: November 13, 2025
FRTHeader (4 bytes): An FRTBlank (section 2.5.55) that specifies the Future Record (section 2.1.6) information for this record.
bLenMin (1 byte): An unsigned integer that specifies the minimum cell width occupied by the data bars in the conditional formatting range, expressed as a percentage of the width of the cell being formatted. This value MUST be greater than or equal to 0 and less than or equal to bLenMax. If there exists a BrtCFRuleExt (section 2.4.333) record with a guid field in the sheet equal to the guid field of the BrtBeginCFRule14 (section 2.4.24) that begins the collection of records that contains this record, and this record's bLenMin is 0 and this record's bLenMax is 100, then the bLenMin field of the BrtBeginDataBar (section 2.4.43) record contained in the collection of records that begins with the BrtBeginConditionalFormatting (section 2.4.34) record that contains the BrtCFRuleExt record with the same guid field MUST be 10. If there exists a BrtCFRuleExt record with a guid field in this sheet equal to the guid field of the BrtBeginCFRule14 (section 2.4.24) that begins the collection of records that contains this record, and this record's bLenMin is not 0 or this record's bLenMax is not 100, then the bLenMin field of the BrtBeginDataBar record contained in the collection of records that begins with the BrtBeginConditionalFormatting record that contains the BrtCFRuleExt record with the same guid field MUST be equal to this record’s bLenMin.
bLenMax (1 byte): An unsigned integer that specifies the maximum cell width occupied by the data bars in the conditional formatting range, expressed as a percentage of the width of the cell being formatted. This value MUST be greater than or equal to bLenMin and less than or equal to 100. If there exists a BrtCFRuleExt (section 2.4.333) record with a guid field in the sheet equal to the guid field of the BrtBeginCFRule14 (section 2.4.24) that begins the collection of records that contains this record, and this record's bLenMin is 0 and this record's bLenMax is 100, then the bLenMax field of the BrtBeginDataBar (section 2.4.43) record contained in the collection of records that begins with the BrtBeginConditionalFormatting (section 2.4.34) record that contains the BrtCFRuleExt (section 2.4.333) record with the same guid field MUST be 90. If there exists a BrtCFRuleExt record with a guid field in the sheet equal to the guid field of the BrtBeginCFRule14 (section 2.4.24) that begins the collection of records that contains this record, and this record's bLenMin is not 0 or this record's bLenMax is not 100, then the bLenMax field of the BrtBeginDataBar record contained in the collection of records that begins with the BrtBeginConditionalFormatting record that contains the BrtCFRuleExt record with the same guid field MUST be equal to this record’s bLenMax.
fShowValue (1 byte): A Boolean (section 2.5.98.3) that specifies whether the cells in the conditional formatting range display both the data bar and the numeric value or only the data bar. The following table specifies the meaning of each value.
Value Meaning
0x00 Only the data bar is displayed in the cell.
0x01 Both the data bar and the numeric value are
displayed in the cell.
bDirection (1 byte): An unsigned integer that specifies the direction of the data bar. This value
MUST be one of the values specified in the following table.
249 / 1118
[MS-XLSB] - v20251113
Excel (.xlsb) Binary File Format
Copyright © 2025 Microsoft Corporation
Release: November 13, 2025
Value Meaning
0x00 The direction of the data bar is determined by context.
0x01 The data bar is displayed in a left-to-right manner.
0x02 The data bar is displayed in a right-to-left manner.
bAxisPosType (1 byte): An unsigned integer that specifies the axis position for the data bar. This value MUST be one of the values specified in the following table.
Value Meaning
0x00 The axis position for the data bar is calculated automatically.
0x01 The axis position for the data bar is the midpoint of the cell.
0x02 There is no axis for the data bar.
A - fBorder (1 bit): A bit that specifies whether the data bar has a border.
B - fGradient (1 bit): A bit that specifies whether the data bar fill is a gradient. The following table specifies the meaning of each value.
Value Meaning
0 The data bar fill is a solid color.
1 The data bar fill is a gradient.
C - fCustomNegativeFillColor (1 bit): A bit that specifies whether the negative bar color of the data bar is different from the positive bar color.
D - fCustomNegativeBorderColor (1 bit): A bit that specifies whether the negative border color of the data bar is different from the positive border color.
unused (12 bits): Undefined and MUST be ignored.
250 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
2.4.45 BrtBeginDataFeedPr15
The BrtBeginDataFeedPr15 record specifies properties of a model data source data feed connection (section 2.2.8.9.2) and specifies the beginning of a collection of records as defined by the External Data Connections (section 2.1.7.24) part ABNF.
0 1 2 3 4 5 6 7 8 9 1 1 2 3 4 5 6 7 8 2 3 0 9 0 1 2 3 4 5 6 7 8 9 0 1
FRTHeader
irstConnection (variable)
...
FRTHeader (4 bytes): An FRTBlank (section 2.5.55) that specifies the future record (section 2.1.6) information for this record.
irstConnection (variable): An XLWideString section 2.5.169) that specifies the connection string for this connection.
2.4.46 BrtBeginDataModel
The BrtBeginDataModel record specifies the beginning of a collection of records as defined by the Workbook (section 2.1.7.61) part ABNF. The collection of records specifies properties of the spreadsheet data model.
0 1 2 3 4 5 6 7 8 9 1 1 2 3 4 5 6 7 8 2 3 0 9 0 1 2 3 4 5 6 7 8 9 0 1
FRTHeader
bVerLoadModelMin
FRTHeader (4 bytes): An FRTBlank (section 2.5.55) that specifies the future record (section 2.1.6) information for this record.
bVerLoadModelMin (1 byte): A byte which specifies the minimum application version required to load the spreadsheet data model in this workbook. This MUST be greater than or equal to 5.
2.4.47 BrtBeginDbTables15
The BrtBeginDbTables15 record specifies the beginning of a collection of records as defined by the External Data Connections (section 2.1.7.24) part ABNF. The collection of records specifies the list of database tables used by this model data source OLE DB connection (section 2.2.8.9.1) or model data source data feed connection (section 2.2.8.9.2).
2.4.48 BrtBeginDCon
The BrtBeginDCon record specifies data consolidation properties and specifies the beginning of a collection of records as defined by the Worksheet (section 2.1.7.62) part ABNF and the Macro Sheet (section 2.1.7.32) part ABNF. The collection of records specifies data consolidation information.
251 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
0 1 2 3 4 5 6 7 8 9 1 1 2 3 4 5 6 7 8 2 3 0 9 0 1 2 3 4 5 6 7 8 9 0 1
iiftab A B C unused
iiftab (1 byte): An IIFtab (section 2.5.79) that specifies the data consolidation function that is used.
A - fLeftCat (1 bit): A bit that specifies whether the values in the left column (1) of the data consolidation range will be treated as labels or data. The following table specifies the meaning of each value.
Value Meaning
0 Treat the left column (1) of the data consolidation range as data that will be operated on by
the data consolidation function specified by iiftab.
1 Treat the left column (1) of the data consolidation range as labels that will be used to identify
the rows operated on by the data consolidation function.
B - fTopCat (1 bit): A bit that specifies whether the values in the top row of the data consolidation range will be treated as labels or data. The following table specifies the meaning of each value.
Value Meaning
0 Treat the top row of the data consolidation range as data that will be operated on by the data
consolidation function specified by iiftab.
1 Treat the top row of the data consolidation range as labels that will be used to identify the
columns (1) operated on by the data consolidation function.
C - fLinkConsol (1 bit): A bit that specifies whether data consolidation will create references to the source data. The following table specifies the meaning of each value.
Value Meaning
0 References are not created to the source data.
1 References are created to the source data.
unused (5 bits): Undefined and MUST be ignored.
2.4.49 BrtBeginDecoupledPivotCacheIDs
The BrtBeginDecoupledPivotCacheIDs record specifies the beginning of a collection of PivotCache identifier records as defined by the Workbook (section 2.1.7.61) part ABNF rules. The collection of records specifies the PivotCache structures that are associated with Non-Worksheet PivotTables (section 2.2.5.5).
2.4.50 BrtBeginDeletedName
The BrtBeginDeletedName record specifies the name of a query field that has been deleted from a query table and specifies the beginning of an empty collection of records as defined by the Query Table (section 2.1.7.42) part ABNF.
252 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
0 1 2 3 4 5 6 7 8 9 1 1 2 3 4 5 6 7 8 2 3 0 9 0 1 2 3 4 5 6 7 8 9 0 1
rgb (variable)
...
rgb (variable): An XLWideString (section 2.5.169) that specifies the name of the deleted query field. The length of rgb MUST be greater than or equal to 1 character and less than or equal to 255 characters.
2.4.51 BrtBeginDeletedNames
The BrtBeginDeletedNames record specifies properties of query fields that have been deleted from a query table and specifies the beginning of a collection of records as defined by the Query Table (section 2.1.7.42) part ABNF. The collection of records specifies query fields that have been deleted from the query table.
0 1 2 3 4 5 6 7 8 9 1 1 2 3 4 5 6 7 8 2 3 0 9 0 1 2 3 4 5 6 7 8 9 0 1
nCols
nCols (4 bytes): A DCol (section 2.5.32) that specifies how many deleted query fields there are. This value MUST equal the number of BrtBeginDeletedName (section 2.4.50) records in the collection.
2.4.52 BrtBeginDim
The BrtBeginDim record specifies a PivotCache (section 2.2.5.2) OLAP dimension and the beginning of an empty collection as defined by the PivotCache Definition (section 2.1.7.38) part ABNF.
0 1 2 3 4 5 6 7 8 9 1 1 2 3 4 5 6 7 8 2 3 0 9 0 1 2 3 4 5 6 7 8 9 0 1
A reserved stName (variable)
...
stUnique (variable)
...
stDisplay (variable)
...
A - fMeasure (1 bit): A bit that that indicates whether this is a measure dimension.
reserved (7 bits): This value MUST be 0, and MUST be ignored.
stName (variable): An XLWideString (section 2.5.169) that specifies the name of the dimension. The length of this value MUST be greater than 0.
253 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
stUnique (variable): An XLWideString that specifies the unique name of the dimension. The length of this value MUST be greater than 0 and less than 32768 characters.
stDisplay (variable): An XLWideString that specifies the display name of the dimension. The length of this value MUST be greater than 0.
2.4.53 BrtBeginDims
The BrtBeginDims record specifies the beginning of a collection of records as defined by the PivotCache Definition (section 2.1.7.38) part ABNF. The collection of records specifies PivotTable (section 2.2.5) OLAP dimensions. MUST exist if and only if this record is an OLAP PivotCache (section 2.2.5.2).
0 1 2 3 4 5 6 7 8 9 1 1 2 3 4 5 6 7 8 2 3 0 9 0 1 2 3 4 5 6 7 8 9 0 1
cDims
cDims (4 bytes): An unsigned integer that specifies the number of OLAP dimensions in the PivotTable (section 2.2.5). This value MUST match the number of BrtBeginDim (section 2.4.52) records in the collection.
2.4.54 BrtBeginDRefs
The BrtBeginDRefs record specifies a count of BrtDRef (section 2.4.355) records in the collection and specifies the beginning of a collection of BrtDRef records as defined by the Worksheet (section 2.1.7.62) part ABNF and Macro Sheet (section 2.1.7.32) part ABNF. The collection of BrtDRef records specifies the references used by data consolidation.
0 1 2 3 4 5 6 7 8 9 1 1 2 3 4 5 6 7 8 2 3 0 9 0 1 2 3 4 5 6 7 8 9 0 1
cdref
cdref (4 bytes): An unsigned integer that specifies the number of BrtDRef (section 2.4.355) records contained in the collection.
2.4.55 BrtBeginDVals
The BrtBeginDVals record specifies the beginning of a collection of BrtDVal (section 2.4.356) records as defined by the Worksheet (section 2.1.7.62) part ABNF. This record also specifies data validation properties of a worksheet that are used by the application's user interface (UI).
0 1 2 3 4 5 6 7 8 9 1 1 2 3 4 5 6 7 8 2 3 0 9 0 1 2 3 4 5 6 7 8 9 0 1
DVals (18 bytes)
...
...
...
254 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
DVals (18 bytes): A DVals (section 2.5.36) that specifies data validation properties of a worksheet that are used by the application's UI.
2.4.56 BrtBeginDVals14
The BrtBeginDVals14 record specifies the beginning of a collection of BrtDVal14 (section 2.4.357) records as defined by the Worksheet (section 2.1.7.62) part ABNF. This record also specifies data validation properties of a worksheet that are used by the application's UI.
0 1 2 3 4 5 6 7 8 9 1 1 2 3 4 5 6 7 8 2 3
0 9 0 1 2 3 4 5 6 7 8 9 0 1
FRTHeader
DVals (18 bytes)
...
...
...
FRTHeader (4 bytes): An FRTBlank (section 2.5.55) that specifies the Future Record (section 2.1.6)
information for this record.
DVals (18 bytes): A DVals (section 2.5.36) that specifies data validation properties of a worksheet
that are used by the application's UI.
2.4.57 BrtBeginDXF14s
The BrtBeginDXF14s record specifies a count of BrtDXF14 records (section 2.4.360) and specifies
the beginning of a collection of records as defined by the Styles (section 2.1.7.50) part ABNF. The
collection of records specifies a set of differential formatting (section 2.2.6.2).
0 1 2 3 4 5 6 7 8 9 1 1 2 3 4 5 6 7 8 2 3
0 9 0 1 2 3 4 5 6 7 8 9 0 1
FRTHeader
cdxfs
FRTHeader (4 bytes): An FRTBlank (section 2.5.55) that specifies the future record (section 2.1.6)
information for this record.
cdxfs (4 bytes): An unsigned integer that specifies the number of BrtDXF14 (section 2.4.360)
records in the collection. This value MUST be less than or equal to 0x7FFFFFFF.
2.4.58 BrtBeginDXFs
The BrtBeginDXFs record specifies a count of BrtDXF (section 2.4.359) records and specifies the
beginning of a collection of BrtDXF records as defined by the Revision Log (section 2.1.7.44) part
255 / 1118
[MS-XLSB] - v20251113
Excel (.xlsb) Binary File Format
Copyright © 2025 Microsoft Corporation
Release: November 13, 2025
ABNF and the Styles (section 2.1.7.50) part ABNF. The collection of BrtDXF records specifies a set of differential formatting (section 2.2.6.2).
0 1 2 3 4 5 6 7 8 9 1 1 2 3 4 5 6 7 8 2 3 0 9 0 1 2 3 4 5 6 7 8 9 0 1
cdxfs
cdxfs (4 bytes): An unsigned integer that specifies the number of differential formatting records (BrtDXF). This value MUST be less than or equal to 0x7FFFFFFF.
2.4.59 BrtBeginDXFs15
The BrtBeginDXFs15 record specifies a count of BrtDXF15 records (section 2.4.361) and specifies the beginning of a collection of records as defined by the Styles part ABNF. The collection of records specifies a set of Differential Formatting.
0 1 2 3 4 5 6 7 8 9 1 1 2 3 4 5 6 7 8 2 3 0 9 0 1 2 3 4 5 6 7 8 9 0 1
FRTHeader
cdxfs
FRTHeader (4 bytes): An FRTBlank (section 2.5.55) that specifies the future record (section 2.1.6) information for this record.
cdxfs (4 bytes): An unsigned integer that specifies the number of BRTDXF15 records (section 2.4.361) in the collection. This value MUST be less than or equal to 0x7FFFFFFF.
2.4.60 BrtBeginDynamicArrayPr
The BrtBeginDynamicArrayPr record specifies the beginning of an empty collection of records that specifies information about dynamic arrays, as defined by the Metadata (section 2.1.7.34) part ABNF.
0 1 2 3 4 5 6 7 8 9 1 1 2 3 4 5 6 7 8 2 3 0 9 0 1 2 3 4 5 6 7 8 9 0 1
FRTHeader
FRTHeader (4 bytes): An FRTBlank (section 2.5.55) that specifies the future record (section 2.1.6) information for this record.
2.4.61 BrtBeginECDbProps
The BrtBeginECDbProps record specifies the properties associated with an ODBC or OLE DB external connection (section 2.2.8) and specifies the beginning of an empty collection of records as defined by the External Data Connections (section 2.1.7.24) part ABNF.
0 1 2 3 4 5 6 7 8 9 1 1 2 3 4 5 6 7 8 2 3 0 9 0 1 2 3 4 5 6 7 8 9 0 1
icmdtype
256 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
A B reserved stConn (variable)
...
stCmd (variable)
...
stCmdSvr (variable)
...
icmdtype (4 bytes): A CmdType (section 2.5.21) that specifies the OLE DB or ODBC command
type. This value MUST be CMDSQL (section 2.5.21) if this record is an ODBC data connection, as
specified in section 2.2.8.4.
A - fLoadCmdSvr (1 bit): A bit that specifies whether stCmdSvr exists after the fixed-size portion
of this record. This value MUST be 0 if this record is an OLE DB data connection, as specified in
section 2.2.8.3.
B - fLoadCmd (1 bit): A bit that specifies whether stCmd exists after the fixed-size portion of this
record.
reserved (6 bits): This value MUST be 0, and MUST be ignored.
stConn (variable): An XLWideString (section 2.5.169) that specifies the connection string used to connect to an OLE DB or ODBC data source. The length of this value MUST be less than 65536 characters. The length of this value MUST be 0 if the fDeleted field of the preceding BrtBeginExtConnection (section 2.4.80) record is 1.
stCmd (variable): An optional XLWideString that specifies the database command to pass to the
data provider. This field MUST exist if and only if fLoadCmd is 1.
stCmdSvr (variable): An optional XLWideString that specifies the database command to use
instead of stCmd if the cache field that is used as a server-based page field, as specified in Source
Data (section 2.2.5.2.1), is removed from the page axis (section 2.2.5.3.7.1) or made into a page
field that is not a server-based page field. This field MUST exist if and only if fLoadCmdSvr is 1.
2.4.62 BrtBeginECOlapProps
The BrtBeginECOlapProps record specifies the properties of an OLAP connection (section 2.2.8.3.1)
and specifies the beginning of an empty collection of records as defined by the External Data
Connections (section 2.1.7.24) part ABNF. The properties that specify server formatting options are
used to specify whether server formatting retrieved from the OLAP data source is applied to the cells
used by PivotTables (section 2.2.5) or cube functions associated with the PivotCache (section
2.2.5.2) that is associated with the external connection (section 2.2.8), as specified in section
2.2.5.2.1. In the case of PivotTables, the formatting is applied to the cells in data area (section
2.2.5.3.8.1.4) of the PivotTable report. In the case of cube functions, the formatting is applied to the
cells that contain the result of the cube function. When a local cube file is used, as specified by
fLocalConn, the OLE DB for OLAP data provider is used to connect to a file, which is a cache of the
OLAP data source.
257 / 1118
[MS-XLSB] - v20251113
Excel (.xlsb) Binary File Format
Copyright © 2025 Microsoft Corporation
Release: November 13, 2025
0 1 2 3 4 5 6 7 8 9 1 1 2 3 4 5 6 7 8 2 3 0 9 0 1 2 3 4 5 6 7 8 9 0 1
A B C D E F G H nDrillthroughRows
... I reserved2 stConnLocal (variable)
...
A - fLocalConn (1 bit): A bit that specifies whether data is retrieved from a local cube file. This value MUST be one of the values in the following table.
Value Meaning
0 The data is retrieved using the connection string
specified by the stConn field of the
BrtBeginECDbProps (section 2.4.61) record
preceding this record.
1 The data is retrieved from the connection string
specified by stConnLocal.
B - fNoRefreshCube (1 bit): A bit that specifies whether the OLE DB for OLAP data provider is requested to rebuild the local cube file. This value is applicable only when fLocalConn is equal to
-
This value MUST be one of the values in the following table.
Value Meaning 0 The OLE DB for OLAP data provider is requested to rebuild the local cube file on refresh. 1 The OLE DB for OLAP data provider is requested to query the existing local cube file on refresh.
C - fSrvFmtBack (1 bit): A bit that specifies whether the background color retrieved from the OLAP data source is used for cell formatting. This value MUST be one of the values in the following table.
Value Meaning
0 Fill colors retrieved from the OLAP data source are
ignored.
1 Fill colors retrieved from the OLAP data source are
used for cell formatting.
D - fSrvFmtFore (1 bit): A bit that specifies whether the font face color retrieved from the OLAP data source is used for cell formatting. This value MUST be one of the values in the following table.
Value Meaning
0 Font colors retrieved from the OLAP data source
are ignored.
1 Font colors retrieved from the OLAP data source
are used for cell formatting.
258 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
E - fSrvFmtFlags (1 bit): A bit that specifies whether the font family name retrieved from the OLAP
data source is used for cell formatting. This value MUST be one of the values in the following
table.
Value Meaning
0 Font family names retrieved from the OLAP data
source are ignored.
1 Font family names retrieved from the OLAP data
source are used for cell formatting.
F - fSrvFmtNum (1 bit): A bit that specifies whether the format string retrieved from the OLAP data
source is used for cell formatting. This value MUST be one of the values in the following table.
Value Meaning
0 Formats strings retrieved from the OLAP data
source are ignored.
1 Formats strings retrieved from the OLAP data
source are used for cell formatting.
G - fUseOfficeLcid (1 bit): A bit that specifies whether the language code identifier (LCID) is
sent to the OLE DB for OLAP data provider to retrieve data in a localized manner.
H - reserved1 (1 bit): This value MUST be 0, and MUST be ignored.
nDrillthroughRows (4 bytes): A DRw (section 2.5.35) that specifies the maximum number of drillthrough rows to return when the user drills through an aggregate value in a PivotTable (section 2.2.5). This value MUST be greater than 0 and less than 1048577.
I - bLoadConnLocal (1 bit): A bit that specifies whether stConnLocal exists after the fixed size
portion of the record. This value MUST be 1 if fLocalConn is 1.
reserved2 (7 bits): This value MUST be 0, and MUST be ignored.
stConnLocal (variable): An optional XLWideString (section 2.5.169) that specifies a connection
string to use when a local cube file is available. This field MUST exist if and only if
bLoadConnLocal is 1. The length of this value MUST be less than 65536.
2.4.63 BrtBeginECParam
The BrtBeginECParam record specifies parameters of an external connection (section 2.2.8) and
specifies the beginning of an empty collection of records as defined by the External Data
Connections (section 2.1.7.24) part ABNF.
0 1 2 3 4 5 6 7 8 9 1 1 2 3 4 5 6 7 8 2 3
0 9 0 1 2 3 4 5 6 7 8 9 0 1
pbt A reserved wTypeSql
dataType (optional)
fLoadPrompt (optional)
stName (variable)
259 / 1118
[MS-XLSB] - v20251113
Excel (.xlsb) Binary File Format
Copyright © 2025 Microsoft Corporation
Release: November 13, 2025
...
stPrompt (variable)
...
stVal (variable)
...
xnumVal (optional)
...
boolVal (optional) fmla (variable)
...
pbt (3 bits): An unsigned integer that specifies the type of the parameter. This value MUST be one of the values from the following table.
Value Meaning 0x0 Prompt. An application collects the parameter value from the user. 0x1 Value. This record contains the value in one of the fields: stVal, xnumVal, or boolVal. 0x2 Cell reference. fmla specifies the sheet cell that contains the value.
A - fAutoRefresh (1 bit): A bit that specifies whether the external data is automatically refreshed when the content of a cell containing the parameter's value changes. This value MUST be 0 if pbt is not 0x2. The following table specifies the meaning of each value.
Value Meaning 0 External data is refreshed only when requested by the user or when triggered by some other event (for example, the workbook is opened). 1 External data is refreshed whenever the content of a cell containing the parameter's value changes.
reserved (12 bits): This value MUST be 0, and MUST be ignored.
wTypeSql (2 bytes): A TypeSql (section 2.5.152) that specifies the SQL data type of the parameter. This value MUST be ignored when the external connection is not an ODBC data source.
dataType (4 bytes): An optional unsigned integer that specifies the data type of the parameter value. This field MUST exist if and only if pbt is not 0x0 and MUST be ignored if pbt is 0x2. This value MUST be one of the values in the following table.
260 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
Value Meaning 0x00000001 Double. The parameter value is specified by the xnumVal field. 0x00000002 String. The parameter value is specified by the stVal field. 0x00000004 Boolean. The parameter value is specified by the boolVal field. 0x00000800 Integer. The parameter value is specified by the xnumVal field.
fLoadPrompt (4 bytes): An optional Boolean (section 2.5.98.3) that specifies whether stPrompt exists after the fixed size portion of the record. If the value is 1, stPrompt exists. fLoadPrompt MUST exist if and only if pbt is 0x0.
stName (variable): An XLWideString (section 2.5.169) that specifies the name of the parameter. The length of this value MUST be less than 256 characters.
stPrompt (variable): An optional XLWideString that specifies the prompt string for the parameter. The length of this value MUST be less than 65536 characters. This field MUST exist if and only if pbt is 0x0 and fLoadPrompt is 0x00000001.
stVal (variable): An optional XLWideString that specifies the string value of the parameter. The length of this value MUST be less than 256 characters. This field MUST exist if and only if pbt is 0x1 and dataType is 0x00000002.
xnumVal (8 bytes): An optional Xnum (section 2.5.172) that specifies the value of the parameter. This field MUST exist if and only if pbt is 0x1 and dataType is 0x00000001 or 0x00008000. If dataType is 0x00008000, the integer value specified by this field MUST be less than or equal to 0x7FFFFFFF and greater than or equal to 0x80000000.
boolVal (1 byte): An optional BYTE that specifies the Boolean value of the parameter. This field MUST exist if and only if pbt is 0x1 and dataType is 0x00000004.
fmla (variable): An optional ParameterParsedFormula (section 2.5.98.14) that specifies the formula (section 2.2.2) that MUST evaluate to the range containing the value or values to use for the parameter. If this is an ODBC connection (section 2.2.8.4), the cell range MUST specify a single cell. If this is a Web connection (section 2.2.8.5), the cell range MUST specify a single row or a single column (1) of cells; each cell of the range can contain one of the parameter values. This field MUST exist if and only if pbt is 2.
2.4.64 BrtBeginECParams
The BrtBeginECParams record specifies properties of connection parameters and specifies the beginning of a collection of records as defined by the External Data Connections (section 2.1.7.24) part ABNF. The collection specifies connection parameters for an ODBC connection (section 2.2.8.4) or for a Web connection (section 2.2.8.5). If this record exists for an ODBC connection, it MUST follow the BrtBeginECDbProps (section 2.4.61) record. If this record exists for a Web connection, it MUST follow the BrtBeginECWebProps (section 2.4.71) record.
0 1 2 3 4 5 6 7 8 9 1 1 2 3 4 5 6 7 8 2 3 0 9 0 1 2 3 4 5 6 7 8 9 0 1
cParams
cParams (4 bytes): An unsigned integer that specifies the number of connection parameters. This value MUST match the number of BrtBeginECParam (section 2.4.63) records in this collection.
261 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
2.4.65 BrtBeginECTwFldInfo
The BrtBeginECTwFldInfo record specifies field settings for text importation and specifies the beginning of a collection of records as defined by the External Data Connections (section 2.1.7.24) part ABNF. The collection specifies field settings for text importation.
A field in the context of text importation is a column (1) of data that is imported into a range in a sheet.
0 1 2 3 4 5 6 7 8 9 1 1 2 3 4 5 6 7 8 2 3 0 9 0 1 2 3 4 5 6 7 8 9 0 1
data
...
data (8 bytes): An ECTwFldInfoData structure (section 2.5.40) which specifies field settings.
2.4.66 BrtBeginECTwFldInfo15
The BrtBeginECTwFldInfo15 record specifies field settings for model data source text importation connection (section 2.2.8.9.4) and specifies the beginning of a collection of records as defined by the External Data Connections (section 2.1.7.24) part ABNF. The collection specifies field settings for text importation.
A field in the context of text importation is a column (1) of data that is imported into a range in a sheet.
0 1 2 3 4 5 6 7 8 9 1 1 2 3 4 5 6 7 8 2 3 0 9 0 1 2 3 4 5 6 7 8 9 0 1
FRTHeader
data
...
FRTHeader (4 bytes): An FRTBlank (section 2.5.55) that specifies the Future Record (section 2.1.6) information for this record.
data (8 bytes): A ECTwFldInfoData structure (section 2.5.40), which specifies field settings.
2.4.67 BrtBeginECTWFldInfoLst
The BrtBeginECTWFldInfoLst record specifies the number of columns (1) of data in a text file and specifies the beginning of a collection of BrtBeginECTwFldInfo (section 2.4.65) records as defined by the External Data Connections (section 2.1.7.24) part ABNF. The collection specifies a collection of columns (1) of data in a text file.
0 1 2 3 4 5 6 7 8 9 1 1 2 3 4 5 6 7 8 2 3 0 9 0 1 2 3 4 5 6 7 8 9 0 1
cFields
262 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
cFields (4 bytes): An unsigned integer that specifies the number of columns (1) of data in the text file. This value MUST equal the number of BrtBeginECTwFldInfo records in the collection.
2.4.68 BrtBeginECTWFldInfoLst15
The BrtBeginECTWFldInfoLst15 record specifies the number of columns (1) of data in a text file and specifies the beginning of a collection of BrtBeginECTwFldInfo15 (section 2.4.66) records as defined by the External Data Connections (section 2.1.7.24) part ABNF. The collection specifies a collection of columns (1) of data in a text file.
0 1 2 3 4 5 6 7 8 9 1 1 2 3 4 5 6 7 8 2 3 0 9 0 1 2 3 4 5 6 7 8 9 0 1
FRTHeader
cFields
FRTHeader (4 bytes): An FRTBlank (section 2.5.55) that specifies the Future Record (section 2.1.6) information for this record.
cFields (4 bytes): An unsigned integer that specifies the number of columns (1) of data in the text file. This value MUST equal the number of BrtBeginECTwFldInfo15 records in the collection.
2.4.69 BrtBeginECTxtWiz
The BrtBeginECTxtWiz record specifies text importation properties and specifies the beginning of a collection of records as defined by the External Data Connections (section 2.1.7.24) part ABNF. The collection specifies text importation properties.
0 1 2 3 4 5 6 7 8 9 1 1 2 3 4 5 6 7 8 2 3 0 9 0 1 2 3 4 5 6 7 8 9 0 1
data
...
...
stFile (variable)
...
data (12 bytes): An ECTxtWizData structure (section 2.5.41) which specifies text importation properties.
stFile (variable): An XLWideString (section 2.5.169) that specifies the path to the text file to use to import external data. The length of the string MUST be greater than or equal to 0 characters and less than 219 characters.
2.4.70 BrtBeginECTxtWiz15
The BrtBeginECTxtWiz15 record specifies the model data source text importation connection properties (section 2.2.8.9.4), and the beginning of a collection of records as defined by the External Data Connections (section 2.1.7.24) part ABNF.
263 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
0 1 2 3 4 5 6 7 8 9 1 1 2 3 4 5 6 7 8 2 3 0 9 0 1 2 3 4 5 6 7 8 9 0 1
FRTHeader
data
...
...
stFile (variable)
...
FRTHeader (4 bytes): An FRTBlank (section 2.5.55) that specifies the Future Record (section 2.1.6) information for this record.
data (12 bytes): An ECTxtWizData structure (section 2.5.41) which specifies model data source text importation connection properties.
stFile (variable): An XLWideString (section 2.5.169) that specifies the path to the text file to use to import external data. The length of the string MUST be greater than or equal to zero characters and less than 219 characters.
2.4.71 BrtBeginECWebProps
The BrtBeginECWebProps record specifies the properties of a Web connection (section 2.2.8.5) and specifies the beginning of a collection of records as defined by the External Data Connections (section 2.1.7.24) part ABNF. The collection of records specifies the properties of a Web connection.
0 1 2 3 4 5 6 7 8 9 1 1 2 3 4 5 6 7 8 2 3 0 9 0 1 2 3 4 5 6 7 8 9 0 1
wHTMLFmt A B C D E F G H I reserved1
J K L reserved2 stURL (variable)
...
stWebPost (variable)
...
stEditWebPage (variable)
...
wHTMLFmt (8 bits): An unsigned integer that specifies how to handle formatting from the HTML source when bringing Web connection (section 2.2.8.5) data into the sheet. This value MUST be one of the values in the following table.
264 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
Value Meaning 0x00 None. There is no formatting. 0x01 RTF. Handle the formatting as rich text formatting. 0x02 All. Handle the formatting as all HTML formatting.
A - fSrcIsXML (1 bit): A bit that specifies whether the Web connection (section 2.2.8.5) source is
XML. The following table specifies the meaning of each value.
Value Meaning
0 The Web connection source is
HTML.
1 The Web connection source is XML.
B - fImportSourceData (1 bit): A bit that specifies whether the source data is imported from a
specified Uniform Resource Locator (URL) instead of the HTML table itself. This value is used
when a Web connection (section 2.2.8.5) connects to an HTML table with the following attribute.
<TABLE ... o:WebQuerySourceHRef="http://..." ... > ... </TABLE>
The value of the WebQuerySourceHRef attribute specifies the URL to obtain the source data
from. The following table specifies the meaning of each value.
Value Meaning
0 Specifies that source data is not imported.
1 Specifies that source data is imported.
C - fParsePreFormatted (1 bit): A bit that specifies whether the data contained within HTML <PRE>
tags in the web page is parsed into columns (1) when the page is imported into a query table.
The following table specifies the meaning of each value.
Value Meaning
0 Specifies that <PRE> tags are not parsed.
1 Specifies that <PRE> tags are parsed.
D - fConsecDelim (1 bit): A bit that specifies whether consecutive delimiters are treated as just one
delimiter. The following table specifies the meaning of each value.
Value Meaning
0 Each delimiter is treated as a separate delimiter.
1 Consecutive delimiters are treated as just one delimiter.
E - fSameSettings (1 bit): A bit that specifies whether all tables inside a <PRE> block are parsed
with the same width settings as the first row.
F - fXL97Format (1 bit): A bit that specifies whether this Web connection (section 2.2.8.5) was
created using a specific version of the application<9>.
265 / 1118
[MS-XLSB] - v20251113
Excel (.xlsb) Binary File Format
Copyright © 2025 Microsoft Corporation
Release: November 13, 2025
G - fNoDateRecog (1 bit): A bit that specifies whether dates are imported into cells in the sheet as
text rather than dates. The following table specifies the meaning of each value.
Value Meaning
0 Dates are imported as date values.
1 Dates are imported as text.
H - fRefreshedInXL9 (1 bit): A bit that specifies whether this Web connection (section 2.2.8.5) was
refreshed using a version of the application newer than a specific version<10>.
I - fTablesOnlyHTML (1 bit): A bit that specifies whether this Web connection (section 2.2.8.5) only
works on HTML tables. The following table specifies the meaning of each value.
Value Meaning
0 The Web connection only works on the whole Web page.
1 The Web connection only works on HTML tables.
reserved1 (15 bits): This value MUST be 0, and MUST be ignored.
J - fLoadWebPost (1 bit): A bit that specifies whether the stWebPost field exists after the fixed size portion of this record.
K - fLoadEditWebPage (1 bit): A bit that specifies whether the stEditWebPage field exists after the fixed size portion of this record.
L - fLoadURL (1 bit): A bit that specifies whether the stURL field exists after the fixed size portion of the record. If the fDeleted field in the preceding BrtBeginExtConnection (section 2.4.80) record is 0, this value MUST be 1. If the fDeleted field in the preceding BrtBeginExtConnection record is 1 and the fSrcIsXML field is 0, this value MUST be 0.
reserved2 (5 bits): This value MUST be 0, and MUST be ignored.
stURL (variable): An optional XLWideString (section 2.5.169) that specifies the URL to use to refresh external data. The length of this string MUST be greater than 0. This field MUST exist if and only if fLoadURL is 1.
stWebPost (variable): An optional XLWideString (section 2.5.169) that specifies the string used with the HTTP post method of sending data to a Web server. This field MUST exist if and only if fLoadWebPost is 1.
stEditWebPage (variable): An optional XLWideString (section 2.5.169) that specifies the URL of the user-facing Web page displaying the Web connection (section 2.2.8.5) data. This URL is persisted if fImportSourceData is 1 and stURL contains the URL specified by the o:WebQuerySourceHRef attribute in the selected HTML table. This field MUST exist if and only if fLoadEditWebPage is 1.
2.4.72 BrtBeginEcWpTables
The BrtBeginEcWpTables record specifies the beginning of a collection of records as defined by the External Data Connections (section 2.1.7.24) part ABNF. The collection specifies a collection of tables to be returned via a Web query data connection. The collection of tables is specified by BrtPCDIIndex (section 2.4.737), BrtPCDIString (section 2.4.740), or BrtPCDIMissing (section 2.4.738) records. The BrtPCDIString record specifies the HTML table by its ID attribute and the BrtPCDIIndex record specifies the HTML table by its index (in order of the
tags in the HTML 266 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
page). The BrtPCDIMissing record is used when the user has specified an invalid reference to an HTML page.
0 1 2 3 4 5 6 7 8 9 1 1 2 3 4 5 6 7 8 2 3 0 9 0 1 2 3 4 5 6 7 8 9 0 1
cTables
cTables (4 bytes): An unsigned integer that specifies the number of tables to pull data from when refreshing from a Web query. This value MUST match the number of records in the collection.
2.4.73 BrtBeginEsfmd
The BrtBeginEsfmd record specifies the name of the metadata type (section 2.2.4.1) and specifies the beginning of a collection of records as defined by the Metadata (section 2.1.7.34) part ABNF. The collection of records specifies a future metadata store (section 2.2.4.4).
0 1 2 3 4 5 6 7 8 9 1 1 2 3 4 5 6 7 8 2 3 0 9 0 1 2 3 4 5 6 7 8 9 0 1
cFmd
stName (variable)
...
cFmd (4 bytes): A signed integer that specifies the number of records in the collection. This number MUST be greater than or equal to 1, and MUST be equal to the number of records in the collection.
stName (variable): An XLWideString (section 2.5.169) that specifies the name of the metadata type (section 2.2.4.1). This name MUST be equal to the stName of one of the BrtMdtinfo (section 2.4.711) records in the collection of metadata types specified by the BrtBeginEsmdtinfo (section 2.4.75) and BrtEndEsmdtinfo (section 2.4.429) records. The names of future metadata types MUST be unique within the collection of metadata types and MUST NOT be equal to "XLMDX".
2.4.74 BrtBeginEsmdb
The BrtBeginEsmdb record specifies the type of metadata block (section 2.2.4.5) records and specifies the beginning of a collection of BrtMdb (section 2.4.710) records as defined by the Metadata (section 2.1.7.34) part ABNF. The collection of records MUST contain metadata block records of the same kind: either only cell metadata (section 2.2.4.2) records or only value metadata (section 2.2.4.3) records.
0 1 2 3 4 5 6 7 8 9 1 1 2 3 4 5 6 7 8 2 3 0 9 0 1 2 3 4 5 6 7 8 9 0 1
cMdb
fCellMeta
cMdb (4 bytes): A signed integer that specifies the number of records in the collection. This number MUST be greater than or equal to 1, and MUST be equal to the number of records in the collection.
267 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
fCellMeta (4 bytes): A Boolean (section 2.5.98.3) that specifies whether BrtMdb (section 2.4.710) records of a cell metadata (section 2.2.4.2) or value metadata (section 2.2.4.3) type directly follow this record. This value MUST be one of the values in the following table.
Value Meaning
0x00000000 The collection contains value metadata records.
0x00000001 The collection contains cell metadata records.
2.4.75 BrtBeginEsmdtinfo
The BrtBeginEsmdtinfo record specifies the beginning of the collection of BrtMdtinfo (section
2.4.711) records as defined by the Metadata (section 2.1.7.34) part ABNF. The collection of records
specifies the list of metadata types (section 2.2.4.1).
0 1 2 3 4 5 6 7 8 9 1 1 2 3 4 5 6 7 8 2 3
0 9 0 1 2 3 4 5 6 7 8 9 0 1
cMdtinfo
cMdtinfo (4 bytes): A signed integer that specifies the number of records in the collection. This
number MUST be greater than or equal to 1, and MUST be equal to the number of records in the
collection.
2.4.76 BrtBeginEsmdx
The BrtBeginEsmdx record specifies the beginning of a collection of records as defined by the
Metadata (section 2.1.7.34) part ABNF. The collection of records specifies the MDX metadata store
(section 2.2.4.4).
0 1 2 3 4 5 6 7 8 9 1 1 2 3 4 5 6 7 8 2 3
0 9 0 1 2 3 4 5 6 7 8 9 0 1
cMdx
cMdx (4 bytes): A signed integer that specifies the number of records in the collection. This number
MUST be greater than or equal to 1, and MUST be equal to the number of records in the collection.
2.4.77 BrtBeginEsstr
The BrtBeginEsstr record specifies the beginning of a collection of BrtStr (section 2.4.808) records
as defined by the Metadata (section 2.1.7.34) part ABNF.
0 1 2 3 4 5 6 7 8 9 1 1 2 3 4 5 6 7 8 2 3
0 9 0 1 2 3 4 5 6 7 8 9 0 1
cStr
cStr (4 bytes): A signed integer that specifies the number of BrtStr records in the collection. This
number MUST be greater than or equal to 1, and MUST be equal to the number of records in the
collection.
268 / 1118
[MS-XLSB] - v20251113
Excel (.xlsb) Binary File Format
Copyright © 2025 Microsoft Corporation
Release: November 13, 2025
2.4.78 BrtBeginExtConn14
The BrtBeginExtConn14 record specifies the extended properties of an external connection (section 2.2.8) and specifies the beginning of a collection of records as defined by the External Data Connections (section 2.1.7.24) part ABNF. The collection of records specifies the OLAP calculated members that are associated with this external connection. If this external connection is associated with a PivotCache (section 2.2.5.2), the collection MUST be empty.
The idbtype field of the BrtBeginExtConnection (section 2.4.80) record that precedes this record MUST be DBTOLEDB (section 2.5.31). If this collection is not empty, icmdtype field of the BrtBeginECDbProps (section 2.4.61) record that immediately precedes this record MUST be CMDCUBE (section 2.5.21).
0 1 2 3 4 5 6 7 8 9 1 1 2 3 4 5 6 7 8 2 3 0 9 0 1 2 3 4 5 6 7 8 9 0 1
FRTHeader
irstCulture (variable)
...
irstClientCubeUrn (variable)
...
FRTHeader (4 bytes): An FRTBlank (section 2.5.55) that specifies the Future Record (section 2.1.6) information for this record.
irstCulture (variable): An XLWideString (section 2.5.169) that specifies the language associated with this connection. The length of this string MUST be less than 85 characters. If the length of this string is greater than 0, the contents of this string SHOULD be a language tag as specified in [RFC3066]<11>. If this field is not present, the data connection is using the server language.
irstClientCubeUrn (variable): An XLWideString that specifies an embedded Custom Data (section 2.1.7.10) part. The length of this value MUST be less than 65536 characters. If the length of this string is greater than 0, the contents of this string MUST be equal to the id attribute of a datastoreItem element, as specified in [MS-XLSX] section 2.4.35, in a Custom Data Properties (section 2.1.7.11) part in this package (section 2.1.1).
2.4.79 BrtBeginExtConn15
The BrtBeginExtConn15 record specifies the extended properties of an external connection (section 2.2.8).
0 1 2 3 4 5 6 7 8 9 1 1 2 3 4 5 6 7 8 2 3 0 9 0 1 2 3 4 5 6 7 8 9 0 1
FRTHeader
A B C D E F irstId (variable)
...
269 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
FRTHeader (4 bytes): An FRTBlank (section 2.5.55) that specifies the Future Record (section 2.1.6)
information for this record.
A - reserved1 (1 bit): This value MUST be 0, and MUST be ignored.
B - fSandbox (1 bit): A bit that specifies whether this is a connection to the spreadsheet data
model (as specified in [MS-XLDM]) The following table specifies the meaning of each value.
Value Meaning
0 This is a not connection to the spreadsheet data
model.
1 This is a connection to the spreadsheet data
model.
If this value equals 1, the idbtype field of the BrtBeginExtConnection (section 2.4.80) record
that precedes this record MUST be equal to DBTOLEDB (section 2.5.31).
C - fExcludeFromRefreshAll (1 bit): A bit that specifies whether this connection is excluded from
Refresh All operation. The following table specifies the meaning of each value.
Value Meaning
0 This connection is not excluded from Refresh All
operation.
1 This connection is excluded from Refresh All
operation.
D - fAutoDelete (1 bit): A bit that specifies whether this connection is automatically deleted when all
data features that use it are deleted. The following table specifies the meaning of each value.
Value Meaning
0 This connection is not automatically deleted when
all data features that use it are deleted.
1 This connection is automatically deleted when all
data features that use it are deleted.
E - fUsedByAddin (1 bit): A bit that specifies whether this connection is used by an external data
feature. The following table specifies the meaning of each value.
Value Meaning
0 This connection is not used by an external data
feature.
1 This connection is used by an external data
feature.
F - reserved2 (3 bits): This value MUST be 0 and MUST be ignored.
irstId (variable): An XLNullableWideString (section 2.5.167) that specifies the string identifier of the spreadsheet data model data source. The string length MUST be less than or equal to 65535 characters. If the fSandbox field is equal to 1, the string length MUST be NULL and MUST be ignored.
270 / 1118
[MS-XLSB] - v20251113
Excel (.xlsb) Binary File Format
Copyright © 2025 Microsoft Corporation
Release: November 13, 2025
2.4.80 BrtBeginExtConnection
The BrtBeginExtConnection record specifies the properties of an external connection (section 2.2.8) and specifies the beginning of a collection of records as defined by the External Data Connections (section 2.1.7.24) part ABNF. The collection of records specifies properties of an external connection; the records that this collection contains are specified by the connection type, as specified in section 2.2.8.
0 1 2 3 4 5 6 7 8 9 1 1 2 3 4 5 6 7 8 2 3 0 9 0 1 2 3 4 5 6 7 8 9 0 1
bVerRefreshed bVerRefreshableMin pc reserved1
wInterval A B C D E F G reserved2
H I J K L reserved4 idbtype
... irecontype
... dwConnID
... iCredMethod stDataFile (variable)
...
stConnectionFile (variable)
...
stConnDesc (variable)
...
stConnName (variable)
...
stSso (variable)
...
bVerRefreshed (1 byte): A DataFunctionalityLevel (section 2.5.29) structure that specifies the data functionality level (section 2.2.5.1) that the external connection was last refreshed with.
bVerRefreshableMin (1 byte): A DataFunctionalityLevel (section 2.5.29) structure that specifies the minimum data functionality level (section 2.2.5.1) that the application is required to support to correctly refresh the external connection.
pc (8 bits): An unsigned integer that specifies whether the password is saved as part of the connection string. This value MUST be ignored if the value of the idbtype field is not DBTOLEDB (section 2.5.31) or DBTODBC (section 2.5.31); otherwise this value MUST be one of the values in the following table.
271 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
Value Meaning 0x01 The password is saved in the connection string. 0x02 The password is not saved in the connection string.
reserved1 (8 bits): This value MUST be 0, and MUST be ignored.
wInterval (16 bits): An unsigned integer that specifies the number of minutes between automatic
refreshes of the external connection. This value MUST be less than 32768. If the value is 0, the
external connection is not automatically refreshed.
A - fMaintain (1 bit): A bit that specifies whether the external connection is maintained after the
refresh. This value MUST be ignored if the value of idbtype is not DBTOLEDB (section 2.5.31).
B - fNewQuery (1 bit): A bit that specifies whether the external connection has been refreshed for
the first time. The following table specifies the meaning of each value.
Value Meaning
0 The external connection has been refreshed at least
once.
1 The external connection has not been refreshed for
the first time.
C - fDeleted (1 bit): A bit that specifies whether the external connection has been deleted. A deleted
external connection MUST contain stConnName.
D - fAlwaysUseConnectionFile (1 bit): A bit that specifies whether the external connection
information in the external connection file (section 2.2.8.2) specified in the stConnectionFile field
is used when the external connection is refreshed. This value MUST be ignored if idbtype is not
DBTOLEDB (section 2.5.31) or DBTODBC (section 2.5.31). The following table specifies the
meaning of each value.
Value Meaning
0 The procedure specified by the irecontype field is
used.
1 The connection information in the external
connection file specified by the stConnectionFile
field is used.
E - fBackgroundQuery (1 bit): A bit that specifies whether the preferred usage of the external
connection is to refresh asynchronously in the background. The following table specifies the
meaning of each value.
Value Meaning
0 The preferred usage of the external connection is to
refresh synchronously in the foreground.
1 The preferred usage of the external connection is to
refresh asynchronously in the background.
If this external connection is associated with a PivotCache (section 2.2.5.2), this value MUST be
equal to the fBackgroundQuery field in the BrtBeginPivotCacheDef (section 2.4.168) record.
If this external connection is associated with a query table, this value MUST be equal to the value
in the fAsync field in the BrtBeginQSI (section 2.4.188) record.
272 / 1118
[MS-XLSB] - v20251113
Excel (.xlsb) Binary File Format
Copyright © 2025 Microsoft Corporation
Release: November 13, 2025
F - fRefreshOnLoad (1 bit): A bit that specifies whether this external connection is refreshed when the workbook is opened.
G - fSaveData (1 bit): A bit that specifies whether the data retrieved from the external connection is saved within the workbook. If this external connection is associated with a query table, this value MUST be equal to the value in the fSaveData field in the BrtBeginQSI (section 2.4.188) record.
reserved2 (9 bits): This value MUST be 0, and MUST be ignored.
H - fLoadSourceDataFile (1 bit): A bit that specifies whether stDataFile exists after the fixed-size portion of the record.
I - fLoadSourceConnectionFile (1 bit): A bit that specifies whether stConnectionFile exists after the fixed-size portion of the record.
J - fLoadConnectionDesc (1 bit): A bit that specifies whether stConnDesc exists after the fixed- size portion of the record.
K - reserved3 (1 bit): A bit that MUST have a value of 1, and MUST be ignored.
L - fLoadSSOApplicationID (1 bit): A bit that specifies whether stSso exists after the fixed-size portion of the record. This value MUST be 0 if idbtype is not DBTOLEDB (section 2.5.31) or DBTODBC (section 2.5.31).
reserved4 (11 bits): This value MUST be 0, and MUST be ignored.
idbtype (4 bytes): A DBType (section 2.5.31) that specifies the data source type.
irecontype (4 bytes): An unsigned integer that specifies when external connection information is retrieved from the external connection file (section 2.2.8.2). This value MUST be ignored when the value for fAlwaysUseConnectionFile is 1 and MUST be ignored if idbtype is not DBTOLEDB (section 2.5.31); otherwise the value in this field MUST be one of the values in the following table.
Value Meaning 0x00000001 Retrieve external connection information as required. When external data has to be refreshed from the external connection, use the existing external connection information; otherwise if the external data refresh from the external connection fails then retrieve updated external connection information, if available, from the external connection file. 0x00000002 Retrieve external connection information. When external data has to be refreshed from the external connection, retrieve updated external connection information from the external connection file, if available, and use that instead of the existing external connection information. In this case the external data refresh will fail if the external connection file is unavailable. 0x00000003 Never retrieve external connection information. Never get updated external connection information from the external connection file even if it is available and even if the existing external connection information is invalid.
dwConnID (4 bytes): An unsigned integer that specifies the unique identifier of this external connection. This value MUST be greater than 0.
273 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
iCredMethod (1 byte): An unsigned integer that specifies the authentication method that is used
when establishing or reestablishing the external connection. This value MUST be 0 and MUST be
ignored if idbtype is not DBTOLEDB (section 2.5.31) or DBTODBC (section 2.5.31); otherwise
this value MUST be one of the values listed in the following table.
Value Meaning
0x00 Integrated authentication.
0x01 No credentials.
0x02 Use credentials that are stored as part of a single
sign-on (SSO) repository.
stDataFile (variable): An optional XLWideString (section 2.5.169) value that specifies the path to the file containing the data to import. The length of the string MUST be less than 256 characters. This field MUST exist if and only if fLoadSourceDataFile is 1.
stConnectionFile (variable): An optional XLWideString value that specifies the path to the external connection file (section 2.2.8.2) from which this external connection was created. As specified by fAlwaysUseConnectionFile and irecontype, the information in the external connection file can be used in place of information specified by this collection of records. The length of the string MUST be less than 256 characters. This field MUST exist if and only if fLoadSourceConnectionFile is 1.
stConnDesc (variable): An optional XLWideString value that specifies the description for this external connection. The length of the string MUST be less than 256 characters. This field MUST exist if and only if fLoadConnectionDesc is 1.
stConnName (variable): An XLWideString value that specifies the name of the external connection. The external connection name MUST be unique within a workbook. The length of the string MUST be greater than 0 and less than 256 characters.
stSso (variable): An optional XLWideString value that specifies the identifier for single sign-on (SSO) used for authentication between a multi-tier application and the external data. The length of the string MUST be less than 256 characters. This field MUST exist if and only if fLoadSSOApplicationID is 1.
2.4.81 BrtBeginExtConnections
The BrtBeginExtConnections record specifies the beginning of a collection of BrtBeginExtConnection (section 2.4.80) records as defined by the External Data Connections (section 2.1.7.24) part ABNF. The collection of records specifies external connections (section 2.2.8).
2.4.82 BrtBeginExternals
The BrtBeginExternals record specifies the beginning of a collection of records as defined by the Workbook (section 2.1.7.61) part ABNF. The collection of records specifies a collection of supporting links (section 2.2.7.2) and a collection of Xti (section 2.5.173) structures.
2.4.83 BrtBeginFills
The BrtBeginFills record specifies a count of BrtFill (section 2.4.681) records and specifies the beginning of a collection of BrtFill records as defined by the Styles (section 2.1.7.50) part ABNF. The collection of BrtFill records specifies cell fill pattern.
274 / 1118
[MS-XLSB] - v20251113
Excel (.xlsb) Binary File Format
Copyright © 2025 Microsoft Corporation
Release: November 13, 2025
0 1 2 3 4 5 6 7 8 9 1 1 2 3 4 5 6 7 8 2 3 0 9 0 1 2 3 4 5 6 7 8 9 0 1
cfills
cfills (4 bytes): An unsigned integer that specifies the number of BrtFill (section 2.4.681) records between BrtBeginFills record and the subsequent BrtEndFills (section 2.4.437) record. This value MUST be greater than or equal 1 and less than or equal to 0xFF97.
2.4.84 BrtBeginFilterColumn
The BrtBeginFilterColumn record specifies properties of an AutoFilter column (1) and specifies the beginning of a collection of records as defined by the Macro Sheet (section 2.1.7.32) part ABNF, the PivotTable (section 2.1.7.40) part ABNF, the Table (section 2.1.7.51) part ABNF, and the Worksheet (section 2.1.7.62) part ABNF. The collection of records specifies an AutoFilter column (1).
0 1 2 3 4 5 6 7 8 9 1 1 2 3 4 5 6 7 8 2 3 0 9 0 1 2 3 4 5 6 7 8 9 0 1
dwCol
A B reserved
dwCol (4 bytes): An UncheckedCol (section 2.5.153) that specifies a zero-based index to the column (1) in the AutoFilter range to which this filter information applies. This value MUST be greater than or equal to 0 and less than or equal to the number of columns (1) in the region described by the rfx value in the BrtBeginAFilter (section 2.4.8) record associated with this BrtBeginFilterColumn record.
A - fHideArrow (1 bit): A bit that specifies whether the AutoFilter button for this column (1) is hidden.
B - fNoBtn (1 bit): A bit that specifies whether the AutoFilter button for this column (1) will appear in the next column (1) after this one. This value MUST be one of the values listed in the following table:
Value Meaning
0 The AutoFilter button for this column (1) will not appear in the next column (1) after this one
The AutoFilter button for this column (1) will appear in the next column (1) after this one, replacing any
filter button in that cell. If the value in the fHideArrow field is equal to 1, the button will appear in the
1 next column (1) but the user will not be able to interact with it.
reserved (14 bits): This value MUST be 0, and MUST be ignored.
2.4.85 BrtBeginFilters
The BrtBeginFilters record specifies the beginning of a collection of records as defined by the Macro Sheet (section 2.1.7.32) part ABNF, the PivotTable (section 2.1.7.40) part ABNF, the Table (section 2.1.7.51) part ABNF, and the Worksheet (section 2.1.7.62) part ABNF. The collection of records specifies information about the filter.
275 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
0 1 2 3 4 5 6 7 8 9 1 1 2 3 4 5 6 7 8 2 3 0 9 0 1 2 3 4 5 6 7 8 9 0 1
fBlank
unused
fBlank (4 bytes): A Boolean (section 2.5.98.3) that specifies whether to display blank values.
unused (4 bytes): This value is undefined and MUST be ignored.
2.4.86 BrtBeginFmd
The BrtBeginFmd record specifies the beginning of a collection of records as defined by the Metadata (section 2.1.7.34) part ABNF. The collection of records specifies future records (section 2.1.6).
2.4.87 BrtBeginFmts
The BrtBeginFmts record specifies a count of BrtFmt (section 2.4.688) records and specifies the beginning of a collection of BrtFmt records as defined by the Styles (section 2.1.7.50) part ABNF. The collection of BrtFmt records specifies the properties of the number formats that indicate how to format and render the numeric value of the cells.
0 1 2 3 4 5 6 7 8 9 1 1 2 3 4 5 6 7 8 2 3 0 9 0 1 2 3 4 5 6 7 8 9 0 1
cfmts
cfmts (4 bytes): An unsigned integer that specifies the number of BrtFmt (section 2.4.688) records in this collection. The value in this field SHOULD be less than or equal to 0x000000CE.<12>
2.4.88 BrtBeginFnGroup
The BrtBeginFnGroup record specifies the number of built-in function categories and specifies the beginning of a collection of BrtFnGroup (section 2.4.689) records as defined by the Workbook (section 2.1.7.61) part ABNF. The collection of BrtFnGroup records specifies properties of a function category.
0 1 2 3 4 5 6 7 8 9 1 1 2 3 4 5 6 7 8 2 3 0 9 0 1 2 3 4 5 6 7 8 9 0 1
iMac
iMac (1 byte): An unsigned integer that specifies the number of built-in function categories in the current workbook. The value in this field plus the count of BrtFnGroup (section 2.4.689) records MUST be less than or equal to 255.
2.4.89 BrtBeginFonts
The BrtBeginFonts record specifies a count of BrtFont (section 2.4.690) records and specifies the beginning of a collection of BrtFont records as defined by the Styles (section 2.1.7.50) part ABNF. The collection of BrtFont records specifies the fonts for the workbook.
276 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
0 1 2 3 4 5 6 7 8 9 1 1 2 3 4 5 6 7 8 2 3 0 9 0 1 2 3 4 5 6 7 8 9 0 1
cfonts
cfonts (4 bytes): An unsigned integer that specifies the number of BrtFont (section 2.4.690) records in this collection. This value MUST be less than or equal to 0x0000FFD3.
2.4.90 BrtBeginHeaderFooter
The BrtBeginHeaderFooter record specifies the header and footer information for a sheet and specifies the beginning of an empty collection of records as defined by the Worksheet (section 2.1.7.62) part ABNF, the Chart Sheet (section 2.1.7.7) part ABNF, the Dialog Sheet (section 2.1.7.20) part ABNF, and the Macro Sheet (section 2.1.7.32) part ABNF.
0 1 2 3 4 5 6 7 8 9 1 1 2 3 4 5 6 7 8 2 3 0 9 0 1 2 3 4 5 6 7 8 9 0 1
A B C D reserved stHeader (variable)
...
stFooter (variable)
...
stHeaderEven (variable)
...
stFooterEven (variable)
...
stHeaderFirst (variable)
...
stFooterFirst (variable)
...
A - fHFDiffOddEven (1 bit): A bit that specifies that the header and footer used on even-numbered printed pages are different from those used on odd-numbered printed pages.
B - fHFDiffFirst (1 bit): A bit that specifies that the header and footer used on the first printed page are different from those used on subsequent pages.
C - fHFScaleWithDoc (1 bit): A bit that specifies that the headers and footers scale with the print scale.
D - fHFAlignMargins (1 bit): A bit that specifies that the headers and footers align with the page margins.
277 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
reserved (12 bits): This value MUST be 0 and MUST be ignored.
stHeader (variable): A HeaderFooterString (section 2.5.73) that specifies the contents of the
header. This header is used for odd-numbered pages except for the first page. If fHFDiffOddEven
is 0, this header also is used for even-numbered pages. If fHFDiffFirst is 0, this header also is
used for the first page.
stFooter (variable): A HeaderFooterString that specifies the contents of the footer. This footer is used for odd-numbered pages except for the first page. If fHFDiffOddEven is 0, this footer also used for even-numbered pages. If fHFDiffFirst is 0 this footer also is used for the first page.
stHeaderEven (variable): A HeaderFooterString that specifies the contents of the header for
even-numbered printed pages. This field MUST be ignored if fHFDiffOddEven is 0.
stFooterEven (variable): A HeaderFooterString that specifies the contents of the footer for even-
numbered printed pages. This field MUST be ignored if fHFDiffOddEven is 0.
stHeaderFirst (variable): A HeaderFooterString (section 2.5.73) that specifies the contents of
the header for the first printed page. This field MUST be ignored if fHFDiffFirst is 0.
stFooterFirst (variable): A HeaderFooterString that specifies the contents of the footer for the
first printed page. This field MUST be ignored if fHFDiffFirst is 0.
2.4.91 BrtBeginIconSet
The BrtBeginIconSet record specifies properties of a conditional formatting rule that uses
an icon set and specifies the beginning of a collection of BrtCFVO (section 2.4.334) records
as defined by the Worksheet (section 2.1.7.62) part ABNF and the Macro Sheet (section
2.1.7.32) part ABNF. The collection of BrtCFVO records specifies the set of values that specify
the thresholds used by the conditional formatting rule to determine which icons to display in
the applied range. Each BrtCFVO record following this record specifies the minimum value
associated with the corresponding icon from the icon set. The first BrtCFVO record following
this record MUST be ignored.
0 1 2 3 4 5 6 7 8 9 1 1 2 3 4 5 6 7 8 2 3
0 9 0 1 2 3 4 5 6 7 8 9 0 1
iSet
A B C D E F G reserved2
iSet (4 bytes): A KPISets (section 2.5.86) integer that specifies the icon set used in the collection
of BrtCFVO (section 2.4.334) records.
A - reserved1 (1 bit): This value MUST be 0, and MUST be ignored.
B - fIcon (1 bit): A bit that specifies whether the cells in the applied range display the icon and cell
value, or the icon only.
Value Meaning
0 The icon and cell value are shown in the cell.
1 Only the icon is shown in the cell.
C - fReverse (1 bit): A bit that specifies whether the icons in the icon set specified in iSet are
shown in reverse order.
278 / 1118
[MS-XLSB] - v20251113
Excel (.xlsb) Binary File Format
Copyright © 2025 Microsoft Corporation
Release: November 13, 2025
Value Meaning 0 The icons specified in iSet are shown in reverse order. 1 The icons specified in iSet are shown in the order defined by the icon set.
D - unused1 (1 bit): This value is undefined and MUST be ignored.
E - unused2 (1 bit): This value is undefined and MUST be ignored.
F - unused3 (1 bit): This value is undefined and MUST be ignored.
G - unused4 (1 bit): This value is undefined and MUST be ignored.
reserved2 (9 bits): This value MUST be 0, and MUST be ignored.
2.4.92 BrtBeginIconSet14
The BrtBeginIconSet14 record specifies properties of a conditional formatting rule that uses an icon set and specifies the beginning of a collection of records as defined by the Worksheet (section 2.1.7.62) part ABNF. The collection of BrtCFVO14 (section 2.4.335) records specifies the set of values that specify the thresholds used by the conditional formatting rule to determine which icons to display in the applied range. The collection of BrtCFIcon (section 2.4.332) records specifies a custom set of icons if the fCustom value is 1. The first BrtCFVO14 record following this record MUST be ignored.
0 1 2 3 4 5 6 7 8 9 1 1 2 3 4 5 6 7 8 2 3 0 9 0 1 2 3 4 5 6 7 8 9 0 1
FRTHeader
iSet
A B C D E F G reserved
FRTHeader (4 bytes): An FRTBlank (section 2.5.55) value that specifies the future record (section 2.1.6) information for this record.
iSet (4 bytes): A KPISets14 (section 2.5.87) value that specifies the icon set used in the collection of BrtCFVO14 (section 2.4.335) records.
A - fCustom (1 bit): A bit that specifies whether a custom set of icons is used. If the value equals 1, then there MUST be the same number of BrtCFIcon (section 2.4.332) records as BrtCFVO14 records and the icons specified by the BrtCFIcon records are used rather than those specified by the iSet field. If the value equals 0, then there MUST be 0 BrtCFIcon records.
Value Meaning
0 No custom set of icons is used.
1 A custom set of icons is used.
B - fIcon (1 bit): A bit that specifies whether the cells in the applied range display the icon and cell value, or the icon only.
Value Meaning
0 The icon and cell value are shown in the cell.
1 Only the icon is shown in the cell.
279 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
C - fReverse (1 bit): A bit that specifies whether the icons in the icon set specified in iSet are shown in reverse order. If fCustom equals one, this value MUST be ignored.
Value Meaning 0 The icons specified in iSet are shown in reverse order. 1 The icons specified in iSet are shown in the order defined by the icon set.
D - unused1 (1 bit): This value is undefined, and MUST be ignored.
E - unused2 (1 bit): This value is undefined, and MUST be ignored.
F - unused3 (1 bit): This value is undefined, and MUST be ignored.
G - unused4 (1 bit): This value is undefined, and MUST be ignored.
reserved (9 bits): This value MUST be 0, and MUST be ignored.
2.4.93 BrtBeginIndexedColors
The BrtBeginIndexedColors record specifies the beginning of a collection of BrtIndexedColor (section 2.4.697) records as defined by the Styles (section 2.1.7.50) part ABNF. The collection of BrtIndexedColor records specifies indexed colors. The number of BrtIndexedColor records MUST be less than or equal to 64.
2.4.94 BrtBeginISXTHCols
The BrtBeginISXTHCols record specifies a collection of references to pivot hierarchies (section 2.2.5.3.4) and any data fields (section 2.2.5.3.7.5.2) that appear on the column (1) axis of a PivotTable view (section 2.2.5.3), and specifies the beginning of an empty collection of records as defined by the PivotTable (section 2.1.7.40) part ABNF. If this record is present, the PivotTable view MUST be an OLAP PivotTable view.
0 1 2 3 4 5 6 7 8 9 1 1 2 3 4 5 6 7 8 2 3 0 9 0 1 2 3 4 5 6 7 8 9 0 1
cisxth
rgisxth (variable)
...
cisxth (4 bytes): An unsigned integer that specifies the count of items in the rgisxth array.
rgisxth (variable): An array of ISXTH (section 2.5.83) structures that specifies the collection of references to pivot hierarchies (section 2.2.5.3.4) and any data field (section 2.2.5.3.7.5.2) that appear on the column (1) axis of a PivotTable view (section 2.2.5.3). The count of items in this array MUST be equal to cisxth.
Each item MUST NOT equal -1. Each item MUST have a unique value. This array MUST specify pivot hierarchies and any data field reference in the same order as the pivot hierarchies associated with the pivot fields (section 2.2.5.3.2), omitting duplicates, and any data field reference specified by the BrtBeginISXVDCols (section 2.4.96) record.
280 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
2.4.95 BrtBeginISXTHRws
The BrtBeginISXTHRws record specifies a collection of references to pivot hierarchies (section 2.2.5.3.4) and any data field (section 2.2.5.3.7.5.2) that appear on the row axis of a PivotTable view (section 2.2.5.3), and specifies the beginning of an empty collection of records as defined by the PivotTable (section 2.1.7.40) part ABNF. If this record is present, the PivotTable view MUST be an OLAP PivotTable view.
0 1 2 3 4 5 6 7 8 9 1 1 2 3 4 5 6 7 8 2 3 0 9 0 1 2 3 4 5 6 7 8 9 0 1
cisxth
rgisxth (variable)
...
cisxth (4 bytes): An unsigned integer that specifies the count of items in the rgisxth array.
rgisxth (variable): An array of ISXTH (section 2.5.83) structures that specifies the collection of references to pivot hierarchies (section 2.2.5.3.4) and any data field (section 2.2.5.3.7.5.2) that appear on the row axis of a PivotTable view (section 2.2.5.3). The count of items in this array MUST be equal to the value in the cisxth field.
Each item MUST NOT equal -1. Each item MUST have a unique value. This array MUST specify pivot hierarchies and any data field reference in the same order as the pivot hierarchies associated with the pivot fields (section 2.2.5.3.2), omitting duplicates, and any data field reference specified by the BrtBeginISXVDRws (section 2.4.97) record.
2.4.96 BrtBeginISXVDCols
The BrtBeginISXVDCols record specifies the pivot fields (section 2.2.5.3.2) that appear on the column (1) axis of this PivotTable view (section 2.2.5.3), and specifies the beginning of an empty collection of records as defined by the PivotTable (section 2.1.7.40) part ABNF.
0 1 2 3 4 5 6 7 8 9 1 1 2 3 4 5 6 7 8 2 3 0 9 0 1 2 3 4 5 6 7 8 9 0 1
cisxvd
rgisxvdcols (variable)
...
cisxvd (4 bytes): An unsigned integer that specifies the count of pivot fields (section 2.2.5.3.2), and any instance of the data field (section 2.2.5.3.7.5.2), that appear on the column (1) axis of this PivotTable view (section 2.2.5.3).
rgisxvdcols (variable): An array of ISXVD (section 2.5.84) structures that specifies the pivot fields (section 2.2.5.3.2) that appear on the column (1) axis of this PivotTable view and whether the data field (section 2.2.5.3.7.5.2) appears on the column (1) axis. Pivot fields will appear on the column (1) axis in the order they are specified in this array.
Each item MUST NOT be equal to -1. The count of items in this array MUST be equal to the value in the cisxvd field. Each item in this array MUST have a unique value.
281 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
If an item in this array has a value equal to -2, the value in the sxaxis4Data field of the BrtBeginSXView (section 2.4.278) record of this PivotTable view MUST be equal to 0x02.
Any BrtBeginSXVD (section 2.4.273) record of a pivot field specified by an item in this array MUST have its sxaxisCol attribute equal to 1.
2.4.97 BrtBeginISXVDRws
The BrtBeginISXVDRws record specifies the pivot fields (section 2.2.5.3.2) that appear on the row axis of this PivotTable view (section 2.2.5.3), and specifies the beginning of an empty collection of records as defined by the PivotTable (section 2.1.7.40) part ABNF.
0 1 2 3 4 5 6 7 8 9 1 1 2 3 4 5 6 7 8 2 3 0 9 0 1 2 3 4 5 6 7 8 9 0 1
cisxvd
rgisxvdrws (variable)
...
cisxvd (4 bytes): An unsigned integer that specifies the count of pivot fields, and any instance of the data field (section 2.2.5.3.7.5.2), that appear on the row axis of this PivotTable view.
rgisxvdrws (variable): An array of ISXVD (section 2.5.84) structures that specifies the pivot fields that appear on the row axis of this PivotTable view and whether the data field appears on the row axis. Pivot fields will appear on the row axis in the order they are specified in this array.
Each item MUST NOT be equal to -1. The count of items in this array MUST be equal to the value in the cisxvd field. Each item in this array MUST have a unique value.
If an item in this array has a value equal to -2, the sxaxis4Data field of the BrtBeginSXView (section 2.4.278) record of this PivotTable view MUST be equal to 0x01.
Any BrtBeginSXVD (section 2.4.273) record of a pivot field specified by an item in this array MUST have its sxaxisRw attribute equal to 1.
2.4.98 BrtBeginISXVIs
The BrtBeginISXVIs record specifies the pivot line entries (section 2.2.5.3.8.4) that occur on a pivot line (section 2.2.5.3.8.3) and specifies the beginning of an empty collection of records as defined in the PivotTable (section 2.1.7.40) part ABNF.
0 1 2 3 4 5 6 7 8 9 1 1 2 3 4 5 6 7 8 2 3 0 9 0 1 2 3 4 5 6 7 8 9 0 1
rgisxvis (variable)
...
rgisxvis (variable): An array of 4-byte unsigned integers, each of which specifies a pivot line entry (section 2.2.5.3.8.4). The number of elements in this array MUST be equal to the value in the cisxvis field of the BrtBeginSXLI (section 2.4.252) record that begins this collection. If the value in the itmtype field in the BrtBeginSXLI record that begins this collection is PITGRAND (section 2.5.105), then any pivot line entries specified by this field MUST be ignored.
282 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
2.4.99 BrtBeginItemUniqueNames
The BrtBeginItemUniqueNames record specifies the MDX unique names for cache items (section 2.2.5.2.3) in this cache field (section 2.2.5.2.2) and specifies the beginning of a collection of records as defined by the PivotCache Definition (section 2.1.7.38) part ABNF.
MUST NOT exist if fSandbox of BrtBeginExtConn15 (section 2.4.79) of the external connection (section 2.2.8) associated with this pivot cache (section 2.2.5.2) is not equal to 1.
2.4.100 BrtBeginList
The BrtBeginList record specifies the properties of a table and specifies the beginning of a collection of records as defined by the Table (section 2.1.7.51) part ABNF and the Single Cell Tables (section 2.1.7.46) part ABNF. The collection of records specifies a table.
0 1 2 3 4 5 6 7 8 9 1 1 2 3 4 5 6 7 8 2 3 0 9 0 1 2 3 4 5 6 7 8 9 0 1
rfxList (16 bytes)
...
...
lt
idList
crwHeader
crwTotals
A B C D E reserved
nDxfHeader
nDxfData
nDxfAgg
nDxfBorder
nDxfHeaderBorder
nDxfAggBorder
dwConnID
stName (variable)
...
283 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
stDisplayName (variable)
...
stComment (variable)
...
stStyleHeader (variable)
...
stStyleData (variable)
...
stStyleAgg (variable)
...
rfxList (16 bytes): An RfX (section 2.5.118) that specifies the range of cells the table occupies. The range specified by the RfX value MUST NOT overlap with another table or AutoFilter on the same sheet. The RfX height MUST be greater than the sum of the values of the crwHeader and crwTotals fields. If fSingleCell is 1, rfxList MUST occupy exactly 1 cell.
lt (4 bytes): A ListType (section 2.5.89) that specifies the table type.
idList (4 bytes): An unsigned integer that specifies the numeric identifier of the table. This value MUST be unique within the containing workbook, MUST be greater than or equal to 1 and MUST be less than or equal to 4294967294 (0xFFFFFFFE).
crwHeader (4 bytes): A Boolean (section 2.5.98.3) that specifies whether the table header row is displayed at the top of the table. The possible values for this field are listed in the following table.
Value Meaning 0x00000000 Table header row is hidden. 0x00000001 Table header row is displayed.
crwTotals (4 bytes): A Boolean (section 2.5.98.3) that specifies whether the table total row is displayed at the bottom of the table. The possible values for this field are listed in the following table.
Value Meaning 0x00000000 Total row is hidden. 0x00000001 Total row is displayed.
284 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
A - fShownTotalRow (1 bit): A bit that specifies whether the table total row has ever been displayed for this table.
B - fSingleCell (1 bit): A bit that specifies whether the table is a single cell table. If this value equals 1, then lt MUST be equal to LTXML (section 2.5.89).
C - fForceInsertToBeVisible (1 bit): A bit that specifies whether the table insert row is displayed.
D - fInsertRowInsCells (1 bit): A bit that specifies whether cells in the sheet were automatically inserted when the table insert row was displayed for this table.
E - fPublished (1 bit): A bit that specifies the publish to server state of this table.
reserved (27 bits): This value MUST be 0 and MUST be ignored.
nDxfHeader (4 bytes): A DXFId (section 2.5.38) that specifies the differential formatting (section 2.2.6.2) applied to the table header row of this table. If fSingleCell is 1, the value MUST be 0xFFFFFFFF.
nDxfData (4 bytes): A DXFId that specifies the differential formatting applied to the table data region of this table. If fSingleCell is 1, the value MUST be 0xFFFFFFFF.
nDxfAgg (4 bytes): A DXFId that specifies the differential formatting applied to the table total row of this table. If fSingleCell is 1, the value MUST be 0xFFFFFFFF.
nDxfBorder (4 bytes): A DXFId that specifies the differential formatting applied to the borders of the table data region of this table. If fSingleCell is 1, the value MUST be 0xFFFFFFFF.
nDxfHeaderBorder (4 bytes): A DXFId that specifies the differential formatting applied to the borders of the table header row of this table. If fSingleCell is 1, the value MUST be 0xFFFFFFFF.
nDxfAggBorder (4 bytes): A DXFId (section 2.5.38) that specifies the differential formatting (section 2.2.6.2) applied to the borders of the table total row of this table. If fSingleCell is 1, the value MUST be 0xFFFFFFFF.
dwConnID (4 bytes): An unsigned integer that specifies the identifier of an external connection (section 2.2.8) used by this table. The value in dwConnID MUST be 0 when the value of lt is not LTXML. The value MUST be 0 or be equal to the dwConnID value in one of the BrtBeginExtConnection (section 2.4.80) records in the BrtBeginExtConnections (section 2.4.81) collection.
stName (variable): An XLNullableWideString (section 2.5.167) that specifies the string identifier of the table used for programmatic purposes. The string MUST be NULL or unique per Table (section 2.1.7.51) per sheet, MUST have less than or equal to 255 characters, and MUST be NULL if fSingleCell is 1. If this field is NULL, the string identifier used for programmatic purposes is specified by stDisplayName.
stDisplayName (variable): An XLNullableWideString that specifies the string identifier of the table for use within the displayed string for formulas (section 2.2.2). The value of stDisplayName MUST have a maximum length and format specified by XLNameWideString (section 2.5.166), MUST be unique per workbook, and MUST NOT have the prefix "_xl". If fSingleCell is 1, the string MUST be NULL.
stComment (variable): An XLNullableWideString that specifies a comment about the table. The string MUST contain less than or equal to 255 characters. If fSingleCell is 1, the string MUST be NULL.
stStyleHeader (variable): A CellStyleName (section 2.5.11) that specifies the name of the cell style (section 2.2.6.1.2) that is applied to the table header row of the table. If fSingleCell is 1, the value MUST be a NULL string.
285 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
stStyleData (variable): A CellStyleName that specifies the name of the cell style that is applied to the table data region of the table. If fSingleCell is 1, the value MUST be a NULL string.
stStyleAgg (variable): A CellStyleName that specifies the name of the cell style that is applied to the table total row of the table. If fSingleCell is 1, the value MUST be a NULL string.
2.4.101 BrtBeginListCol
The BrtBeginListCol record specifies properties of a column (1) in a table and specifies the beginning of a collection of records, as defined by the Table (section 2.1.7.51) part ABNF and the Single Cell Tables (section 2.1.7.46) part ABNF. The collection of records specifies a table column (1).
0 1 2 3 4 5 6 7 8 9 1 1 2 3 4 5 6 7 8 2 3 0 9 0 1 2 3 4 5 6 7 8 9 0 1
idField
ilta
nDxfHdr
nDxfInsertRow
nDxfAgg
idqsif
stName (variable)
...
stCaption (variable)
...
stTotal (variable)
...
stStyleHeader (variable)
...
stStyleInsertRow (variable)
...
stStyleAgg (variable)
...
286 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
idField (4 bytes): An unsigned integer that specifies the numeric identifier of the table column (1). The value MUST be unique for all BrtBeginListCol records following the preceding BrtBeginList (section 2.4.100) record. The value MUST be greater than or equal to 1.
ilta (4 bytes): A ListTotalRowFunction (section 2.5.88) that specifies the table total row aggregation function for this table column (1). If the crwTotals field in the BrtBeginList (section 2.4.100) record is equal to 1, then the formula (section 2.2.2) specified by the value of ilta MUST be equal to the formula of the cell intersected by the table total row and this table column (1).
nDxfHdr (4 bytes): A DXFId (section 2.5.38) that specifies the differential formatting (section 2.2.6.2) applied to the table header of this table column (1). If the fSingleCell field or crwHeader field of the preceding BrtBeginList record is equal to 1, the value MUST be 0xFFFFFFFF.
nDxfInsertRow (4 bytes): A DXFId that specifies the differential formatting (section 2.2.6.2) applied to the table insert row of this table column (1). If the fSingleCell field of the preceding BrtBeginList record is equal to 1, the value MUST be 0xFFFFFFFF.
nDxfAgg (4 bytes): A DXFId that specifies the differential formatting applied to the table total row of this table column (1). If the fSingleCell field of the preceding BrtBeginList record is equal to 1, the value MUST be 0xFFFFFFFF.
idqsif (4 bytes): A QsiFieldId (section 2.5.112) that specifies the numeric identifier of the query table column (1) that corresponds to this column (1). The value MUST be 0 or unique for all BrtBeginListCol records following the preceding BrtBeginList record. If the lt field of the preceding BrtBeginList record is equal to LTEXTDATA, the value MUST be greater than or equal to 1; otherwise, the value MUST be 0.
stName (variable): An XLNullableWideString (section 2.5.167) that specifies a textual identifier of this table column (1). The string in this field MUST be NULL or unique for all BrtBeginListCol records following the preceding BrtBeginList (section 2.4.100) record. If the fSingleCell field of the preceding BrtBeginList record is equal to 1 or the lt field of the preceding BrtBeginList record is equal to LTRANGE, the string MUST be NULL; otherwise, the string length MUST be greater than or equal to 1 and less than or equal to 255.
stCaption (variable): An XLNullableWideString that specifies the caption of this table column (1) to be displayed in the sheet. The string MUST be NULL or unique for all BrtBeginListCol records following the preceding BrtBeginList (section 2.4.100) record. If the fSingleCell field of the preceding BrtBeginList record is equal to 1, the string MUST be NULL; otherwise, the string length MUST be greater than or equal to 1 and less than or equal to 255. If the crwHeader field of the preceding BrtBeginList record is equal to 1, then the string MUST be equal to the string of the cell intersected by the table header row and this table column (1).
stTotal (variable): An XLNullableWideString that specifies the text to be displayed in the table total row of this table column (1). The string length MUST be less than or equal to 8189. The string MUST be NULL if ilta is equal to ILTA_CUSTOM. If the crwTotals field of the preceding BrtBeginList record is equal to 1, then the string MUST be equal to the string of the cell intersected by the table total row and this table column (1).
stStyleHeader (variable): A CellStyleName (section 2.5.11) that specifies the name of the cell style (section 2.2.6.1.2) that is applied to the table header row of this table column (1). If the fSingleCell field or crwHeader field of the preceding BrtBeginList record is equal to 1, the string MUST be NULL.
stStyleInsertRow (variable): A CellStyleName that specifies the name of the cell style that is applied to the table insert row of this table column (1). If the fSingleCell field of the preceding BrtBeginList record is equal to 1, the string MUST be NULL.
287 / 1118
[MS-XLSB] - v20251113
Excel (.xlsb) Binary File Format
Copyright © 2025 Microsoft Corporation
Release: November 13, 2025
stStyleAgg (variable): A CellStyleName that specifies the name of the cell style (section 2.2.6.1.2) that is applied to the total row of this table column (1)<13>. If the fSingleCell field of the preceding BrtBeginList record is equal to 1, the string MUST be NULL.
2.4.102 BrtBeginListCols
The BrtBeginListCols record specifies a count of table columns (1) and specifies the beginning of a collection of records, as defined by the Table (section 2.1.7.51) part ABNF and the Single Cell Tables (section 2.1.7.46) part ABNF. The collection of records specifies the set of table columns (1) for a single table.
0 1 2 3 4 5 6 7 8 9 1 1 2 3 4 5 6 7 8 2 3 0 9 0 1 2 3 4 5 6 7 8 9 0 1
nCols
nCols (4 bytes): A DCol that specifies the count of items in the collection of table columns (1).
2.4.103 BrtBeginListParts
The BrtBeginListParts record specifies the beginning of a collection of BrtListPart (section 2.4.707) records as defined by the Worksheet (section 2.1.7.62) part ABNF. The collection of BrtListPart records specifies tables defined in the workbook.
0 1 2 3 4 5 6 7 8 9 1 1 2 3 4 5 6 7 8 2 3 0 9 0 1 2 3 4 5 6 7 8 9 0 1
cParts
cParts (4 bytes): An unsigned integer that specifies the number of BrtListPart records in this collection.
2.4.104 BrtBeginListXmlCPr
The BrtBeginListXmlCPr record specifies properties of a table column's (1) XML map and specifies the beginning of an empty collection of records as defined by the Table (section 2.1.7.51) part ABNF and the Single Cell Tables (section 2.1.7.46) part ABNF.
0 1 2 3 4 5 6 7 8 9 1 1 2 3 4 5 6 7 8 2 3 0 9 0 1 2 3 4 5 6 7 8 9 0 1
dwMapId
A B reserved
lfxidtDisk
xpath (variable)
...
dwMapId (4 bytes): An unsigned integer that specifies the XML map associated with this table column (1). The value MUST be equal to the value of the ID attribute of a Map element contained within the Custom XML Maps (section 2.1.7.15) part.
288 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
A - unused (1 bit): This value is undefined and MUST be ignored.
B - fCanBeSingle (1 bit): A bit that specifies whether xpath resolves to a single XML node or a
collection of XML nodes. When the fCanBeSingle record is contained in a Table (section
2.1.7.51) part, this value MUST be a value from the following table.
Value Meaning
0 Specifies that xpath resolves to a collection of XML
nodes.
1 Specifies that xpath resolves to a single XML node.
When this record is contained in a Single Cell Tables (section 2.1.7.46) part, the value MUST be 1.
reserved (30 bits): The value in this field MUST be 0 and MUST be ignored.
lfxidtDisk (4 bytes): An XmlDataType (section 2.5.170) that specifies the data type of the XML
nodes obtained by applying the XPath (specified by the value of xpath) to the XML map
(specified by the value of dwMapId).
xpath (variable): An XmlMappedXpath (section 2.5.171) that specifies the XPath of this XML map.
2.4.105 BrtBeginMap
The BrtBeginMap record specifies the mapping between BrtBeginDim (section 2.4.52) and
BrtBeginMG (section 2.4.113) records and specifies the beginning of an empty collection of records
as defined by the PivotCache Definition (section 2.1.7.38) part ABNF.
0 1 2 3 4 5 6 7 8 9 1 1 2 3 4 5 6 7 8 2 3
0 9 0 1 2 3 4 5 6 7 8 9 0 1
img
isxdh
img (4 bytes): An unsigned integer that specifies the zero-based index of a BrtBeginMG (section
2.4.113) record that directly follows the BrtBeginMgs (section 2.4.115) record in this part. The
referenced BrtBeginMG (section 2.4.113) record specifies measure group.
isxdh (4 bytes): An unsigned integer that specifies the zero-based index of a BrtBeginDim (section
2.4.52) that directly follows the BrtBeginDims (section 2.4.53) record in this part. The
referenced BrtBeginDim record specifies OLAP dimension.
2.4.106 BrtBeginMdx
The BrtBeginMdx record specifies properties of MDX metadata (section 2.2.4.8) and specifies the
beginning of a collection of records as defined by the Metadata (section 2.1.7.34) part ABNF. The
collection of records specifies additional properties for MDX metadata.
0 1 2 3 4 5 6 7 8 9 1 1 2 3 4 5 6 7 8 2 3
0 9 0 1 2 3 4 5 6 7 8 9 0 1
istrConnName
tfnSrc
istrConnName (4 bytes): An Istr (section 2.5.81) that specifies the connection name.
289 / 1118
[MS-XLSB] - v20251113
Excel (.xlsb) Binary File Format
Copyright © 2025 Microsoft Corporation
Release: November 13, 2025
tfnSrc (4 bytes): A TagFnMdx (section 2.5.149) that specifies the type of cube function that generated the metadata.
2.4.107 BrtBeginMdxKPI
The BrtBeginMdxKPI record specifies the properties of MDX KPI metadata (section 2.2.4.8.4) and specifies the beginning of an empty collection of records as defined by the Metadata (section 2.1.7.34) part ABNF. The preceding BrtBeginMdx (section 2.4.106) record MUST have the value of tfnSrc equal to TFNCUBEKPIPROPERTY, as specified by TagFnMdx (section 2.5.149).
0 1 2 3 4 5 6 7 8 9 1 1 2 3 4 5 6 7 8 2 3 0 9 0 1 2 3 4 5 6 7 8 9 0 1
istrKPIName
kpiprop
istrMbrKPI
istrKPIName (4 bytes): An Istr (section 2.5.81) that specifies the KPI name.
kpiprop (4 bytes): A KPIProp (section 2.5.85) that specifies the KPI type<14>.
istrMbrKPI (4 bytes): An Istr that specifies the MDX unique name of a KPI member.
2.4.108 BrtBeginMdxMbrProp
The BrtBeginMdxMbrProp record specifies the properties of an OLAP member and specifies the beginning of an empty collection of records as defined by the Metadata (section 2.1.7.34) part ABNF. The preceding BrtBeginMdx (section 2.4.106) record MUST have tfnSrc equal to TFNCUBEMEMBERPROPERTY, as specified by TagFnMdx (section 2.5.149).
0 1 2 3 4 5 6 7 8 9 1 1 2 3 4 5 6 7 8 2 3 0 9 0 1 2 3 4 5 6 7 8 9 0 1
istrMbr
istrProp
istrMbr (4 bytes): An Istr (section 2.5.81) that specifies the MDX unique name of the OLAP member.
istrProp (4 bytes): An Istr that specifies the MDX unique name of the OLAP member property.
2.4.109 BrtBeginMdxSet
The BrtBeginMdxSet record specifies properties of MDX set metadata (section 2.2.4.8.2) and specifies the beginning of a collection of BrtMdxMbrIstr (section 2.4.712) records as defined by the Metadata (section 2.1.7.34) part ABNF. The collection of BrtMdxMbrIstr records specifies MDX unique names and their properties. The preceding BrtBeginMdx (section 2.4.106) record MUST have tfnSrc equal to TFNCUBESET or TFNCUBESETCOUNT, as specified by TagFnMdx (section 2.5.149).
290 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
0 1 2 3 4 5 6 7 8 9 1 1 2 3 4 5 6 7 8 2 3 0 9 0 1 2 3 4 5 6 7 8 9 0 1
istrSetDef
sso
cMbrsSortBy
istrSetDef (4 bytes): An Istr (section 2.5.81) that specifies the set definition.
sso (4 bytes): An SdSetSortOrder (section 2.5.132) that specifies the sorting order of the set. If this field is equal to SSOASC or SSODESC, the sort order (1) is specified by the collection of BrtMdxMbrIstr (section 2.4.712) records that immediately follow this record.
cMbrsSortBy (4 bytes): A signed integer that specifies the number of coordinates in the OLAP cube that the set is sorted on. This number MUST be greater than or equal to 0.
2.4.110 BrtBeginMdxTuple
The BrtBeginMdxTuple record specifies formatting properties for MDX tuple metadata (section 2.2.4.8.1) and specifies the beginning of a collection of BrtMdxMbrIstr (section 2.4.712) records as defined by the Metadata (section 2.1.7.34) part ABNF. The collection of BrtMdxMbrIstr records specifies MDX unique names and their properties. The preceding BrtBeginMdx (section 2.4.106) record MUST have tfnSrc equal to TFNCUBEMEMBER, TFNCUBEVALUE, or TFNCUBERANKEDMEMBER, as specified by TagFnMdx (section 2.5.149).
0 1 2 3 4 5 6 7 8 9 1 1 2 3 4 5 6 7 8 2 3 0 9 0 1 2 3 4 5 6 7 8 9 0 1
cMbrs
dwSrvFmtBack
dwSrvFmtFore
sff sfnum (variable)
...
cMbrs (4 bytes): A signed integer that specifies the number of member expressions in the tuple. It MUST be greater than or equal to 0.
dwSrvFmtBack (4 bytes): A SrvFmtCV (section 2.5.139) that specifies the background color. When sff.fSrvFmtBack equals 1, the background color is applied.
dwSrvFmtFore (4 bytes): A SrvFmtCV that specifies the foreground color. When sff.fSrvFmtFore equals 1, the foreground color is applied.
sff (2 bytes): A SrvFmtFlags (section 2.5.141) that specifies the properties of applied server- specified formatting.
sfnum (variable): A SrvFmtNum (section 2.5.142) that specifies the number or currency formatting. This field is optional and MUST exist if and only if sff.fSrvFmtNum is set to 1.
291 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
2.4.111 BrtBeginMergeCells
The BrtBeginMergeCells record specifies the beginning of a collection of BrtMergeCell (section 2.4.713) records as defined in the Worksheet (section 2.1.7.62) part ABNF. The collection of BrtMergeCell records specifies the merged cells for the sheet.
0 1 2 3 4 5 6 7 8 9 1 1 2 3 4 5 6 7 8 2 3 0 9 0 1 2 3 4 5 6 7 8 9 0 1
cmcs
cmcs (4 bytes): An unsigned integer that specifies the number of merged cells.
2.4.112 BrtBeginMetadata
The BrtBeginMetadata record specifies the beginning of a collection of records as defined by the Metadata (section 2.1.7.34) part ABNF. The collection of records specifies the metadata (section 2.2.4) associated with the book.
2.4.113 BrtBeginMG
The BrtBeginMG record specifies a measure group for a pivot cache (section 2.2.5.2) and specifies the beginning of an empty collection of records as defined by the PivotCache Definition (section 2.1.7.38) part ABNF.
0 1 2 3 4 5 6 7 8 9 1 1 2 3 4 5 6 7 8 2 3 0 9 0 1 2 3 4 5 6 7 8 9 0 1
reserved name (variable)
...
caption (variable)
...
reserved (1 byte): This value MUST be 0 and MUST be ignored.
name (variable): An XLWideString (section 2.5.169) value that specifies the name of the measure group. The length of this string MUST be between 1 and 65,535.
caption (variable): An XLWideString value that specifies the display name of the measure group. The length of this string MUST be between 1 and 65,535.
2.4.114 BrtBeginMGMaps
The BrtBeginMGMaps record specifies the beginning of a collection of records as defined by the PivotCache Definition (section 2.1.7.38) part ABNF. The collection of records specifies the mappings between OLAP dimensions and the OLAP measure groups that each OLAP dimension is related to.
292 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
0 1 2 3 4 5 6 7 8 9 1 1 2 3 4 5 6 7 8 2 3 0 9 0 1 2 3 4 5 6 7 8 9 0 1
cmaps
cmaps (4 bytes): An unsigned integer that specifies the number of mappings between OLAP dimensions and the OLAP measure groups. This value MUST be equal to number of BrtBeginMap (section 2.4.105) elements following this record.
2.4.115 BrtBeginMgs
The BrtBeginMgs record specifies the beginning of a collection of records as defined by the PivotCache Definition (section 2.1.7.38) part ABNF. The collection of records specifies PivotTable (section 2.2.5) OLAP measure groups.
0 1 2 3 4 5 6 7 8 9 1 1 2 3 4 5 6 7 8 2 3 0 9 0 1 2 3 4 5 6 7 8 9 0 1
cmgs
cmgs (4 bytes): An unsigned integer that specifies the number of measure groups in the PivotTable (section 2.2.5) OLAP measure group collection. MUST be equal to the number of BrtBeginMG (section 2.4.113) records following this record.
2.4.116 brtBeginModelRelationships
The BrtBeginModelRelationships record specifies the beginning of a collection of records as defined by the Workbook (section 2.1.7.61) part ABNF. The collection of records specifies relationships in a spreadsheet data model.
2.4.117 BrtBeginModelTables
The BrtBeginModelTables record specifies the beginning of a collection of records as defined by the Workbook (section 2.1.7.61) part ABNF. The collection of records specifies properties of tables in spreadsheet data model.
2.4.118 brtBeginModelTimeGrouping
The brtBeginModelTimeGrouping record specifies properties of a single time grouping in the spreadsheet data model.
0 1 2 3 4 5 6 7 8 9 1 1 2 3 4 5 6 7 8 2 3 0 9 0 1 2 3 4 5 6 7 8 9 0 1
FRTHeader
irstTableName (variable)
...
irstColumnName (variable)
293 / 1118
[MS-XLSB] - v20251113 Excel (.xlsb) Binary File Format Copyright © 2025 Microsoft Corporation Release: November 13, 2025
...
irstColumnId (variable)