PC Review


Reply
Thread Tools Rate Thread

Customizing row color

 
 
Jack
Guest
Posts: n/a
 
      24th Jul 2009
Hi,
I need to have an excel worksheet where the first row is yellow, the second
is green, the third red and the forth white. Then I need to repeat these
through the worksheet. The columns are between A and F. I am new to excel
programming. How does one approach this issue. I appreciate any help for
resolution. Thanks.
 
Reply With Quote
 
 
 
 
Patrick Molloy
Guest
Posts: n/a
 
      24th Jul 2009
as you only have three colors, you can use Conditional Formatting

use forrmula is and set these to

1) =MOD(ROW(),4)=1 set pattern to pastel yellow
2) =MOD(ROW(),4)=2 set pattern to pastel green
3) =MOD(ROW(),4)=3 set pattern to pastel red

white is the default


"Jack" <(E-Mail Removed)> wrote in message
news:83A2EBE4-CB6C-4A12-B332-(E-Mail Removed)...
> Hi,
> I need to have an excel worksheet where the first row is yellow, the
> second
> is green, the third red and the forth white. Then I need to repeat these
> through the worksheet. The columns are between A and F. I am new to excel
> programming. How does one approach this issue. I appreciate any help for
> resolution. Thanks.


 
Reply With Quote
 
Jack
Guest
Posts: n/a
 
      24th Jul 2009
Thanks Patrick for your help. I have put the first formula succesfully in the
formula section. This took care of the first color. How would I put the rest
two formulas. Thanks.

"Patrick Molloy" wrote:

> as you only have three colors, you can use Conditional Formatting
>
> use forrmula is and set these to
>
> 1) =MOD(ROW(),4)=1 set pattern to pastel yellow
> 2) =MOD(ROW(),4)=2 set pattern to pastel green
> 3) =MOD(ROW(),4)=3 set pattern to pastel red
>
> white is the default
>
>
> "Jack" <(E-Mail Removed)> wrote in message
> news:83A2EBE4-CB6C-4A12-B332-(E-Mail Removed)...
> > Hi,
> > I need to have an excel worksheet where the first row is yellow, the
> > second
> > is green, the third red and the forth white. Then I need to repeat these
> > through the worksheet. The columns are between A and F. I am new to excel
> > programming. How does one approach this issue. I appreciate any help for
> > resolution. Thanks.

>
>

 
Reply With Quote
 
Rick Rothstein
Guest
Posts: n/a
 
      24th Jul 2009
Press the Add button on the Conditional Formatting dialog box.

--
Rick (MVP - Excel)


"Jack" <(E-Mail Removed)> wrote in message
news:18CDB40E-D7E8-43FA-B1FD-(E-Mail Removed)...
> Thanks Patrick for your help. I have put the first formula succesfully in
> the
> formula section. This took care of the first color. How would I put the
> rest
> two formulas. Thanks.
>
> "Patrick Molloy" wrote:
>
>> as you only have three colors, you can use Conditional Formatting
>>
>> use forrmula is and set these to
>>
>> 1) =MOD(ROW(),4)=1 set pattern to pastel yellow
>> 2) =MOD(ROW(),4)=2 set pattern to pastel green
>> 3) =MOD(ROW(),4)=3 set pattern to pastel red
>>
>> white is the default
>>
>>
>> "Jack" <(E-Mail Removed)> wrote in message
>> news:83A2EBE4-CB6C-4A12-B332-(E-Mail Removed)...
>> > Hi,
>> > I need to have an excel worksheet where the first row is yellow, the
>> > second
>> > is green, the third red and the forth white. Then I need to repeat
>> > these
>> > through the worksheet. The columns are between A and F. I am new to
>> > excel
>> > programming. How does one approach this issue. I appreciate any help
>> > for
>> > resolution. Thanks.

>>
>>


 
Reply With Quote
 
Jack
Guest
Posts: n/a
 
      24th Jul 2009
Thanks Rick for your help. When I added twice and put the formula as per
Patrick and then clicked ok nothing else changed except for the color pattern
I already had. When I went back to the conditional formatting I saw that the
added patterns have disappeared. May be I need to save the spreadsheet. Any
thoughts


"Rick Rothstein" wrote:

> Press the Add button on the Conditional Formatting dialog box.
>
> --
> Rick (MVP - Excel)
>
>
> "Jack" <(E-Mail Removed)> wrote in message
> news:18CDB40E-D7E8-43FA-B1FD-(E-Mail Removed)...
> > Thanks Patrick for your help. I have put the first formula succesfully in
> > the
> > formula section. This took care of the first color. How would I put the
> > rest
> > two formulas. Thanks.
> >
> > "Patrick Molloy" wrote:
> >
> >> as you only have three colors, you can use Conditional Formatting
> >>
> >> use forrmula is and set these to
> >>
> >> 1) =MOD(ROW(),4)=1 set pattern to pastel yellow
> >> 2) =MOD(ROW(),4)=2 set pattern to pastel green
> >> 3) =MOD(ROW(),4)=3 set pattern to pastel red
> >>
> >> white is the default
> >>
> >>
> >> "Jack" <(E-Mail Removed)> wrote in message
> >> news:83A2EBE4-CB6C-4A12-B332-(E-Mail Removed)...
> >> > Hi,
> >> > I need to have an excel worksheet where the first row is yellow, the
> >> > second
> >> > is green, the third red and the forth white. Then I need to repeat
> >> > these
> >> > through the worksheet. The columns are between A and F. I am new to
> >> > excel
> >> > programming. How does one approach this issue. I appreciate any help
> >> > for
> >> > resolution. Thanks.
> >>
> >>

>
>

 
Reply With Quote
 
Jack
Guest
Posts: n/a
 
      24th Jul 2009
Never mind Rick. I got it.

"Rick Rothstein" wrote:

> Press the Add button on the Conditional Formatting dialog box.
>
> --
> Rick (MVP - Excel)
>
>
> "Jack" <(E-Mail Removed)> wrote in message
> news:18CDB40E-D7E8-43FA-B1FD-(E-Mail Removed)...
> > Thanks Patrick for your help. I have put the first formula succesfully in
> > the
> > formula section. This took care of the first color. How would I put the
> > rest
> > two formulas. Thanks.
> >
> > "Patrick Molloy" wrote:
> >
> >> as you only have three colors, you can use Conditional Formatting
> >>
> >> use forrmula is and set these to
> >>
> >> 1) =MOD(ROW(),4)=1 set pattern to pastel yellow
> >> 2) =MOD(ROW(),4)=2 set pattern to pastel green
> >> 3) =MOD(ROW(),4)=3 set pattern to pastel red
> >>
> >> white is the default
> >>
> >>
> >> "Jack" <(E-Mail Removed)> wrote in message
> >> news:83A2EBE4-CB6C-4A12-B332-(E-Mail Removed)...
> >> > Hi,
> >> > I need to have an excel worksheet where the first row is yellow, the
> >> > second
> >> > is green, the third red and the forth white. Then I need to repeat
> >> > these
> >> > through the worksheet. The columns are between A and F. I am new to
> >> > excel
> >> > programming. How does one approach this issue. I appreciate any help
> >> > for
> >> > resolution. Thanks.
> >>
> >>

>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Customizing Color Palette in Excel 2007 Frustrated with Office 2007 User Microsoft Excel Misc 1 30th Jan 2009 05:39 PM
Customizing 'sort field' color in explorer Industrial One Windows XP General 0 2nd Jan 2009 01:46 AM
Customizing Fonts and color in outlook 2007 Topaze Microsoft Outlook Discussion 3 21st Oct 2008 02:05 PM
customizing text color ai Microsoft Excel New Users 2 14th Aug 2008 08:36 PM
Color customizing =?Utf-8?B?U2FtbXk=?= Windows XP Customization 1 30th Jul 2006 02:08 PM


Features
 

Advertising
 

Newsgroups
 


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