18.11.2014 Views

Microsoft Office

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Visualizing Data Using Conditional Formatting 21<br />

First, select a general rule type from the list at the top of the dialog box. The bottom part of the dialog box<br />

varies, depending on your selection at the top. After you specify the rule, click the Format button to specify<br />

the type of formatting to apply if the condition is met. An exception is the first rule type, which doesn’t<br />

have a Format button (it uses graphics rather than cell formatting).<br />

Following is a summary of the rule types:<br />

n<br />

n<br />

n<br />

n<br />

n<br />

n<br />

Format all cells based on their values: Use this rule type to create rules that display data bars,<br />

color scales, or icon sets.<br />

Format only cells that contain: Use this rule type to create rules that format cells based on<br />

mathematical comparisons (greater than, less than, greater than or equal to, less than or equal to,<br />

equal to, not equal to, between, not between). You can also create rules based on text, dates,<br />

blanks, nonblanks, and errors. This rule type is very similar to how conditional formatting was set<br />

up in previous versions of Excel.<br />

Format only top or bottom ranked values: Use this rule type to create rules that involve identifying<br />

cells in the top n, top n percent, bottom n, and bottom n percent.<br />

Format only values that are above or below average: Use this rule type to create rules that<br />

identify cells that are above average, below average, or within a specified standard deviation from<br />

the average.<br />

Format only unique or duplicate values: Use this rule type to create rules that format unique or<br />

duplicate values in a range.<br />

Use a formula to determine which cells to format: Use this rule type to create rules based on a<br />

logical formula. See “Formula-Based Conditions,” later in this chapter.<br />

Conditional Formats That Use Graphics<br />

This section describes the three conditional formatting options that are new to Excel 2007: data bars, color<br />

scales, and icons sets. These types of conditional formatting can be useful for visualizing the values in a<br />

range.<br />

Using data bars<br />

The data bars conditional format displays horizontal bars directly in the cell. Length of the bar is based on the<br />

value of the cell, relative to the other values in the range.<br />

A data bar example<br />

Figure 21.4 shows a simple example of data bars. It’s a list of customers and sales amounts. I applied data<br />

bar conditional formatting to the values in column B. You can tell at a glance where the higher values are.<br />

ON the CD-ROM<br />

The examples in the section are available on the companion CD-ROM. The workbook is named<br />

data bars examples.xlsx.<br />

425

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!