OpenOffice.org OpenOffice - 3.2 Guide de base Page 372

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 497
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 371
Advanced filters
An advanced filter supports up to eight filter conditions, as opposed to
the three supported by the simple filter. The criteria for an advanced
filter is stored in a sheet. The first step in creating an advanced filter is
entering the filter criteria into the spreadsheet.
1) Select an empty space in the Calc document. The empty space
may reside in any sheet in any location in the Calc document.
2) Duplicate the column headings from the area to be filtered into
the area that will contain the filter criteria.
3) Enter the filter criteria underneath the column headings (see
Table 24). The criterion in each column of a row is connected with
AND. The criteria from each row are connected with OR.
Table 15. Example advanced filter criteria
Name Test 1 Test 2 Quiz 1 Quiz 2 Average Grade
="Andy" >80
<80
Tip
Define named ranges to reference your advanced filter criteria
and any destination ranges for filtered data (see Figure 304).
Each appropriately configured named range is available in drop
down list boxes in the Advanced Filter dialog (see Figure 311).
After creating one or more sets of filter criteria, apply an advanced
filter as follows:
1) Select the sheet ranges that contain the data to filter.
2) Use Data > Filter > Advanced Filter to open the Advanced
Filter dialog (see Figure 311).
3) Select the range containing the filter criteria and any other
relevant options.
4) Click OK.
Applying an advanced filter using a macro is simple (see Listing 17).
The cell range containing the filter criteria is used to create a filter
descriptor, which is then used to filter the range containing the data.
372 OpenOffice.org 3.x Calc Guide
Vue de la page 371
1 2 ... 367 368 369 370 371 372 373 374 375 376 377 ... 496 497

Commentaires sur ces manuels

Pas de commentaire