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

Tax reform changes are now in effect

With all the recent tax law changes, this year it’s more important than ever to make sure your clients’ tax situations are squared away before year end. This report provides necessary guidance to ensure 2019 starts without a hitch.

PODCAST

Using drones to enhance audits

Hermann Sidhu, CPA, global assurance digital leader at EY, walks us through EY’s exciting new project to use drones to help audit large warehouses and outdoor inventories.