Applying Conditional Formatting

Excel 2016 2013 2010 2007 2003
This tip describes how to use conditional formatting for comfortable viewing results in the worksheet.

For example, if you wanted to separate all the negative figures:

Example of Conditional Formatting Rule in Excel 365

To apply the conditional formatting, follow these steps:

   1.   On the Home tab, in the Styles group, click the Conditional Formatting drop-down list, and then click New Rule...:

Conditional Formatting in Excel 365

   2.   In the New Formatting Rule dialog box:

  • In the Select a Rule Type list, select Format only cells that contain:
New Formatting Rule in Excel 365
  • Be sure that Cell Value is selected in the Format only cells with drop-down list on the left of the dialog box.
  • In the next drop-down list to the right, select the condition.

    The default is Between. Other conditions include Equal To, Greater Than, Less Than, and other possibilities. Use the drop-down list to select the appropriate condition.

  • After selecting the condition, specify a cell, value or formula for the conditional formatting.

    For example, if you select Less Than as the condition, specify a cell in the worksheet that contains a value that can be used for comparison with the cells that you are applying the conditional formatting to.

    If you enter a formula, start it with an equal sign (=).

  • Click the Format button in the New Formatting Rule dialog box and select the formatting options for your condition in the Format Cells dialog box. Then click the OK button.
New Formatting Rule in Excel 365

   3.   Click the OK button to close the New Formatting Rule dialog box.

You are returned to the worksheet. Cells that meet the condition you set up for conditional formatting will be formatted with the options you specified.

See also this tip in French: Comment utiliser la mise en forme conditionnelle.

If you have any questions or suggestions, please feel free to ask OfficeToolTips team.