Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I want to create a simple chart with alternating row colors to easily read
data. When I auto-filter the data it moves the cell color. I want to keep nice alternating rows. |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Try this conditional format formula,
taken from a post by Tom Ogilvy, http://tinyurl.com/dsu87 " If the hidden rows are cause by applying a filter then this formula will work: =MOD(SUBTOTAL(3,$A$1:A1),2)=0 Select the rows to format (this assumes the formatting starts with row 1) Enter the formula as if it were for the the currently active cell (in this case A1). The range must be applied to a column that will contain values in each visible cell in the column. " The formula above will also take care of the normal unfiltered situation If it's without filtering, then we could just use: =MOD(ROW(),2)=0 as the cond format formula -- Max Singapore http://savefile.com/projects/236895 xdemechanik --- "Tony" wrote: I want to create a simple chart with alternating row colors to easily read data. When I auto-filter the data it moves the cell color. I want to keep nice alternating rows. |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Max
Thanks for posting. I thought the =MOD(ROW(),2)=0 would stick through filtering, but my test data was spurious......who woulda guessed?<g Gord On Wed, 20 Dec 2006 17:47:00 -0800, Max wrote: Try this conditional format formula, taken from a post by Tom Ogilvy, http://tinyurl.com/dsu87 " If the hidden rows are cause by applying a filter then this formula will work: =MOD(SUBTOTAL(3,$A$1:A1),2)=0 Select the rows to format (this assumes the formatting starts with row 1) Enter the formula as if it were for the the currently active cell (in this case A1). The range must be applied to a column that will contain values in each visible cell in the column. " The formula above will also take care of the normal unfiltered situation If it's without filtering, then we could just use: =MOD(ROW(),2)=0 as the cond format formula Gord Dibben MS Excel MVP |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
No prob, Gord <g. Cheers
-- Max Singapore http://savefile.com/projects/236895 xdemechanik --- Gord Dibben wrote: Max Thanks for posting. I thought the =MOD(ROW(),2)=0 would stick through filtering, but my test data was spurious......who woulda guessed?<g Gord |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Tony
Select the rows you want with alternating shading. FormatConditional FormattingFormula is: =MOD(ROW(),2)=0 Format to a color and OK Alternating row colrs will stick through filtering. Gord Dibben MS Excel MVP On Wed, 20 Dec 2006 15:55:12 -0800, Tony wrote: I want to create a simple chart with alternating row colors to easily read data. When I auto-filter the data it moves the cell color. I want to keep nice alternating rows. |
#6
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Not correct...........please see Max's post for correct.
Gord On Wed, 20 Dec 2006 17:49:36 -0800, Gord Dibben <gorddibbATshawDOTca wrote: Tony Select the rows you want with alternating shading. FormatConditional FormattingFormula is: =MOD(ROW(),2)=0 Format to a color and OK Alternating row colrs will stick through filtering. Gord Dibben MS Excel MVP On Wed, 20 Dec 2006 15:55:12 -0800, Tony wrote: I want to create a simple chart with alternating row colors to easily read data. When I auto-filter the data it moves the cell color. I want to keep nice alternating rows. Gord Dibben MS Excel MVP |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Auto filter by background color. | New Users to Excel | |||
Excel 2003 Font Color and Background Color | Excel Discussion (Misc queries) | |||
Cell color based upon cell value | Excel Discussion (Misc queries) | |||
background color of my cell does not change | Excel Discussion (Misc queries) | |||
Excel Cell Background Colors Disappeared | Excel Discussion (Misc queries) |