Alternate Row Shading Using Conditional Formatting
One way to make your data legible is to apply cell shading to every other row in a range. Excel's Conditional Formatting feature (available in Excel or later) makes this a simple task.
- Select the range that you want to format
- Choose Format, Conditional Formatting
- In the Conditional Formatting dialog box, select Formula Is from the drop-down list, and enter this formula:
- Click the Format button, select the Patterns tab, and specify a color for the shaded rows.
- Click OK twice to return to your worksheet.
The best part is that the row shading is dynamic. You'll find that the row shading persists even if you insert or delete rows within the original range.
Excel has a long history, and it continues to evolve and change. Consequently, the tips provided here do not necessarily apply to all versions of Excel.
In particular, the user interface for Excel 2007 (and later), is vastly different from its predecessors. Therefore, the menu commands listed in older tips, will not correspond to the Excel 2007 (and later) user interface.
Browse Tips by Category
Search for Tips
Needs tips? Here are two books, with nothing but tips:
Contains more than 200 useful tips and tricks for Excel 2007 | Other Excel 2007 books | Amazon link: John Walkenbach's Favorite Excel 2007 Tips & Tricks