Written by Allen Wyatt (last updated January 18, 2022)
This tip applies to Excel 97, 2000, 2002, and 2003
If you haven't tried out the conditional formatting features of Excel before, they can be quite handy. One way to use this feature is to cause Excel to shade every other row in a table. This is great when you have a particularly wide table, and you want to make it a bit easier to read on printouts. Simply follow these steps:
Figure 1. The Conditional Formatting dialog box.
=MOD(ROW(),2)=0
Figure 2. The Patterns tab of the Format Cells dialog box.
Note:
ExcelTips is your source for cost-effective Microsoft Excel training. This tip (2799) applies to Microsoft Excel 97, 2000, 2002, and 2003. You can find a version of this tip for the ribbon interface of Excel (Excel 2007 and later) here: Shading Rows with Conditional Formatting.
Excel Smarts for Beginners! Featuring the friendly and trusted For Dummies style, this popular guide shows beginners how to get up and running with Excel while also helping more experienced users get comfortable with the newest features. Check out Excel 2019 For Dummies today!
If you have a data table in a worksheet, and you want to shade various rows based on whatever is in the first column, ...
Discover MoreOne of the powerful features of Excel is the ability to format a cell based on the contents of that cell or another. It ...
Discover MoreTired of the default colors that Excel uses to display the row and column coordinates? You can modify the colors, but ...
Discover MoreFREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)
Got a version of Excel that uses the menu interface (Excel 97, Excel 2000, Excel 2002, or Excel 2003)? This site is for you! If you use a later version of Excel, visit our ExcelTips site focusing on the ribbon interface.
FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
Copyright © 2025 Sharon Parq Associates, Inc.
Comments