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 />

FIGURE 21.8<br />

Use the New Formatting Rule dialog box to customize a color scale.<br />

An extreme color scale example<br />

It’s important to understand that color scale conditional formatting uses a gradient. For example, if you format<br />

a range using a 2-color scale, you will get a lot more than two colors. You’ll get colors with the gradient<br />

between the two specified colors.<br />

Figure 21.9 shows an extreme example that uses color scale conditional formatting on a range of 10,000<br />

cells (100 rows X 100 columns). The worksheet is zoomed down to 20% to display a very smooth 3-color<br />

gradient. The range contains formulas like this one, in cell C5:<br />

=SIN($A2)+COS(B$1)Values in column A and row 1 range from 0 to 4.0, in increments of 0.04.<br />

When viewed on your screen, the result is stunning (it loses a lot when converted to greyscale).<br />

ON the CD-ROM<br />

This workbook, named extreme color scale.xlsx, is available on the companion CD-ROM.<br />

NOTE<br />

;;;<br />

You can’t hide the cell contents when using a color scale rule, so I formatted the cells using<br />

this custom number format:<br />

429

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

Saved successfully!

Ooh no, something went wrong!