Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 1
Default coloring cells

I want to alternate colors between successive rows. One blue one white, the
next one blue and the next white and so on to the end of my worksheet. It
there a easier way than to hold the control key and click on each row?


Question # 2 when I sort will the colors stay with the row or will they move
with the sort. Is there a way to get the colors to stay even when I sort?
  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 245
Default coloring cells

You can use conditional formatting which applies the colour using the Mod()
function:

http://www.ozgrid.com/Excel/alternate-row-color.htm

After sorting, every second row remains the same colour as before sorting.


Aaron Blood has a Ledger Shade addin

http://www.xl-logic.com/modules.php?...download&cid=3

You may need to join.

--
Steve

"6371" wrote in message
...
I want to alternate colors between successive rows. One blue one white,
the
next one blue and the next white and so on to the end of my worksheet. It
there a easier way than to hold the control key and click on each row?


Question # 2 when I sort will the colors stay with the row or will they
move
with the sort. Is there a way to get the colors to stay even when I sort?


  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 22,906
Default coloring cells

Select a gaggle of rows(not cells) the FormatConditional Formatting

Formula is: =MOD(SUBTOTAL(3,$A1:$A$2),2)=0

Pick your blue color and OK

Alternate row shading will survive sorting and filtering.

Or this version which will not shade blanks rows below your actual data.

=AND(MOD(SUBTOTAL(3,$A1:$A$2),2)=0,COUNTA(ROW())0 )


Gord Dibben MS Excel MVP

On Tue, 21 Apr 2009 16:58:01 -0700, 6371
wrote:

I want to alternate colors between successive rows. One blue one white, the
next one blue and the next white and so on to the end of my worksheet. It
there a easier way than to hold the control key and click on each row?


Question # 2 when I sort will the colors stay with the row or will they move
with the sort. Is there a way to get the colors to stay even when I sort?


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
macro for coloring in cells ob Excel Discussion (Misc queries) 1 December 20th 07 07:33 PM
coloring cells egarcia Excel Discussion (Misc queries) 0 November 29th 06 05:49 PM
COLORING IN CELLS jim mcgrath Excel Discussion (Misc queries) 4 November 24th 05 04:31 PM
Coloring certain cells Tim Excel Worksheet Functions 2 September 5th 05 04:01 AM
Coloring Cells Gabbi Excel Worksheet Functions 2 July 27th 05 09:54 PM


All times are GMT +1. The time now is 11:05 AM.

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

About Us

"It's about Microsoft Excel"