1. Technology
You can opt-out at any time. Please refer to our privacy policy for contact information.

Excel Format Tutorial Part 2


6 of 7

Shading Alternate Rows with Conditional Formatting
Shading Alternate Rows with Conditional Formatting

Shading Alternate Rows with Conditional Formatting

© Ted French

Applying Shading with Conditional Formatting

In addition to shading titles and other rows containing important data, it is common to shade 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 to shade 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 D6 to G10 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 D9 to G9 and D11 to G11 should now be shaded with a light green background color.

Return to Index page

©2014 About.com. All rights reserved.