[Table of Contents] [docx version]
SpreadsheetML Reference Material - Table of Contents
customFilter (Custom Filter Criteria)
A custom AutoFilter specifies an operator and a value. There can be at most two customFilters specified, and in that case the parent element specifies whether the two conditions are joined by 'and' or 'or'. For any cells whose values do not meet the specified criteria, the corresponding rows shall be hidden from view when the fitler is applied.
[Example:
<customFilters and="1">
<customFilter operator="greaterThanOrEqual" val="0.2"/>
<customFilter operator="lessThanOrEqual" val="0.5"/>
</customFilters>
end example]
Parent Elements |
customFilters (§3.3.2.3) |
Attributes |
Description |
operator (Filter Comparison Operator) |
Operator used by the filter comparison.
The possible values for this attribute are defined by the ST_FilterOperator simple type (§3.18.32). |
val (Top or Bottom Value) |
Top or bottom value used in the filter criteria.
The possible values for this attribute are defined by the ST_Xstring simple type (§3.18.96). |
The following XML Schema fragment defines the contents of this element:
<complexType name="CT_CustomFilter">
<attribute name="operator" type="ST_FilterOperator" default="equal" use="optional"/>
<attribute name="val" type="ST_Xstring"/>
</complexType>