Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default alternate row shading on filtered data

For ease in reading a printed spreadsheet with many rows, I want to use
alternate row shading. However, I also use the auto filter to show only
rows that have a value greater than zero in a particular column. That ruins
the alternate row shading. Is there some sort of formula I can use to have
alternate row shading AFTER the filtering?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default alternate row shading on filtered data

Try this...

Assuming the full unfiltered range A2:C20
A1:C1 = column headers

Select the *entire* range A2:C20 starting from cell A2. Cell A2 will be the
active cell. The active cell is the one cell in the selected range that is
not shaded. The formula will be relative to the active cell.

Goto the menu FormatConditional Formatting
Select the Formula Is option
Enter this formula in the box on the right:
=MOD(SUBTOTAL(3,$A2:$A$20),2)=0
Click the Format button
Select the desired style(s)
OK out

--
Biff
Microsoft Excel MVP


"wallyship" wrote in message
...
For ease in reading a printed spreadsheet with many rows, I want to use
alternate row shading. However, I also use the auto filter to show only
rows that have a value greater than zero in a particular column. That
ruins
the alternate row shading. Is there some sort of formula I can use to
have
alternate row shading AFTER the filtering?



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 345
Default alternate row shading on filtered data

Use this formula in Conditional Formatting:
=MOD(SUBTOTAL(3,$A$1:$A2),2)

"wallyship" wrote:

For ease in reading a printed spreadsheet with many rows, I want to use
alternate row shading. However, I also use the auto filter to show only
rows that have a value greater than zero in a particular column. That ruins
the alternate row shading. Is there some sort of formula I can use to have
alternate row shading AFTER the filtering?

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
Alternate Row Shading (Visible Rows Only) Forgone Excel Worksheet Functions 9 September 24th 08 06:26 AM
How do I set up alternate row shading with Excel 2003? msk1944 Excel Discussion (Misc queries) 9 June 4th 08 01:15 PM
Alternate row shading with a filtered spreadsheet glenlee Excel Discussion (Misc queries) 5 December 9th 06 05:57 AM
Alternate shading colors tjsmags Excel Discussion (Misc queries) 2 September 4th 06 02:49 PM
Alternate Shading tamiluchi Excel Discussion (Misc queries) 9 April 28th 06 08:55 PM


All times are GMT +1. The time now is 09:02 PM.

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"