## AutoFilter::Custom(int32_t, FilterOperatorType, const Aspose::Cells::Object\&) method


Filters a list with a custom criterion.

```cpp
void Aspose::Cells::AutoFilter::Custom(int32_t fieldIndex, FilterOperatorType operatorType1, const Aspose::Cells::Object &criteria1)
```


| Parameter | Type | Description |
| --- | --- | --- |
| fieldIndex | int32_t | The integer offset of the field on which you want to base the filter (from the left of the list; the leftmost field is field 0). |
| operatorType1 | FilterOperatorType | The filter operator type |
| criteria1 | const Aspose::Cells::Object\& | The custom criteria |

## See Also

* Enum [FilterOperatorType](../../filteroperatortype/)
* Class [Object](../../object/)
* Class [AutoFilter](../)
* Namespace [Aspose::Cells](../../)
* Library [Aspose.Cells for C++](../../../)
## AutoFilter::Custom(int32_t, FilterOperatorType, const Aspose::Cells::Object\&, bool, FilterOperatorType, const Aspose::Cells::Object\&) method


Filters a list with custom criteria.

```cpp
void Aspose::Cells::AutoFilter::Custom(int32_t fieldIndex, FilterOperatorType operatorType1, const Aspose::Cells::Object &criteria1, bool isAnd, FilterOperatorType operatorType2, const Aspose::Cells::Object &criteria2)
```


| Parameter | Type | Description |
| --- | --- | --- |
| fieldIndex | int32_t | The integer offset of the field on which you want to base the filter (from the left of the list; the leftmost field is field 0). |
| operatorType1 | FilterOperatorType | The filter operator type |
| criteria1 | const Aspose::Cells::Object\& | The custom criteria |
| isAnd | bool |  |
| operatorType2 | FilterOperatorType | The filter operator type |
| criteria2 | const Aspose::Cells::Object\& | The custom criteria |

## See Also

* Enum [FilterOperatorType](../../filteroperatortype/)
* Class [Object](../../object/)
* Class [AutoFilter](../)
* Namespace [Aspose::Cells](../../)
* Library [Aspose.Cells for C++](../../../)
