summaryrefslogtreecommitdiff
path: root/helpcontent2/source/text/scalc/guide/database_filter.xhp
blob: 55fa23ad8f54780317888b2abbb00d222dcd8331 (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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
<?xml version="1.0" encoding="UTF-8"?>



<!--
 ***********************************************************************
 *
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
 * 
 * Copyright 2008 by Sun Microsystems, Inc.
 *
 * OpenOffice.org - a multi-platform office productivity suite
 *
 * $RCSfile: database_filter.xhp,v $
 * $Revision: 1.9 $
 *
 * This file is part of OpenOffice.org.
 *
 * OpenOffice.org is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License version 3
 * only, as published by the Free Software Foundation.
 *
 * OpenOffice.org is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser General Public License version 3 for more details
 * (a copy is included in the LICENSE file that accompanied this code).
 *
 * You should have received a copy of the GNU Lesser General Public License
 * version 3 along with OpenOffice.org.  If not, see
 * <http://www.openoffice.org/license.html>
 * for a copy of the LGPLv3 License.
 *
 ************************************************************************
 -->


		<helpdocument version="1.0">
<meta>
<topic id="textscalcguidedatabase_filterxml" indexer="include" status="PUBLISH">
<title id="tit" xml-lang="en-US">Filtering Cell Ranges </title>
<filename>/text/scalc/guide/database_filter.xhp</filename>
</topic>
</meta>
<body>
<bookmark xml-lang="en-US" branch="index" id="bm_id3153541"><bookmark_value>cell ranges;applying/removing filters</bookmark_value>
<bookmark_value>filtering;cell ranges/database ranges</bookmark_value>
<bookmark_value>database ranges;applying/removing filters</bookmark_value>
<bookmark_value>removing;cell range filters</bookmark_value>
</bookmark><comment>MW changed "cell ranges," added "removing;" and made one "database ranges;" entry out of two. Same for "filtering;"</comment><paragraph role="heading" id="hd_id3153541" xml-lang="en-US" level="1" l10n="CHG" oldref="47"><variable id="database_filter"><link href="text/scalc/guide/database_filter.xhp" name="Filtering Cell Ranges">Filtering Cell Ranges</link>
</variable></paragraph>
<paragraph role="paragraph" id="par_id3145069" xml-lang="en-US" l10n="CHG" oldref="48">You can use several filters to filter cell ranges in spreadsheets. A standard filter uses the options that you specify to filter the data. An AutoFilter filters data according to a specific value or string. An advanced filter uses filter criteria from specified cells.</paragraph>
<paragraph role="heading" id="par_idN10682" xml-lang="en-US" level="2" l10n="CHG">To Apply a Standard Filter to a Cell Range</paragraph>
<list type="ordered">
<listitem>
<paragraph role="listitem" id="par_id3150398" xml-lang="en-US" l10n="CHG" oldref="50">Click in a cell range.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_idN10693" xml-lang="en-US" l10n="NEW">Choose <item type="menuitem">Data - Filter - Standard Filter</item>.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3156422" xml-lang="en-US" l10n="CHG" oldref="51">In the <emph>Standard Filter</emph> dialog, specify the filter options that you want.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_idN106A5" xml-lang="en-US" l10n="NEW">Click <emph>OK</emph>.</paragraph>
<paragraph role="paragraph" id="par_id3153143" xml-lang="en-US" l10n="U" oldref="52">The records that match the filter options that you specified are shown.</paragraph>
</listitem>
</list>
<paragraph role="heading" id="par_id3153728" xml-lang="en-US" level="2" l10n="CHG" oldref="53">To Apply an AutoFilter to a Cell Range</paragraph>
<list type="ordered">
<listitem>
<paragraph role="listitem" id="par_id3144764" xml-lang="en-US" l10n="CHG" oldref="54">Click in a cell range or a database range.</paragraph>
<paragraph role="tip" id="par_id9303872" xml-lang="en-US" l10n="NEW">If you want to apply multiple AutoFilters to the same sheet, you must first define database ranges, then apply the AutoFilters to the database ranges.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3154944" xml-lang="en-US" l10n="U" oldref="55">Choose <item type="menuitem">Data - Filter - AutoFilter</item>.</paragraph>
<paragraph role="listitem" id="par_idN106DB" xml-lang="en-US" l10n="NEW">An arrow button is added to the head of each column in the database range.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3153878" xml-lang="en-US" l10n="U" oldref="56">Click the arrow button in the column that contains the value or string that you want to set as the filter criteria.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_idN10749" xml-lang="en-US" l10n="NEW">Select the value or string that you want to use as the filter criteria.</paragraph>
<paragraph role="listitem" id="par_idN1074C" xml-lang="en-US" l10n="NEW">The records that match the filter criteria that you selected are shown.</paragraph>
</listitem>
</list>
<paragraph role="heading" id="par_idN106E8" xml-lang="en-US" level="2" l10n="CHG">To Remove a Filter From a Cell Range</paragraph>
<list type="ordered">
<listitem>
<paragraph role="paragraph" id="par_idN1075C" xml-lang="en-US" l10n="CHG">Click in a filtered cell range.</paragraph>
</listitem>
<listitem>
<paragraph role="paragraph" id="par_idN106EC" xml-lang="en-US" l10n="NEW">Choose <item type="menuitem">Data - Filter - Remove Filter</item>.</paragraph>
</listitem>
</list>
<section id="relatedtopics">
<embed href="text/scalc/guide/database_define.xhp#database_define"/>
<embed href="text/scalc/guide/database_sort.xhp#database_sort"/>
<embed href="text/scalc/guide/cellcopy.xhp#cellcopy"/>
<embed href="text/scalc/guide/specialfilter.xhp#specialfilter"/>
<paragraph role="paragraph" id="par_id4525284" xml-lang="en-US" l10n="NEW"><link href="http://wiki.services.openoffice.org/wiki/Documentation/How_Tos/Defining_a_Data_Range">Wiki page about defining a data range</link></paragraph>
</section>
</body>
</helpdocument>