11.08.2013 Views

Excel's Formula - sisman

Excel's Formula - sisman

Excel's Formula - sisman

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

520<br />

Part V: Miscellaneous <strong>Formula</strong> Techniques<br />

Conditional formatting is a useful way to quickly identify erroneous cell entries or cells of a particular<br />

type. You can use a format (such as bright red cell shading) to make particular cells easy<br />

to identify.<br />

Figure 19-1 shows a worksheet with nine ranges, each with a different type of conditional formatting<br />

rule applied. Here’s a brief explanation of each:<br />

Greater than 10: Values greater than 10 are highlighted with a different background<br />

color. This rule is just one of many numeric value-related rules that you can apply.<br />

Above average: Values that are higher than the average value are highlighted.<br />

Duplicate values: Values that appear more than one time are highlighted.<br />

Words that contain X: If the cell contains the letter X (upper- or lowercase), the cell is<br />

highlighted.<br />

Data Bars: Each cell displays a horizontal bar, proportional to its value.<br />

Color Scale: The background color varies, depending on the value of the cells. You can<br />

choose from several different color scales or create your own.<br />

Icon Set: This is one of many icon sets, which display a small graphic in the cell. The<br />

graphic varies, depending on the cell value.<br />

Icon Set: This is another icon set, with all but one icon hidden.<br />

Custom Rule: The rule for this checkerboard pattern is based on a formula:<br />

=MOD(ROW(),2)=MOD(COLUMN(),2)<br />

This workbook, named conditional formatting examples.xlsx, is available on<br />

the companion CD-ROM.<br />

Specifying conditional formatting<br />

To apply a conditional formatting rule to a cell or range, select the cells and then use one of the<br />

commands on the Home➜Styles➜Conditional Formatting drop-down list to specify a rule. The<br />

choices are<br />

Highlight Cell Rules: Examples include highlighting cells that are greater than a particular<br />

value, are between two values, contain specific text string, or are duplicated.<br />

Top Bottom Rules: Examples include highlighting the top ten items, the items in the bottom<br />

20 percent, or items that are above average.<br />

Data Bars: This applies graphic bars directly in the cells, proportional to the cells’ values.<br />

Color Scales: This applies background color, proportional to the cells’ values.

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

Saved successfully!

Ooh no, something went wrong!