Formatting Conditionally


You probably are asking yourself, "What is formatting conditionally?" Formatting conditionally lets you apply special formatting settings that take effect when the contents of a cell meet specified conditions. For instance, if the values fall below a specific number, you can show those values in bold pink, and if the values are greater than a specific number, you can display those values in bold blue. Excel's Conditional Formatting command helps you easily format your values based on specific conditions.

In the upcoming To Do exercise, you step through the process of setting up conditional formatting for values on the Summary sheet in the Sales workbook.

To Do: Format Values Conditionally

  1. Select the cells that contain the values you want to format conditionally; in this case, select cells B4:B8.

  2. Choose Format, Conditional Formatting. The Conditional Formatting dialog box pops open , as shown in Figure 9.4. You should see boxes for setting up Condition 1 and the Format button for specifying the format for the values.

    Figure 9.4. The Conditional Formatting dialog box.

    graphics/09fig04.jpg

  3. In the Condition 1 area, leave the Cell Value Is option. In the next box, choose Less Than, and type 500 in the last box.

  4. Click the Format button. The Format Cells dialog box appears.

  5. In the Font Style list, choose Bold, and select the pink color patch in the Color palette.

  6. Click OK.

  7. Click the Add button.

  8. In the Condition 2 area, leave the Cell Value Is option. In the next box, choose Greater Than, and type 500 in the last box.

  9. Click the Format button. The Format Cells dialog box appears.

  10. In the Font Style list, choose Bold, and select the blue color patch in the Color palette.

  11. Click OK to close the Format Cells dialog box. Click OK again to confirm your conditional formatting choices. Click any cell outside of the selected range. Excel displays numbers less than 500 in bold pink and numbers greater than 500 in bold blue.



Sams Teach Yourself Microsoft Office Excel 2003 in 24 Hours
Sams Teach Yourself Microsoft Office Excel 2003 in 24 Hours (Sams Teach Yourself in 24 Hours)
ISBN: 1435276337
EAN: 2147483647
Year: 2003
Pages: 279
Authors: Trudi Reisner

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net