Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Someone (I think) mentioned to me that there was a way in Excel 2003 to have
line formatting alternate to make a ledger-style effect (every other line is white or a color). True, or am I make-believing? Thx. -- Boris |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
True! You can do this with Conditional Formatting.
Highlight your entire worksheet (or just the area that you want shaded) Then, from the Format Menu, select "Conditional Formatting..." Change "Cell Value Is" to "Formula Is" Enter the formula: =MOD(ROW(),2)=0 Set your format Click OK That should do it. This shades all even numbered rows. If you'd rather have odd numbers shaded, then change the 0 to a 1 in the above formula. HTH, Elkar "BorisS" wrote: Someone (I think) mentioned to me that there was a way in Excel 2003 to have line formatting alternate to make a ledger-style effect (every other line is white or a color). True, or am I make-believing? Thx. -- Boris |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
A related question: is there a way to format entire rows of a spreadsheet
such that if the value or text of a cell is different than the cell above (simple example: if a2=a1, then the row is the same color (say red) as the row above; if a2 is not equal to a1, then the row color changes to no fill (white), and repeat this for all the rows in the spreadsheet. In other words I need the formula to be a relative reference to the cell above, not an absolute reference to rows 1 and 2. "Elkar" wrote: True! You can do this with Conditional Formatting. Highlight your entire worksheet (or just the area that you want shaded) Then, from the Format Menu, select "Conditional Formatting..." Change "Cell Value Is" to "Formula Is" Enter the formula: =MOD(ROW(),2)=0 Set your format Click OK That should do it. This shades all even numbered rows. If you'd rather have odd numbers shaded, then change the 0 to a 1 in the above formula. HTH, Elkar "BorisS" wrote: Someone (I think) mentioned to me that there was a way in Excel 2003 to have line formatting alternate to make a ledger-style effect (every other line is white or a color). True, or am I make-believing? Thx. -- Boris |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Conditonal Format with a date format | Excel Discussion (Misc queries) | |||
Office2000: Conditional format behaves strangely | Excel Discussion (Misc queries) | |||
can't format cell - have tried unlocking and unprotecting | Excel Discussion (Misc queries) | |||
why does currency format change to number format? | Excel Discussion (Misc queries) | |||
Keep custom format in new worksheet | Excel Discussion (Misc queries) |