目录

# Advanced Filter

定义高级筛选。

要访问此命令...

#### From the menu bar:

选择「数据 - 更多筛选 - 高级筛选...」。

#### From the tabbed interface:

Choose Data - Advanced Filter.

On the Data menu of the Data tab, choose Advanced Filter.

#### From toolbars:

Advanced Filter

## 筛选条件来自(F)

选择命名的区域，或者输入含有要使用的筛选条件的单元格区域。

A reference to an empty cell is interpreted as the numeric value 0.

A matching expression can be:

- A number or logical value. A matching cell content equals the number or logical value.

- A value beginning with a comparator (<, <=, =, >, >=, <>).

  For =, if the value is empty it matches empty cells.

  For <>, if the value is empty it matches non-empty cells.

  For <>, if the value is not empty it matches any cell content except the value, including empty cells.

  Note: "=0" does not match empty cells.

  For = and <>, if the value is not empty and can not be interpreted as a number type or one of its subtypes and the property Search criteria = and <> must apply to whole cells is checked, comparison is against the entire cell contents, if unchecked, comparison is against any subpart of the field that matches the criteria. For = and <>, if the value is not empty and can not be interpreted as a Number type or one of its subtypes applies.

- Other Text value. If the property Search criteria = and <> must apply to whole cells is true, the comparison is against the entire cell contents, if false, comparison is against any subpart of the field that matches the criteria. The expression can contain text, numbers, regular expressions or wildcards (if enabled in calculation options).

### Shrink / Expand

Click the Shrink icon to reduce the dialog to the size of the input field. It is then easier to mark the required reference in the sheet. The icons then automatically convert to the Expand icon. Click it to restore the dialog to its original size.

当您在工作表中点击鼠标按钮并拖动一个区域时，对话框自动缩小。一旦您放开鼠标按钮，对话框便重新用完整大小显示，而用鼠标定义的区域引用在文档中用一个蓝色的边框被突出强调出来。

缩小

Expand

## Options

显示其他过滤选项。

#### 区分大小写

过滤数据时区分字母的大小写。

#### 区域含有列标签

单元格范围的第一行中包含列标签。

#### 复制结果到

选中复选框，然后再选择用于显示过滤结果的单元格范围。也可以从列表中选择命名的范围。

#### 正则表达式

允许您在过滤器定义中使用通配符。如果需要 LibreOffice 所支持的正则表达式列表，请点击此处。

如果选中了「正则表达式」复选框，则可以在「值」字段中使用正则表达式 (如果将「条件」列表框设置为 '=' EQUAL 或者 '<>' UNEQUAL)。这也适用于分别为高级过滤器引用的单元格。

#### 不生成复件

排除过滤数据列表中的重复行。

#### 保留筛选条件

选择「将结果复制到复选框，然后指定用于显示过滤数据的目标区域。如果选中了此复选框，目标区域将保持与源区域的链接。必须已经在数据 - 定义区域」下将源区域定义为数据库区域。这样，就可以按照以下方法随时重复应用已定义的过滤器: 在源区域中点击，然后选择「数据 - 刷新区域」。

相关主题

应用筛选

添加自动筛选

Applying Advanced Filters