Advanced Filter

Defines an 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.

Shrink / Expand

Клацніть піктограму Зменшити, щоб діалогове вікно зменшилося до розмірів поля. Так буде легше позначити необхідне посилання на аркуші. При цьому піктограми автоматично перетворюються на Розкрити. Клацніть її, щоб відновити початковий розмір діалогового вікна.

Діалогове вікно буде автоматично згорнуто, якщо клацнути на аркуші. Після відпускання кнопки мишки діалогове вікно буде відновлено і діапазон посилань, визначений за допомогою миші, буде виділено в документі синьою рамкою.

Icon shrink

Згорнути

Icon Expand

Expand

Options

Shows additional filter options.

Враховувати регістр

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 LibreOffice 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.

Applying Advanced Filters

  1. Скопіюйте необхідні заголовки стовпців діапазонів листа у вільне місце аркуша, а потім у рядку під заголовками введіть критерії для фільтра. Горизонтально розташовані дані в рядку будуть завжди логічно пов'язані за допомогою оператора "І", а вертикально розташовані дані в стовпцях будуть пов'язані за допомогою оператора "АБО".

  2. Once you have created a filter matrix, select the sheet ranges to be filtered. Open the Advanced Filter dialog by choosing Data - More Filters - Advanced Filter, and define the filter conditions.

  3. Then click OK, and you will see that only the rows from the original sheet whose contents have met the search criteria are still visible. All other rows are temporarily hidden and can be made to reappear with the Format - Rows - Show command.

Приклад

Завантажте електронну таблицю з великою кількістю записів. У наведеному нижче прикладі використовується вигаданий документ Обіг (можна використовувати будь-який документ). Він виглядає наступним чином.

A

B

C

D

E

1

Місяць

Типово

Бізнес

Розкіш

Набір

2

січень

125600

200500

240000

170000

3

лютий

160000

180300

362000

220000

4

березень

170000

і так далі...


Скопіюйте, наприклад, рядок 1 разом з заголовками (іменами полів) в рядку 20. Введіть умови фільтра, пов'язані за допомогою оператора "АБО", в клітинки 21, 22 і так далі.

A

B

C

D

E

20

Місяць

Типово

Бізнес

Розкіш

Набір

21

січень

22

<160000


Specify that only rows which either have the value January in the Month cells OR a value of under 160000 in the Standard cells will be displayed.

Choose Data - More Filters - Advanced Filter, and then select the range A20:E22. After you click OK, only the filtered rows will be displayed. The other rows will be hidden from view.

Будь ласка, підтримайте нас!