Excel Unit 3 Advanced Filter and Conditional Formatting (Autosaved)
Excel Unit 3 Advanced Filter and Conditional Formatting (Autosaved)
Conditional Formatting
Dr. Mamta Santosh Nair
Advanced Filter
• Here are some differences between the regular filter and Advanced
filter: While the regular data filter will filter the existing dataset, you can
use Excel advanced filter to extract the data set to some other location
as well. Excel Advanced Filter allows you to use complex criteria.
• The Advanced command works differently from the Filter command in
several important ways.
• It displays the Advanced Filter dialog box instead of the AutoFilter menu.
• You type the advanced criteria in a separate criteria range on the
worksheet and above the range of cells or table that you want to filter.
Microsoft Office Excel uses the separate criteria range in the Advanced
Filter dialog box as the source for the advanced criteria.
Steps
• To filter the list range by hiding rows that don't match your
criteria, click Filter the list, in-place.
• To filter the list range by copying rows that match your criteria
to another area of the worksheet, click Copy to another
location, click in the Copy to box, and then click the upper-left
corner of the area where you want to paste the rows.
• In the Criteria range box, enter the reference for the criteria
range, including the criteria labels. To move the Advanced
Filter dialog box out of the way temporarily while you select the
criteria range, click Collapse Dialog .
Example
Data Criteria
Result
Type Salesperson Sales
Meat Davolio $450
produce Buchanan $6,328
Produce Davolio $6,544
Conditional Formatting
• Formatting Based on condition
• Gives more impact for significant data
• Catches attention and helps to make decisions
Cont..
• Use conditional formatting to help you visually explore and analyze
data, detect critical issues, and identify patterns and trends.
• Conditional formatting makes it easy to highlight interesting cells or
ranges of cells, emphasize unusual values, and visualize data by using
data bars, color scales, and icon sets that correspond to specific
variations in the data.
• A conditional format changes the appearance of cells on the basis of
conditions that you specify. If the conditions are true, the cell range is
formatted; if the conditions are false, the cell range is not formatted.
There are many built-in conditions, and you can also create your own
(including by using a formula that evaluates to True or False).
Conditional formatting that
uses cell background
colors to highlight different
product categories, a 3-
arrow icon set to show cost
trends (up, level, down),
and data bars to show
differences between
product mark-ups.
Usage and Example
• Conditional formatting allows you to automatically apply formatting
—such as colors, icons, and data bars—to one or more cells based
on the cell value. To do this, you'll need to create a conditional
formatting rule. For example, a conditional formatting rule might
be: If the value is less than $2000, color the cell red. By applying
this rule, you'd be able to quickly see which cells contain values less
than $2000.
Steps
• To create a conditional formatting rule:
• In our example, we have a worksheet containing sales data, and we'd like to see which salespeople are meeting their monthly sales
goals. The sales goal is $4000 per month, so we'll create a conditional formatting rule for any cells containing a value higher than 4000.
1.Select the desired cells for the conditional formatting rule.