Excel Conditional Formatting
Excel Conditional Formatting
In Excel 2007:
1. Select range A2:A5
2. On the Ribbon, go to the Home tab and click Conditional Formatting
3. Click New Rule
4. Click Use a Formula to Determine Which Cells to Format
5. For the formula, enter
=A2=A1
6. Click the Format button.
7. Select a font colour to match the cell colour.
8. Click OK, click OK
Use Excel conditional formatting to highlight items that are in a list on the
worksheet.:
1. Create a list of items you want to highlight. If the items are on a different
sheet than the conditional formatting, name the list.
2. Select range A2:A7
3. Choose Format|Conditional Formatting
4. From the first dropdown, choose Formula Is
5. For the formula, enter
=COUNTIF($C$2:$C$4,A2)
or, if the list is named, use the name in the formula:
=COUNTIF(CodeList,A2)
6. Click the Format button.
7. Select a font colour for highlighting.
8. Click OK, click OK
You can use Excel conditional formatting to highlight the ticket numbers that
have been drawn in a lottery. In this example the ticket numbers are in cells
B2:G4, and the drawn numbers are entered in cells B6:G6
You can use Excel conditional formatting to highlight payments that are due in
the next thirty days. In this example, Due dates are entered in cells A2:A4.