- Open the worksheet.
- Select the cell range that you want to shade, or press Ctrl+A to select the whole worksheet.
- Click the Home tab.
- In the Styles group, click Conditional Formatting, and then click Manage Rules.
- Click New rule.
- Click Use a formula to determine which cells to format.
- In the Format values where this formula is true box, type =MOD(ROW(),2)=1, and then click Format.
- On the Fill tab, click the color that you want to use to shade every other row, and then click OK.
- Click OK to close the New Formatting Rule dialog box.
- Click Apply, and then click OK to close the Conditional Formatting Rules Manager dialog box.
To use the Format as Table option to shade rows in a worksheet, follow these steps:
- Open the worksheet.
- Select the cell range that you want to shade, or press Ctrl+A to select the whole worksheet.
- Click the Home tab.
- In the Styles group, click Format as Table, and then click the style of formatting that you want.
- In the Format as Table dialog box, click OK.