1cdf0e10cSrcweir<?xml version="1.0" encoding="UTF-8"?>
2cdf0e10cSrcweir<helpdocument version="1.0">
3cdf0e10cSrcweir
4*ce44d6c1SAndrew Rist<!--***********************************************************
5cdf0e10cSrcweir *
6*ce44d6c1SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
7*ce44d6c1SAndrew Rist * or more contributor license agreements.  See the NOTICE file
8*ce44d6c1SAndrew Rist * distributed with this work for additional information
9*ce44d6c1SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
10*ce44d6c1SAndrew Rist * to you under the Apache License, Version 2.0 (the
11*ce44d6c1SAndrew Rist * "License"); you may not use this file except in compliance
12*ce44d6c1SAndrew Rist * with the License.  You may obtain a copy of the License at
13*ce44d6c1SAndrew Rist *
14*ce44d6c1SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
15*ce44d6c1SAndrew Rist *
16*ce44d6c1SAndrew Rist * Unless required by applicable law or agreed to in writing,
17*ce44d6c1SAndrew Rist * software distributed under the License is distributed on an
18*ce44d6c1SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
19*ce44d6c1SAndrew Rist * KIND, either express or implied.  See the License for the
20*ce44d6c1SAndrew Rist * specific language governing permissions and limitations
21*ce44d6c1SAndrew Rist * under the License.
22*ce44d6c1SAndrew Rist *
23*ce44d6c1SAndrew Rist ***********************************************************-->
24*ce44d6c1SAndrew Rist
25*ce44d6c1SAndrew Rist
26cdf0e10cSrcweir
27cdf0e10cSrcweir
28cdf0e10cSrcweir<meta>
29cdf0e10cSrcweir      <topic id="textscalcguideautofilterxml" indexer="include" status="PUBLISH">
30cdf0e10cSrcweir         <title xml-lang="en-US" id="tit">Applying AutoFilter</title>
31cdf0e10cSrcweir         <filename>/text/scalc/guide/autofilter.xhp</filename>
32cdf0e10cSrcweir      </topic>
33cdf0e10cSrcweir   </meta>
34cdf0e10cSrcweir   <body>
35cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3156423"><bookmark_value>filters, see also AutoFilter function</bookmark_value>
36cdf0e10cSrcweir      <bookmark_value>AutoFilter function;applying</bookmark_value>
37cdf0e10cSrcweir      <bookmark_value>sheets; filter values</bookmark_value>
38cdf0e10cSrcweir      <bookmark_value>numbers; filter sheets</bookmark_value>
39cdf0e10cSrcweir      <bookmark_value>columns; AutoFilter function</bookmark_value>
40cdf0e10cSrcweir      <bookmark_value>drop-down menus in sheet columns</bookmark_value>
41cdf0e10cSrcweir      <bookmark_value>database ranges; AutoFilter function</bookmark_value>
42cdf0e10cSrcweir</bookmark><comment>mw made "drop-down..." a one level entry and added a "see also" reference</comment>
43cdf0e10cSrcweir<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>
44cdf0e10cSrcweir</variable></paragraph>
45cdf0e10cSrcweir      <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>
46cdf0e10cSrcweir      <section id="autofiltertext">
47cdf0e10cSrcweir         <list type="ordered">
48cdf0e10cSrcweir            <listitem>
49cdf0e10cSrcweir               <paragraph xml-lang="en-US" id="par_id3152576" role="listitem" l10n="U" oldref="9">Select the columns you want to use AutoFilter on.</paragraph>
50cdf0e10cSrcweir            </listitem>
51cdf0e10cSrcweir            <listitem>
52cdf0e10cSrcweir               <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>
53cdf0e10cSrcweir            </listitem>
54cdf0e10cSrcweir            <listitem>
55cdf0e10cSrcweir               <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>
56cdf0e10cSrcweir               <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>
57cdf0e10cSrcweir            </listitem>
58cdf0e10cSrcweir         </list>
59cdf0e10cSrcweir         <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>
60cdf0e10cSrcweir         <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>
61cdf0e10cSrcweir         <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>
62cdf0e10cSrcweir         <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>
63cdf0e10cSrcweir         <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>
64cdf0e10cSrcweir      </section>
65cdf0e10cSrcweir      <section id="relatedtopics">
66cdf0e10cSrcweir         <embed href="text/scalc/guide/filters.xhp#filters"/>
67cdf0e10cSrcweir         <embed href="text/scalc/guide/specialfilter.xhp#specialfilter"/>
68cdf0e10cSrcweir         <embed href="text/scalc/guide/cellcopy.xhp#cellcopy"/>
69cdf0e10cSrcweir         <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>
70cdf0e10cSrcweir         <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>
71cdf0e10cSrcweir      </section>
72cdf0e10cSrcweir   </body>
73cdf0e10cSrcweir</helpdocument>