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: , , , , , , .

7 Comments Add your own

  • 1. Connor  |  May 6, 2008 at 6:04 pm

    Thanks for the tip, Raj. It’s just what I needed.

    =Connor from New York=

    Reply
  • 2. Bob Excel  |  June 24, 2008 at 10:33 pm

    Thanks for the tip.

    Reply
  • 3. jason  |  September 9, 2008 at 2:53 pm

    worked great, thanks for the instructions.

    Reply
  • 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

    Reply
  • 5. nippit  |  December 21, 2008 at 8:38 pm

    Thank you so much. Something i could not think of…..

    Reply
  • 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

    Reply
  • 7. zuhra  |  April 21, 2009 at 4:35 pm

    works like a charm! thanks…

    Reply

Leave a Comment

Required

Required, hidden

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


Archives

Recent Comments

rshewade on Text Split with Excel Formula …
Tweety22 on Text Split with Excel Formula …
rotem on Excel Function – LA…
rshewade on Text Split with Excel Formula …
arindam on Text Split with Excel Formula …

Blog Stats

Tags

Advanced Conditional Formatting Excel excel functions Formula Functions help Large MS EXCEL MSEXCEL Named Ranges pivot table PivotTable ranges rare Shortcut Keys Table Formatting text text formula text separate text split tips Top10 tricks Useful Zebra Stripes

Recent Posts

Blogroll