Excel – Format table with Zebra Stripes
November 11, 2007
This type of formatting of table is easily possible with Excel 2007, but before that it was a pain.
Let’s see how we can use conditional formatting to our advantage in this area.
‘Zebra Stripes’ is basically coloring your table’s each alternate row, this will increase the readability of the table.
Let’s see how to achieve this in step by step mode.
1. Select the entire table.
2. Goto Format – Conditional formatting
3. Select ‘Formula Is’ ption in 1st Dropdown
4. Enter Formula =Mod(Row(),2)=0
5. Select the color you want to fill every alternate row and click ok
The table you selected will get filled with White and other color you selected,
If you want it to be filled with other color than white You can also use following additional conditioning.
6. Goto Format – Conditional formatting
7. Select ‘Formula Is’ ption in 1st Dropdown
8. Enter Formula =Mod(Row(),2)=1
9. Select the color you want to fill every alternate row instead of white and click ok
You can use this same way for columns as well with Formula Column() instead of Row() above.
Hope you find this useful and use it in your daily works.
Please comment me your feedbacks and suggestions you can also mail me your excel queries.
Entry Filed under: Conditional Fomatting, Excel, Formula, MS EXCEL, MSEXCEL, Range. Tags: Advanced, Conditional Formatting, Excel, Formula, MSEXCEL, Table Formatting, Zebra Stripes.
7 Comments Add your own
Leave a Comment
Some HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <pre> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>
Trackback this post | Subscribe to the comments via RSS Feed
1.
Connor | May 6, 2008 at 6:04 pm
Thanks for the tip, Raj. It’s just what I needed.
=Connor from New York=
2.
Bob Excel | June 24, 2008 at 10:33 pm
Thanks for the tip.
3.
jason | September 9, 2008 at 2:53 pm
worked great, thanks for the instructions.
4.
Worthstream | October 21, 2008 at 10:22 am
Wonderful, thank you
Keep in mind that in excel 2003 (and up?) the formula needs a semicolon:
=Mod(Row();2)=0
5.
nippit | December 21, 2008 at 8:38 pm
Thank you so much. Something i could not think of…..
6.
mpb | January 11, 2009 at 5:14 pm
Thanks alot!
For all those, who have a german version of excel, the formula then is: =Rest(Zeile();2)=0
7.
zuhra | April 21, 2009 at 4:35 pm
works like a charm! thanks…