summaryrefslogtreecommitdiffstats
path: root/source/text/scalc/guide/autofilter.xhp
blob: 9d7f1b5a0ee5b5145dbac2f90d971b9129b03cef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<?xml version="1.0" encoding="UTF-8"?>
<helpdocument version="1.0">

<!--
 * This file is part of the LibreOffice project.
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 *
 * This file incorporates work covered by the following license notice:
 *
 *   Licensed to the Apache Software Foundation (ASF) under one or more
 *   contributor license agreements. See the NOTICE file distributed
 *   with this work for additional information regarding copyright
 *   ownership. The ASF licenses this file to you under the Apache
 *   License, Version 2.0 (the "License"); you may not use this file
 *   except in compliance with the License. You may obtain a copy of
 *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
 -->

<meta>
      <topic id="textscalcguideautofilterxml" indexer="include" status="PUBLISH">
         <title xml-lang="en-US" id="tit">Applying AutoFilter</title>
         <filename>/text/scalc/guide/autofilter.xhp</filename>
      </topic>
   </meta>
   <body>
<bookmark xml-lang="en-US" branch="index" id="bm_id3156423"><bookmark_value>filters, see also AutoFilter function</bookmark_value>
      <bookmark_value>AutoFilter function;applying</bookmark_value>
      <bookmark_value>sheets; filter values</bookmark_value>
      <bookmark_value>numbers; filter sheets</bookmark_value>
      <bookmark_value>columns; AutoFilter function</bookmark_value>
      <bookmark_value>drop-down menus in sheet columns</bookmark_value>
      <bookmark_value>database ranges; AutoFilter function</bookmark_value>
</bookmark><comment>mw made "drop-down..." a one level entry and added a "see also" reference</comment>
<h1 id="hd_id3156423"><variable id="autofilter"><link href="text/scalc/guide/autofilter.xhp" name="Applying AutoFilter">Applying AutoFilter</link>
</variable></h1>
      <paragraph xml-lang="en-US" id="par_id3147427" role="paragraph">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>
      <section id="autofiltertext">
         <list type="ordered">
            <listitem>
               <paragraph xml-lang="en-US" id="par_id3152576" role="listitem">Select the columns you want to use AutoFilter on.</paragraph>
            </listitem>
            <listitem>
               <paragraph xml-lang="en-US" id="par_id3153157" role="listitem">Choose <emph>Data - Filter - AutoFilter</emph>. The combo box arrows are visible in the first row of the range selected.</paragraph>
            </listitem>
            <listitem>
               <paragraph xml-lang="en-US" id="par_id3154510" role="listitem">Run the filter by clicking the drop-down arrow in the column heading and choosing an item.</paragraph>
               <paragraph xml-lang="en-US" id="par_id3155064" role="listitem">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>
            </listitem>
         </list>
         <paragraph xml-lang="en-US" id="par_id9216589" role="paragraph">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>
	 <paragraph xml-lang="en-US" id="par_id3153714" role="paragraph">To display all records again, select the <emph>all</emph> entry in the AutoFilter combo box. If you choose <emph>Standard</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>
         <paragraph xml-lang="en-US" id="par_id3147340" role="paragraph">To stop using AutoFilter, reselect all cells selected in step 1 and once again choose <emph>Data - Filter - AutoFilter</emph>.</paragraph>
         <section id="autofiltertip">
         <tip id="par_id4303415">To assign different AutoFilters to different sheets, you must first define a database range on each sheet.</tip>
         </section>
         <warning id="par_id3159236">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.</warning>
      </section>
      <section id="relatedtopics">
         <embed href="text/scalc/01/12040100.xhp#autofilterh1"/>
         <embed href="text/scalc/guide/filters.xhp#filters"/>
         <embed href="text/scalc/guide/specialfilter.xhp#specialfilter"/>
         <embed href="text/scalc/guide/cellcopy.xhp#cellcopy"/>
         <paragraph xml-lang="en-US" id="par_id3152985" role="paragraph"><link href="text/scalc/01/12040100.xhp" name="Data - Filter - AutoFilter">Data - Filter - AutoFilter</link></paragraph>
         <paragraph xml-lang="en-US" id="par_id3154484" role="paragraph"><link href="text/scalc/01/04060106.xhp" name="SUBTOTAL">SUBTOTAL</link></paragraph>
      </section>
   </body>
</helpdocument>