Contido

# Aplicar filtros avanzados

1. Copy the column headers of the sheet ranges to be filtered into an empty area of the sheet, and then enter the criteria for the filter in a row beneath the headers. Horizontally arranged data in a row will always be logically connected with AND, and vertically arranged data in a column will always be logically connected with OR.

2. Unha vez creada unha matriz de filtro, seleccione os intervalos da folla que desexe filtrar. Abra a caixa de diálogo Filtro avanzado escollendo Datos - Máis filtros - Filtro avanzado e defina as condicións do filtro.

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.

## Example

Load a spreadsheet with a large number of records. We are using a fictional Turnover document, but you can just as easily use any other document. The document has the following layout:

| A | B | C | D | E
1 | Mes | Estándar | Business | Luxury | Suite
2 | Xaneiro | 125600 | 200500 | 240000 | 170000
3 | Febreiro | 160000 | 180300 | 362000 | 220000
4 | Marzo | 170000 |  |  | etc...

Copy row 1 with the row headers (field names), to row 20, for example. Enter the filter conditions linked with OR in rows 21, 22, and so on.

| A | B | C | D | E
20 | Mes | Estándar | Business | Luxury | Suite
21 | Xaneiro |  |  |  |
22 |  | >160000 |  |  |

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

Escolla Datos - Máis filtros - Filtros avanzados e seleccione o intervalo A20:E22. Despois de premer en Aceptar só se verán as filas filtradas. O resto das filas ficarán agochadas.

Temas relacionados

Applying Filters

Aplicar Filtro automático

Copiar só celas visíbeis