1<?xml version="1.0" encoding="UTF-8"?>
2<helpdocument version="1.0">
3
4<!--
5***********************************************************************
6 *
7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
8 *
9 * Copyright 2000, 2010 Oracle and/or its affiliates.
10 *
11 * OpenOffice.org - a multi-platform office productivity suite
12 *
13 * This file is part of OpenOffice.org.
14 *
15 * OpenOffice.org is free software: you can redistribute it and/or modify
16 * it under the terms of the GNU Lesser General Public License version 3
17 * only, as published by the Free Software Foundation.
18 *
19 * OpenOffice.org is distributed in the hope that it will be useful,
20 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22 * GNU Lesser General Public License version 3 for more details
23 * (a copy is included in the LICENSE file that accompanied this code).
24 *
25 * You should have received a copy of the GNU Lesser General Public License
26 * version 3 along with OpenOffice.org.  If not, see
27 * <http://www.openoffice.org/license.html>
28 * for a copy of the LGPLv3 License.
29 *
30 ************************************************************************
31 -->
32
33
34<meta>
35      <topic id="textscalcguideautofilterxml" indexer="include" status="PUBLISH">
36         <title xml-lang="en-US" id="tit">Applying AutoFilter</title>
37         <filename>/text/scalc/guide/autofilter.xhp</filename>
38      </topic>
39   </meta>
40   <body>
41<bookmark xml-lang="en-US" branch="index" id="bm_id3156423"><bookmark_value>filters, see also AutoFilter function</bookmark_value>
42      <bookmark_value>AutoFilter function;applying</bookmark_value>
43      <bookmark_value>sheets; filter values</bookmark_value>
44      <bookmark_value>numbers; filter sheets</bookmark_value>
45      <bookmark_value>columns; AutoFilter function</bookmark_value>
46      <bookmark_value>drop-down menus in sheet columns</bookmark_value>
47      <bookmark_value>database ranges; AutoFilter function</bookmark_value>
48</bookmark><comment>mw made "drop-down..." a one level entry and added a "see also" reference</comment>
49<paragraph xml-lang="en-US" id="hd_id3156423" role="heading" level="1" l10n="U" oldref="6"><variable id="autofilter"><link href="text/scalc/guide/autofilter.xhp" name="Applying AutoFilter">Applying AutoFilter</link>
50</variable></paragraph>
51      <paragraph xml-lang="en-US" id="par_id3147427" role="paragraph" l10n="U" oldref="7">The <emph>AutoFilter</emph> function inserts a combo box on one or more data columns that lets you select the records (rows) to be displayed.</paragraph>
52      <section id="autofiltertext">
53         <list type="ordered">
54            <listitem>
55               <paragraph xml-lang="en-US" id="par_id3152576" role="listitem" l10n="U" oldref="9">Select the columns you want to use AutoFilter on.</paragraph>
56            </listitem>
57            <listitem>
58               <paragraph xml-lang="en-US" id="par_id3153157" role="listitem" l10n="CHG" oldref="10">Choose <emph>Data - Filter - AutoFilter</emph>. The combo box arrows are visible in the first row of the range selected.</paragraph>
59            </listitem>
60            <listitem>
61               <paragraph xml-lang="en-US" id="par_id3154510" role="listitem" l10n="U" oldref="11">Run the filter by clicking the drop-down arrow in the column heading and choosing an item.</paragraph>
62               <paragraph xml-lang="en-US" id="par_id3155064" role="listitem" l10n="CHG" oldref="13">Only those rows whose contents meet the filter criteria are displayed. The other rows are filtered<comment>UFI: we must distinguish manually hidden cells from filtered cells, because they behave differently. So don't use the word "hidden" when a filter is applied.</comment>. You can see if rows have been filtered from the discontinuous row numbers. The column that has been used for the filter is identified by a different color for the arrow button.</paragraph>
63            </listitem>
64         </list>
65         <paragraph xml-lang="en-US" id="par_id9216589" role="paragraph" l10n="NEW">When you apply an additional AutoFilter on another column of a filtered data range, then the other combo boxes list only the filtered data.</paragraph>
66         <paragraph xml-lang="en-US" id="par_id3153714" role="paragraph" l10n="U" oldref="12">To display all records again, select the "all<emph>"</emph> entry in the AutoFilter combo box. If you choose "Standard<emph>"</emph>, the <item type="menuitem">Standard Filter</item> dialog appears, allowing you to set up a standard filter. Choose "Top 10" to display the highest 10 values only. </paragraph>
67         <paragraph xml-lang="en-US" id="par_id3147340" role="paragraph" l10n="CHG" oldref="19">To stop using AutoFilter, reselect all cells selected in step 1 and once again choose <emph>Data - Filter - AutoFilter</emph>.</paragraph>
68         <paragraph xml-lang="en-US" id="par_id4303415" role="tip" l10n="NEW">To assign different AutoFilters to different sheets, you must first define a database range on each sheet.</paragraph>
69         <paragraph xml-lang="en-US" id="par_id3159236" role="warning" l10n="CHG" oldref="14">The arithmetic functions also take account of the cells that are not visible due to an applied filter. For example, a sum of an entire column will also total the values in the filtered cells. Apply the <link href="text/scalc/01/04060106.xhp" name="SUBTOTAL">SUBTOTAL</link> function if only the cells visible after the application of a filter are to be taken into account.</paragraph>
70      </section>
71      <section id="relatedtopics">
72         <embed href="text/scalc/guide/filters.xhp#filters"/>
73         <embed href="text/scalc/guide/specialfilter.xhp#specialfilter"/>
74         <embed href="text/scalc/guide/cellcopy.xhp#cellcopy"/>
75         <paragraph xml-lang="en-US" id="par_id3152985" role="paragraph" l10n="U" oldref="16"><link href="text/scalc/01/12040100.xhp" name="Data - Filter - AutoFilter">Data - Filter - AutoFilter</link></paragraph>
76         <paragraph xml-lang="en-US" id="par_id3154484" role="paragraph" l10n="U" oldref="17"><link href="text/scalc/01/04060106.xhp" name="SUBTOTAL">SUBTOTAL</link></paragraph>
77      </section>
78   </body>
79</helpdocument>