Advanced Filter

Defines an advanced filter.

To access this command...

From the menu bar:

Choose Data - More Filters - Advanced Filter... .

From the tabbed interface:

Choose Data - Advanced Filter.

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

From toolbars:

Icon Advanced Filter

Advanced Filter


Read filter criteria from

Select the named range, or enter the cell range that contains the filter criteria that you want to use.

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.

The dialog is automatically minimized when you click into a sheet with the mouse. As soon as you release the mouse button, the dialog is restored and the reference range defined with the mouse is highlighted in the document by a blue frame.

Icon shrink

Shrink

Icon Expand

Expand

Options

Shows additional filter options.

Case sensitive

Distinguishes between uppercase and lowercase letters when filtering the data.

Range contains column labels

Includes the column labels in the first row of a cell range.

Copy results to

Select the check box, and then select the cell range where you want to display the filter results. You can also select a named range from the list.

Regular expression

Allows you to use regular expressions in the filter definition. For a list of the regular expressions that MC Office Suite supports, click here.

If the Regular Expressions check box is selected, you can use regular expressions in the Value field if the Condition list box is set to '=' EQUAL or '<>' UNEQUAL. This also applies to the respective cells that you reference for an advanced filter.

No duplication

Excludes duplicate rows in the list of filtered data.

Keep filter criteria

Select the Copy results to check box, and then specify the destination range where you want to display the filtered data. If this box is checked, the destination range remains linked to the source range. You must have defined the source range under Data - Define range as a database range. Following this, you can reapply the defined filter at any time as follows: click into the source range, then choose Data - Refresh Range.