1. Computing & Technology

Discuss in my forum

Basic Excel Ecourse Tutorial Step 13

By , About.com Guide

Excel Alternate Row Shading
Excel Alternate Row Shading

Excel Alternate Row Shading

© Ted French

Excel Alternate Row Shading Using Conditional Formatting

In addition to shading titles and other rows containing important data, it is common to add shading to alternate rows of data in a table to make it easier to read that information.

While shading alternate rows is a relatively easy job to do manually for a small table, in large ones it can be an onerous task.

A better way of shading alternate rows in large tables is to use conditional formatting.

Conditional formatting allows you to apply chosen format options only when certain conditions are met.

Tutorial Steps

For help with this example, see the image above.

  1. Drag select cells A8 to F11 to highlight them

  2. Click on the Home tab

  3. Click on the Conditional Formatting icon on the ribbon to open the drop down menu

  4. Choose New Rule option to open the New Formatting Rule dialog box

  5. Click on the Use a Formula to determine which cells to format option from the list at the top of the dialog box

  6. Enter the following formula in to the box below the Format values where this value is true option in the bottom half of the dialog box

    =MOD( ROW( ), 2) =1

  7. Click the Format button to open the Format Cells dialog box

  8. Click the Fill tab to see the background color options

  9. Select the green shaded box that is second from the top in the color samples

  10. Click OK twice to close the dialog box and return to the worksheet

  11. Rows 9 and 11 should now be shaded with a light green background color

©2012 About.com. All rights reserved.

A part of The New York Times Company.