Filter
Filter
Filter
KHIMYA S TINANI
[email protected]
B.Sc.(Sem-V)-Data Analysis using Microsoft Excel
Filter:
Filter your Excel data if you only want to display records that
meet certain criteria.
1. Click any single cell inside a data set.
2. On the Data tab, in the Sort & Filter group, click Filter.
1
5. Click OK.
Result: Excel only displays the sales in the USA.
2
8. Click OK.
Result: Excel only displays the sales in the USA in Qtr 4.
9. To remove the filter, on the Data tab, in the Sort & Filter
group, click Clear. To remove the filter and the arrows,
click Filter.
3
Advanced Filter
And Criteria | Or Criteria | Formula as Criteria
This example teaches you how to apply an advanced
filter in Excel to only display records that meet complex
criteria.
When you use the Advanced Filter, you need to enter the
criteria on the worksheet. Create a Criteria range (blue border
below for illustration only) above your data set. Use the same
column headers. Be sure there's at least one blank row between
your Criteria range and data set.
And Criteria
To display the sales in the USA and in Qtr 4, execute the
following steps.
1. Enter the criteria shown below on the worksheet.
5
Result.
Formula as Criteria
To display the sales in the USA in Qtr 4 greater than
$10.000 or in the UK in Qtr 1, execute the following steps.
9. Enter the criteria (+formula) shown below on the worksheet.
10. On the Data tab, in the Sort & Filter group, click Advanced,
and adjust the Criteria range to range A1:E3 (blue).
11. Click OK.
6
Result.
7
Arrows in the column headers appear.
Number Filter
To apply a number filter, execute the following steps.
3. Click the arrow next to Sales.
4. Click Number Filters (this option is available because the
Sales column contains numeric data) and select Greater Than
from the list.
8
5. Enter 10,000 and click OK.
9
Note: you can also display records equal to a value, less than a
value, between two values, the top x records, records that are
above average, etc.
10