Friday, February 16, 2007

Conditional Formatting for Maintenance Free Formatting & Presentation

Shading alternate rows is a very common and easy way to make a table with multiple columns more readable. This is usually achieved in Excel by applying Format, Cells, Patterns, Color on alternate rows. So what's the problem? Well, if the table is then sorted, or rows are deleted or added the shading will be scrambled in the process.

Conditional formatting is great way to keep the desired shading without any effort. This is achieved by using a =ROW()=EVEN(ROW()) formula as a conditional format across the entire table as follows.

Calumo tips for better Excel spreadsheets

How does this work?

  • The formula =EVEN() rounds any number to the nearest even integer. For example =EVEN(9)  rounds to an even 10.
  • =ROW() returns the row number of the current cell.

Therefore when these two formulae are combined in a “Formula Is” condition such as "=ROW()=EVEN(ROW())", if =ROW() is an even number, the formula returns True and applies the conditional format. if =ROW() is an odd number the formula returns False and the conditional format is not applied.

We hope this tip makes things easier for you.

Business Intelligence and Performance Management Home Comments

Copyright 2006 Calumo - Calumo - All Rights Reserved
Powered By PodWorkx.com

Calumo Blog
Our Blog is an opportunity to share our perspectives and experience on Business Performance Management. We hope you will enjoy our perspective on all things related to Business Performance Management (BPM).

Please stop by on a regular basis to see what's new, and please share your own opinions directly with us. We hope this Blog will provoke some interesting thoughts.

Site Navigation?
RSS Feeds

[RSS 2.0]  

Categories
Search
Archives
<February 2007>
SunMonTueWedThuFriSat
28293031123
45678910
11121314151617
18192021222324
25262728123
45678910
Administration