What Is Conditional Formatting
What Is Conditional Formatting
What Is Conditional Formatting
Before we walk you through creating and applying conditional formatting, you should
understand the basics of how it works. The following structural aspects of Excel
conditional formatting will guide how you create and apply rules:
Conditional Formatting
Conditional formatting in Excel enables you to highlight cells with a certain color, depending on the cell's
value.
Highlight Cells Rules
To highlight cells that are greater than a value, execute the following steps.
5. Click OK.
Result. Excel highlights the cells that are greater than 80.
5. Click OK.
Result. Excel calculates the average (42.5) and formats the cells that are above this average.
Note: you can also use this category (see step 3) to highlight the top n items, the top n percent, the bottom
n items, the bottom n percent or cells that are below average.
Conditional Formatting with Formulas
Take your Excel skills to the next level and use a formula to determine which cells to format. Formulas
that apply conditional formatting must evaluate to TRUE or FALSE.
Explanation: always write the formula for the upper-left cell in the selected range. Excel automatically
copies the formula to the other cells. Thus, cell A2 contains the formula =ISODD(A2), cell A3 contains the
formula =ISODD(A3), etc.
Explanation: we fixed the reference to column C by placing a $ symbol in front of the column letter ($C2).
As a result, cell B2, C2 and cell D2 also contain the formula =$C2="USA", cell A3, B3, C3 and D3
contain the formula =$C3="USA", etc.