<cellXfs> (Cell Formats)

This element contains the master formatting records (<xf>) which define the formatting applied to cells in this workbook. These records are the starting point for determining the formatting for a cell. Cells in the Sheet Part reference the <xf> records by zero-based index.

A cell can have both direct formatting (e.g., bold) and a cell style (e.g., Explanatory) applied to it. Therefore, both the cell style <xf> records and cell <xf> records must be read to understand the full set of formatting applied to a cell.

Parent Elements


Child Elements


<xf> (Format)




<count> (Format Count)

Count of <xf> elements.

The possible values for this attribute are defined by the XML Schema unsignedInt datatype.

The following XML Schema fragment defines the contents of this element:

<complexType name="CT_CellXfs">
	<element name="xf" type="CT_Xf" minOccurs="1" maxOccurs="unbounded"/>
	<attribute name="count" type="xsd:unsignedInt" use="optional"/>