Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Conditional formatting?

Hi, I want to format a sheet to show on each every 5 rows to a different
color, i.e. R5, R10,R15.....,R150,R155 all in yellow and the rest are in
normal white.
How can I do that?
Thank you.
GL


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Conditional formatting?


try this as the formula in conditional format - result will be zer
every 5th row

=MOD(ROW(),5)=

--
duan

-----------------------------------------------------------------------
duane's Profile: http://www.excelforum.com/member.php...fo&userid=1162
View this thread: http://www.excelforum.com/showthread.php?threadid=27806

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Conditional formatting?

Hi GL,

Select the region you want this applied to (possibly the entire sheet in
your case) and then go to Format | Conditional Formatting... | select
"Formula Is" and then put for the formula: =MOD(ROW(), 5)=0

Then click the "Format..." button and select yellow color under the Pattern
tab.

I can show you how to do it in VBA if you want, but this is probably easier.

-Erik

"G Lam" wrote in message
...
Hi, I want to format a sheet to show on each every 5 rows to a different
color, i.e. R5, R10,R15.....,R150,R155 all in yellow and the rest are in
normal white.
How can I do that?
Thank you.
GL




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Conditional formatting?

Euane and Erik,

I did write the openbook event in VBA to get the same result, but this is a
lot easer and faster.
Thank you.

GL

"Erik Oveson [MSFT]" ¦b¶l¥ó
¤¤¼¶¼g...
Hi GL,

Select the region you want this applied to (possibly the entire sheet in
your case) and then go to Format | Conditional Formatting... | select
"Formula Is" and then put for the formula: =MOD(ROW(), 5)=0

Then click the "Format..." button and select yellow color under the

Pattern
tab.

I can show you how to do it in VBA if you want, but this is probably

easier.

-Erik

"G Lam" wrote in message
...
Hi, I want to format a sheet to show on each every 5 rows to a different
color, i.e. R5, R10,R15.....,R150,R155 all in yellow and the rest are in
normal white.
How can I do that?
Thank you.
GL






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
How can I convert conditional formatting into explicit formatting? Patrick Harris Excel Discussion (Misc queries) 0 April 9th 09 12:00 AM
Conditional formatting--different formatting depending on cell con Tammy S. Excel Discussion (Misc queries) 3 March 30th 09 08:11 PM
Formatting Conditional Formatting Icon Sets The Rook[_2_] Excel Discussion (Misc queries) 3 March 7th 09 08:48 PM
Protect Cell Formatting including Conditional Formatting Mick Jennings Excel Discussion (Misc queries) 5 November 13th 07 05:32 PM
Conditional Formatting that will display conditional data BrainFart Excel Worksheet Functions 1 September 13th 05 05:45 PM


All times are GMT +1. The time now is 01:09 AM.

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"