1*b1cdbd2cSJim Jagielski<?xml version="1.0" encoding="UTF-8"?> 2*b1cdbd2cSJim Jagielski<helpdocument version="1.0"> 3*b1cdbd2cSJim Jagielski 4*b1cdbd2cSJim Jagielski<!--*********************************************************** 5*b1cdbd2cSJim Jagielski * 6*b1cdbd2cSJim Jagielski * Licensed to the Apache Software Foundation (ASF) under one 7*b1cdbd2cSJim Jagielski * or more contributor license agreements. See the NOTICE file 8*b1cdbd2cSJim Jagielski * distributed with this work for additional information 9*b1cdbd2cSJim Jagielski * regarding copyright ownership. The ASF licenses this file 10*b1cdbd2cSJim Jagielski * to you under the Apache License, Version 2.0 (the 11*b1cdbd2cSJim Jagielski * "License"); you may not use this file except in compliance 12*b1cdbd2cSJim Jagielski * with the License. You may obtain a copy of the License at 13*b1cdbd2cSJim Jagielski * 14*b1cdbd2cSJim Jagielski * http://www.apache.org/licenses/LICENSE-2.0 15*b1cdbd2cSJim Jagielski * 16*b1cdbd2cSJim Jagielski * Unless required by applicable law or agreed to in writing, 17*b1cdbd2cSJim Jagielski * software distributed under the License is distributed on an 18*b1cdbd2cSJim Jagielski * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 19*b1cdbd2cSJim Jagielski * KIND, either express or implied. See the License for the 20*b1cdbd2cSJim Jagielski * specific language governing permissions and limitations 21*b1cdbd2cSJim Jagielski * under the License. 22*b1cdbd2cSJim Jagielski * 23*b1cdbd2cSJim Jagielski ***********************************************************--> 24*b1cdbd2cSJim Jagielski 25*b1cdbd2cSJim Jagielski 26*b1cdbd2cSJim Jagielski 27*b1cdbd2cSJim Jagielski 28*b1cdbd2cSJim Jagielski<meta> 29*b1cdbd2cSJim Jagielski <topic id="textscalcguidedatabase_filterxml" indexer="include" status="PUBLISH"> 30*b1cdbd2cSJim Jagielski <title xml-lang="en-US" id="tit">Filtering Cell Ranges </title> 31*b1cdbd2cSJim Jagielski <filename>/text/scalc/guide/database_filter.xhp</filename> 32*b1cdbd2cSJim Jagielski </topic> 33*b1cdbd2cSJim Jagielski </meta> 34*b1cdbd2cSJim Jagielski <body> 35*b1cdbd2cSJim Jagielski<bookmark xml-lang="en-US" branch="index" id="bm_id3153541"><bookmark_value>cell ranges;applying/removing filters</bookmark_value> 36*b1cdbd2cSJim Jagielski <bookmark_value>filtering;cell ranges/database ranges</bookmark_value> 37*b1cdbd2cSJim Jagielski <bookmark_value>database ranges;applying/removing filters</bookmark_value> 38*b1cdbd2cSJim Jagielski <bookmark_value>removing;cell range filters</bookmark_value> 39*b1cdbd2cSJim Jagielski</bookmark><comment>MW changed "cell ranges," added "removing;" and made one "database ranges;" entry out of two. Same for "filtering;"</comment> 40*b1cdbd2cSJim Jagielski<paragraph xml-lang="en-US" id="hd_id3153541" role="heading" level="1" l10n="CHG" 41*b1cdbd2cSJim Jagielski oldref="47"><variable id="database_filter"><link href="text/scalc/guide/database_filter.xhp" name="Filtering Cell Ranges">Filtering Cell Ranges</link> 42*b1cdbd2cSJim Jagielski</variable></paragraph> 43*b1cdbd2cSJim Jagielski <paragraph xml-lang="en-US" id="par_id3145069" role="paragraph" 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> 44*b1cdbd2cSJim Jagielski <paragraph xml-lang="en-US" id="par_idN10682" role="heading" level="2" l10n="CHG">To Apply a Standard Filter to a Cell Range</paragraph> 45*b1cdbd2cSJim Jagielski <list type="ordered"> 46*b1cdbd2cSJim Jagielski <listitem> 47*b1cdbd2cSJim Jagielski <paragraph xml-lang="en-US" id="par_id3150398" role="listitem" l10n="CHG" oldref="50">Click in a cell range.</paragraph> 48*b1cdbd2cSJim Jagielski </listitem> 49*b1cdbd2cSJim Jagielski <listitem> 50*b1cdbd2cSJim Jagielski <paragraph xml-lang="en-US" id="par_idN10693" role="listitem" l10n="NEW">Choose <item type="menuitem">Data - Filter - Standard Filter</item>.</paragraph> 51*b1cdbd2cSJim Jagielski </listitem> 52*b1cdbd2cSJim Jagielski <listitem> 53*b1cdbd2cSJim Jagielski <paragraph xml-lang="en-US" id="par_id3156422" role="listitem" l10n="CHG" oldref="51">In the <emph>Standard Filter</emph> dialog, specify the filter options that you want.</paragraph> 54*b1cdbd2cSJim Jagielski </listitem> 55*b1cdbd2cSJim Jagielski <listitem> 56*b1cdbd2cSJim Jagielski <paragraph xml-lang="en-US" id="par_idN106A5" role="listitem" l10n="NEW">Click <emph>OK</emph>.</paragraph> 57*b1cdbd2cSJim Jagielski <paragraph xml-lang="en-US" id="par_id3153143" role="paragraph" l10n="U" oldref="52">The records that match the filter options that you specified are shown.</paragraph> 58*b1cdbd2cSJim Jagielski </listitem> 59*b1cdbd2cSJim Jagielski </list> 60*b1cdbd2cSJim Jagielski <paragraph xml-lang="en-US" id="par_id3153728" role="heading" level="2" l10n="CHG" 61*b1cdbd2cSJim Jagielski oldref="53">To Apply an AutoFilter to a Cell Range</paragraph> 62*b1cdbd2cSJim Jagielski <list type="ordered"> 63*b1cdbd2cSJim Jagielski <listitem> 64*b1cdbd2cSJim Jagielski <paragraph xml-lang="en-US" id="par_id3144764" role="listitem" l10n="CHG" oldref="54">Click in a cell range or a database range.</paragraph> 65*b1cdbd2cSJim Jagielski <paragraph xml-lang="en-US" id="par_id9303872" role="tip" 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> 66*b1cdbd2cSJim Jagielski </listitem> 67*b1cdbd2cSJim Jagielski <listitem> 68*b1cdbd2cSJim Jagielski <paragraph xml-lang="en-US" id="par_id3154944" role="listitem" l10n="U" oldref="55">Choose <item type="menuitem">Data - Filter - AutoFilter</item>.</paragraph> 69*b1cdbd2cSJim Jagielski <paragraph xml-lang="en-US" id="par_idN106DB" role="listitem" l10n="NEW">An arrow button is added to the head of each column in the database range.</paragraph> 70*b1cdbd2cSJim Jagielski </listitem> 71*b1cdbd2cSJim Jagielski <listitem> 72*b1cdbd2cSJim Jagielski <paragraph xml-lang="en-US" id="par_id3153878" role="listitem" 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> 73*b1cdbd2cSJim Jagielski </listitem> 74*b1cdbd2cSJim Jagielski <listitem> 75*b1cdbd2cSJim Jagielski <paragraph xml-lang="en-US" id="par_idN10749" role="listitem" l10n="NEW">Select the value or string that you want to use as the filter criteria.</paragraph> 76*b1cdbd2cSJim Jagielski <paragraph xml-lang="en-US" id="par_idN1074C" role="listitem" l10n="NEW">The records that match the filter criteria that you selected are shown.</paragraph> 77*b1cdbd2cSJim Jagielski </listitem> 78*b1cdbd2cSJim Jagielski </list> 79*b1cdbd2cSJim Jagielski <paragraph xml-lang="en-US" id="par_idN106E8" role="heading" level="2" l10n="CHG">To Remove a Filter From a Cell Range</paragraph> 80*b1cdbd2cSJim Jagielski <list type="ordered"> 81*b1cdbd2cSJim Jagielski <listitem> 82*b1cdbd2cSJim Jagielski <paragraph xml-lang="en-US" id="par_idN1075C" role="paragraph" l10n="CHG">Click in a filtered cell range.</paragraph> 83*b1cdbd2cSJim Jagielski </listitem> 84*b1cdbd2cSJim Jagielski <listitem> 85*b1cdbd2cSJim Jagielski <paragraph xml-lang="en-US" id="par_idN106EC" role="paragraph" l10n="NEW">Choose <item type="menuitem">Data - Filter - Remove Filter</item>.</paragraph> 86*b1cdbd2cSJim Jagielski </listitem> 87*b1cdbd2cSJim Jagielski </list> 88*b1cdbd2cSJim Jagielski <section id="relatedtopics"> 89*b1cdbd2cSJim Jagielski <embed href="text/scalc/guide/database_define.xhp#database_define"/> 90*b1cdbd2cSJim Jagielski <embed href="text/scalc/guide/database_sort.xhp#database_sort"/> 91*b1cdbd2cSJim Jagielski <embed href="text/scalc/guide/cellcopy.xhp#cellcopy"/> 92*b1cdbd2cSJim Jagielski <embed href="text/scalc/guide/specialfilter.xhp#specialfilter"/> 93*b1cdbd2cSJim Jagielski <paragraph xml-lang="en-US" id="par_id4525284" role="paragraph" l10n="NEW"><link href="https://wiki.openoffice.org/wiki/Documentation/How_Tos/Defining_a_Data_Range">Wiki page about defining a data range</link></paragraph> 94*b1cdbd2cSJim Jagielski </section> 95*b1cdbd2cSJim Jagielski </body> 96*b1cdbd2cSJim Jagielski</helpdocument>