PC Review


Reply
Thread Tools Rate Thread

Alternate row colouring that works with filtering?

 
 
StargateFanFromWork
Guest
Posts: n/a
 
      23rd Feb 2007
I just noticed something on a new workbook I've made. The regular alternate
row colouring using the format "=MOD(ROW(),2)=0" doesn't accommodate
filtering. The rows don't come out alternately coloured, sometimes several
rows have the same yellow or white, etc. I'm guessing that they're actually
coming out based on their original positions in the workbook.

Is there anything that produces alternate row colouring when filtering
columns that still works with unfiltered rows?

Thanks.


 
Reply With Quote
 
 
 
 
Debra Dalgleish
Guest
Posts: n/a
 
      23rd Feb 2007
You can use a subtotal in the formula, e.g.:

=MOD(SUBTOTAL(3,$A$1:$A2),2)

There's an example here:

http://www.contextures.com/xlCondFormat03.html#Filter

StargateFanFromWork wrote:
> I just noticed something on a new workbook I've made. The regular alternate
> row colouring using the format "=MOD(ROW(),2)=0" doesn't accommodate
> filtering. The rows don't come out alternately coloured, sometimes several
> rows have the same yellow or white, etc. I'm guessing that they're actually
> coming out based on their original positions in the workbook.
>
> Is there anything that produces alternate row colouring when filtering
> columns that still works with unfiltered rows?


--
Debra Dalgleish
Contextures
http://www.contextures.com/tiptech.html

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Conditional Formatting & Alternate Line Colouring Glitch - 2007 divvyboy Microsoft Access Reports 0 25th Jun 2009 10:39 AM
Alternate row colouring that also works when sheet is filtered? StargateFanNotAtHome@mailinator.com Microsoft Excel Discussion 20 19th Mar 2009 07:31 PM
Row colouring that accommodates filtering? StargateFanFromWork Microsoft Excel Discussion 1 17th May 2007 10:45 PM
Colouring alternate detail lines code doesn't work Daveo Microsoft Access Reports 1 23rd Nov 2006 03:10 PM
Colouring text in Works spreadsheets =?Utf-8?B?dHJlYmxlY2h1Y2s=?= Windows XP Help 1 17th Mar 2004 03:50 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:07 AM.