Even though Excel 2007 comes with its own built-in conditional formatting rules, there are times when you will want to create your own. For example, say you want to highlight the sales figures that occur on Sundays in the worksheet shown in Figure A.
Follow these steps:
- Select A1:E21
- On the Home tab, click Conditional Formatting and then click New Rule.
- In the Select A Rule Type box, click Use A Formula To Determine Which Cells To Format.
- Click in the Format Values Where The Formula Is True box and enter the formula:
- Click the Format button, select Yellow under Background Color in the Fill tab, and click OK.
As you can see in Figure C, Excel highlights all rows pertaining to Sunday sales.
Miss an Excel tip?
Check out the Microsoft Excel archive and catch up on other Excel tips.
Help users increase productivity by automatically signing up for TechRepublic's free Microsoft Office Suite newsletter, featuring Word, Excel, and Access tips, delivered each Wednesday.