
## custom(self, field_index, operator_type1, criteria1) {#int-aspose.cells.FilterOperatorType-System.Object}

Filters a list with a custom criteria.



```python

def custom(self, field_index, operator_type1, criteria1):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| field_index | int | The integer offset of the field on which you want to base the filter <br/>(from the left of the list; the leftmost field is field 0). |
| operator_type1 | aspose.cells.FilterOperatorType | The filter operator type |
| criteria1 | System.Object | The custom criteria |


## custom(self, field_index, operator_type1, criteria1, is_and, operator_type2, criteria2) {#int-aspose.cells.FilterOperatorType-System.Object-bool-aspose.cells.FilterOperatorType-System.Object}

Filters a list with custom criteria.



```python

def custom(self, field_index, operator_type1, criteria1, is_and, operator_type2, criteria2):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| field_index | int | The integer offset of the field on which you want to base the filter <br/>(from the left of the list; the leftmost field is field 0). |
| operator_type1 | aspose.cells.FilterOperatorType | The filter operator type |
| criteria1 | System.Object | The custom criteria |
| is_and | bool |  |
| operator_type2 | aspose.cells.FilterOperatorType | The filter operator type |
| criteria2 | System.Object | The custom criteria |



### See Also
* module [`aspose.cells`](../../)
* class [`AutoFilter`](/cells/python-net/aspose.cells/autofilter)
