Applying Conditional Formatting

To make data easier to interpret, use the conditional formatting feature to automatically format the data. With conditional formats, values are selected if they meet certain criteria, and the cell range is formatted accordingly. Conditional formats visually highlight the distribution and variation of data.

With regard to our example, the condition could be “Format in green all cells in the Profit Margin column that contain a value of at least $200,000.” To enter this format, perform the following steps:

  1. Select the cell range in the Profit Margin column.

  2. Click the Conditional Formatting button in the Style group on the Home tab, and then click New Rule (see Figure 1-32).

    Creating a new rule.

    Figure 1-32. Creating a new rule.

  3. In the New Formatting Rule dialog box, under Select A Rule Type, select Format Only Cells That Contain.

  4. Specify the settings in the Edit The Rule Description pane. Select Cell Value and Greater Than Or Equal To in the list boxes.

  5. Enter the value 200000 in the third field (see Figure 1-33).

    Defining the formatting rule.

    Figure 1-33. Defining the formatting rule.

  6. Click the Format button.

  7. Click the Fill tab of the Format Cells dialog box, and select a background color (see Figure 1-34).

    The condition is displayed in color.

    Figure 1-34. The condition is displayed in color.

  8. Click OK twice to confirm your selection. The values in the Profit margin column are displayed in the color you selected if the condition is met (see Figure 1-35).

Values meeting the condition have a green background.

Figure 1-35. Values meeting the condition have a green background.

You can use conditional formatting to automatically display the values in your table in different colors to give them significant visual impact.

You can also use other color fill options or an icon set to format cells. Conditions can apply to text, numeric, date, or time values, as well as to values that fall below or above the average.

Data bars are also a quick way to visually highlight values in tables (see Figure 1-36).

Using formats to highlight numeric values.

Figure 1-36. Using formats to highlight numeric values.

There are many different options to choose from.

Tip: Apply conditional formats to highlight data

In Excel 2007 and Excel 2010, conditional formats have improved significantly (see Figure 1-37). Now you can add not only colors but also arrows, traffic lights, and other icons. This functionality is also referred to as KPI (Key Performance Indicators).

New elements for conditional formats in Excel 2007 and Excel 2010.

Figure 1-37. New elements for conditional formats in Excel 2007 and Excel 2010.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.135.204.0