Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 11
Default Automatically have even numbered rows shaded gray?

I have a big long spreadsheet (great description!). Right now i'm using the
AutoFormat option to make every other row (e.g. rows 2, 4, 6, 8, etc...) have
a color shade of light gray.

The complication of this is:
1) Due to length and amount of data in spreadsheet, takes a LONG time to
make the change
2) Have to repeatedly re-AutoFormat as I add more information to the
spreadsheet
3) Because of some special titling at the top of the sheet, I have to
manually select a few rows down from the top, then select the bottom-most row
before AutoFormatting

I'm wondering if somebody could inform me of a way to have Excel
automatically do the gray cell shading on-the-fly as i enter data, or
automatically have every other row starting from a certain cell onwards have
gray shading.

I'm thinking this would use conditional formatting, but i'm horrible at math
and formulas. Since I need the shading to start at a certain row, please let
me know what cell number i should be inputting into your formula.

Thanks!!
  #2   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 6,582
Default Automatically have even numbered rows shaded gray?

Select the entire worksheet, go to Format menu Conditional Formatting,
select Formula Is, and enter a formula like this:

=AND(ROW()5,MOD(ROW(),2)=1)

where ROW()5 means it will work on row numbers greater than 5.
MOD(ROW(),2)=1 means it will work on odd rows; use =0 for it to shade even
rows. Then choose a format for this condition.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
http://PeltierTech.com
_______


"phillr" wrote in message
...
I have a big long spreadsheet (great description!). Right now i'm using the
AutoFormat option to make every other row (e.g. rows 2, 4, 6, 8, etc...)
have
a color shade of light gray.

The complication of this is:
1) Due to length and amount of data in spreadsheet, takes a LONG time to
make the change
2) Have to repeatedly re-AutoFormat as I add more information to the
spreadsheet
3) Because of some special titling at the top of the sheet, I have to
manually select a few rows down from the top, then select the bottom-most
row
before AutoFormatting

I'm wondering if somebody could inform me of a way to have Excel
automatically do the gray cell shading on-the-fly as i enter data, or
automatically have every other row starting from a certain cell onwards
have
gray shading.

I'm thinking this would use conditional formatting, but i'm horrible at
math
and formulas. Since I need the shading to start at a certain row, please
let
me know what cell number i should be inputting into your formula.

Thanks!!



  #3   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 2,344
Default Automatically have even numbered rows shaded gray?

Hi,

If you want odd rows colored the formula is

=MOD(ROW(),2)

If you want even rows colored use

=MOD(ROW(),2)=0

These go into the conditional formatting area. Start by hightlighting the
range you want to work with.

--
Thanks,
Shane Devenshire


"Jon Peltier" wrote:

Select the entire worksheet, go to Format menu Conditional Formatting,
select Formula Is, and enter a formula like this:

=AND(ROW()5,MOD(ROW(),2)=1)

where ROW()5 means it will work on row numbers greater than 5.
MOD(ROW(),2)=1 means it will work on odd rows; use =0 for it to shade even
rows. Then choose a format for this condition.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
http://PeltierTech.com
_______


"phillr" wrote in message
...
I have a big long spreadsheet (great description!). Right now i'm using the
AutoFormat option to make every other row (e.g. rows 2, 4, 6, 8, etc...)
have
a color shade of light gray.

The complication of this is:
1) Due to length and amount of data in spreadsheet, takes a LONG time to
make the change
2) Have to repeatedly re-AutoFormat as I add more information to the
spreadsheet
3) Because of some special titling at the top of the sheet, I have to
manually select a few rows down from the top, then select the bottom-most
row
before AutoFormatting

I'm wondering if somebody could inform me of a way to have Excel
automatically do the gray cell shading on-the-fly as i enter data, or
automatically have every other row starting from a certain cell onwards
have
gray shading.

I'm thinking this would use conditional formatting, but i'm horrible at
math
and formulas. Since I need the shading to start at a certain row, please
let
me know what cell number i should be inputting into your formula.

Thanks!!




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
inserting rows automatically? [email protected] Excel Discussion (Misc queries) 3 June 6th 06 01:38 PM
resetting last cell jagdish.eashwar Excel Discussion (Misc queries) 11 March 31st 06 02:06 AM
Copy Rows to another Sheet Automatically Tim & Holly Excel Worksheet Functions 2 March 7th 06 12:53 PM
Automatically insert/delete rows to be x apart Mr_Flibble Excel Discussion (Misc queries) 5 February 17th 06 04:04 AM
automatically numbering rows cox ng \(1\) Excel Discussion (Misc queries) 2 January 16th 06 07:44 PM


All times are GMT +1. The time now is 02:13 AM.

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

About Us

"It's about Microsoft Excel"