Shade Alternating Rows of a Spreadsheet

BY STANLEY ZAROWIN


How do you set up a worksheet with alternating colored rows like the traditional columnar pad design?

 There are many ways, but the easiest, for both Excel 2003 and 2007 is with a Conditional Formatting formula. Follow these steps:

In Excel 2003, position your cursor at A1 and press Ctrl+A to select all the cells on the worksheet. Or, if you just want a portion of the worksheet to be alternately colored, highlight your target range and go to the taskbar and select Format and Conditional Formatting and under Condition 1, press the down arrow and choose Formula Is and in the next box enter =MOD(ROW(),2) and click on Format and go to the Patterns tab and select your color and click on OK.

Bonus: If you subsequently add or delete columns within that range, the color pattern will automatically adjust to the size you select. And if you replace the word ROW in the formula with COLUMN, the color scheme will be installed for every other column instead of every other row.

In Excel 2007, follow the same basic procedure. On the Home ribbon, go to Conditional Formatting and New Rule.

Click on Use formula to determine which cells to format and enter the same formula as above (see screenshot below).

 

 

 

 

Then click on Format, the Fill tab and select a color.

SPONSORED REPORT

How the election may affect taxation of business income

This report summarizes recent proposals to reform the U.S. business income tax system and considers the path to enactment of any such legislation.

VIDEO

How to Excel pivot a general ledger

The general ledger is a vast historical data archive of your company's financial activities, including revenue, expenses, adjustments, and account balances. J. Carlton Collins, CPA, shows how to prepare data for, and mine data with, PivotTables.

QUIZ

Did you follow 2016’s biggest accounting news?

CPAs will remember 2016 as a year of new standards and new faces. How well did you follow the biggest accounting events? The 7 questions in this quiz will help you find out