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