Excel includes a powerful feature that allows you to dynamically change the formatting of individual cells based on the results being displayed in that cell. For instance, you could make the text in the cell larger and red if a result is less than a certain threshold. Likewise, you could color the background of a cell based on the result of a formula.
To take advantage of conditional formatting, follow these steps:
Enter your cell formula as you normally would.
Choose Conditional Formatting from the Format menu. Excel displays the Conditional Formatting dialog box.
Use the controls in the dialog box to specify the threshold or ranges you want to set for formatting to be changed.
Click on the "Format" button to edit the formatting you wish to appear when the condition is True.
Click on OK to close the Format Cells dialog box.
Click on the Add button and define more conditions (and formats), if desired.
Click on the OK button to close the Conditional Formatting dialog box.
You should now see the formatting in all of the cells that meet the condition.