Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 921
Default How do I create alternating row colors in excel?

I am trying to create alternating row colors. So the first row is a shade of
white and the second row would be a gray color and repeats continuously
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 860
Default How do I create alternating row colors in excel?

Hi Jeff,

Check out this link
http://xldynamic.com/source/xld.CF.html#rows

HTH
Martin


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,101
Default How do I create alternating row colors in excel?

One way.

Select the rows you want and then select format - conditional formatting -
formula is and enter the formula

=MOD(ROW(),2)

and then select your non-white colour.

Mike

"Jeff" wrote:

I am trying to create alternating row colors. So the first row is a shade of
white and the second row would be a gray color and repeats continuously

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 353
Default How do I create alternating row colors in excel?

Select the area you wish to have shaded and select: format, conditional
formatting from the menu bar - click the list button to change Cell Value is:
to Formula is: and enter the following:
=MOD(ROW(),2)=0
click the format button and pattern tab to set a background color of gray.
Click okay and even rows should now be gray, while odd rows are still white.
Use:
=MOD(ROW(),2)=1
instead if you wish to reverse that.

"Jeff" wrote:

I am trying to create alternating row colors. So the first row is a shade of
white and the second row would be a gray color and repeats continuously

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 921
Default How do I create alternating row colors in excel?

Well I tried what you guys said it wasnt working. However what I did was in
ms excel 07 underneath conditional formatting on the HOME tab I clicked
format as a table and there was different layouts of colors and that
worked....thanks

"MartinW" wrote:

Hi Jeff,

Check out this link
http://xldynamic.com/source/xld.CF.html#rows

HTH
Martin





  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 353
Default How do I create alternating row colors in excel?

Well... to use conditional formatting to color your rows, just in case you
get tired of the table stuff... and for anyone else reading this that has '07:
Select your range.
On the Home Tab, in the Styles Section, click Conditional Formatting.
Select New Rule.
Click Use a formula to determine which cells to format.
Enter the formula:
=MOD(ROW(),2)=0
click the Format button and Fill tab to set a background color of your choice.
Click OK and OK and admire your handiwork!


"Jeff" wrote:

Well I tried what you guys said it wasnt working. However what I did was in
ms excel 07 underneath conditional formatting on the HOME tab I clicked
format as a table and there was different layouts of colors and that
worked....thanks

"MartinW" wrote:

Hi Jeff,

Check out this link
http://xldynamic.com/source/xld.CF.html#rows

HTH
Martin



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Alternating BG colors between groups of rows WhiteFantom Excel Discussion (Misc queries) 2 December 16th 06 06:05 PM
create chart /table excel-save, close & reopen colors change? Why Anne Charts and Charting in Excel 1 July 4th 06 09:16 PM
shade alternating rows in excel Matt8301 Excel Discussion (Misc queries) 2 July 28th 05 08:54 PM
How do I create custom fill colors (for cells) in Excel 2002? rob653 Excel Discussion (Misc queries) 2 June 12th 05 03:25 PM
Alternating colors for rows jp Excel Discussion (Misc queries) 1 December 28th 04 09:00 PM


All times are GMT +1. The time now is 09:44 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"