PC Review


Reply
Thread Tools Rate Thread

Blue to Green and Back to Green

 
 
Loadmaster
Guest
Posts: n/a
 
      14th Aug 2008
Cells C2:C13 has the Months Jan thru Dec. Cells D1:AJ1 has the years 2006
thru 2038. When I enter a value (ie 21.9) in cell F9 (Corresponding to Aug
2008) , I would like cell C8 to change back to white from blue and cell C9 to
change to green from white. When I enter a value (ie 43.1) in cell F10, I
would like cell C9 to change back to white and cell C10 to change to blue.
Using conditional formatting, these changes I would like back and forth from
blue to green each time I enter a value in the sheet corresponding to the
month and year. Can you help me out?
 
Reply With Quote
 
 
 
 
Barb Reinhardt
Guest
Posts: n/a
 
      14th Aug 2008
You could probably put a conditional format in something like this

=MOD(COLUMN(),2)=1 Format to green
=MOD(COLUMN(),2)=0 Format to Blue
--
HTH,
Barb Reinhardt



"Loadmaster" wrote:

> Cells C2:C13 has the Months Jan thru Dec. Cells D1:AJ1 has the years 2006
> thru 2038. When I enter a value (ie 21.9) in cell F9 (Corresponding to Aug
> 2008) , I would like cell C8 to change back to white from blue and cell C9 to
> change to green from white. When I enter a value (ie 43.1) in cell F10, I
> would like cell C9 to change back to white and cell C10 to change to blue.
> Using conditional formatting, these changes I would like back and forth from
> blue to green each time I enter a value in the sheet corresponding to the
> month and year. Can you help me out?

 
Reply With Quote
 
Barb Reinhardt
Guest
Posts: n/a
 
      14th Aug 2008
As I look at your request, I'm thinking you'll need a worksheet_Change event
to do this. I don't have time to put together the code, but you can read
about worksheet events here.
--
HTH,
Barb Reinhardt



"Loadmaster" wrote:

> Cells C2:C13 has the Months Jan thru Dec. Cells D1:AJ1 has the years 2006
> thru 2038. When I enter a value (ie 21.9) in cell F9 (Corresponding to Aug
> 2008) , I would like cell C8 to change back to white from blue and cell C9 to
> change to green from white. When I enter a value (ie 43.1) in cell F10, I
> would like cell C9 to change back to white and cell C10 to change to blue.
> Using conditional formatting, these changes I would like back and forth from
> blue to green each time I enter a value in the sheet corresponding to the
> month and year. Can you help me out?

 
Reply With Quote
 
Loadmaster
Guest
Posts: n/a
 
      14th Aug 2008
Its cells C2:C13 with the months in them that I am trying to format with the
colors. By the fact that it didnt work, I am confused on if I am to use "Cell
value is" or "Formula is" in the conditional formula. Also do I use them
both on all the formulas?

"Barb Reinhardt" wrote:

> You could probably put a conditional format in something like this
>
> =MOD(COLUMN(),2)=1 Format to green
> =MOD(COLUMN(),2)=0 Format to Blue
> --
> HTH,
> Barb Reinhardt
>
>
>
> "Loadmaster" wrote:
>
> > Cells C2:C13 has the Months Jan thru Dec. Cells D1:AJ1 has the years 2006
> > thru 2038. When I enter a value (ie 21.9) in cell F9 (Corresponding to Aug
> > 2008) , I would like cell C8 to change back to white from blue and cell C9 to
> > change to green from white. When I enter a value (ie 43.1) in cell F10, I
> > would like cell C9 to change back to white and cell C10 to change to blue.
> > Using conditional formatting, these changes I would like back and forth from
> > blue to green each time I enter a value in the sheet corresponding to the
> > month and year. Can you help me out?

 
Reply With Quote
 
Loadmaster
Guest
Posts: n/a
 
      14th Aug 2008
Worksheet _change event? I take it that means to keep checking back until
someone has time to put the code together? One thing I forgot to mention is
all previous month values will remain in the cells.

"Barb Reinhardt" wrote:

> As I look at your request, I'm thinking you'll need a worksheet_Change event
> to do this. I don't have time to put together the code, but you can read
> about worksheet events here.
> --
> HTH,
> Barb Reinhardt
>
>
>
> "Loadmaster" wrote:
>
> > Cells C2:C13 has the Months Jan thru Dec. Cells D1:AJ1 has the years 2006
> > thru 2038. When I enter a value (ie 21.9) in cell F9 (Corresponding to Aug
> > 2008) , I would like cell C8 to change back to white from blue and cell C9 to
> > change to green from white. When I enter a value (ie 43.1) in cell F10, I
> > would like cell C9 to change back to white and cell C10 to change to blue.
> > Using conditional formatting, these changes I would like back and forth from
> > blue to green each time I enter a value in the sheet corresponding to the
> > month and year. Can you help me out?

 
Reply With Quote
 
Loadmaster
Guest
Posts: n/a
 
      15th Aug 2008
Its ok Barb, I figured out the answer from a previous array formula given to
me by T. Valko on the 23rd of Jul 08 Titled “Entering Changing months with a
cell. I used the array formula in cell AK2:
=INDEX(C2:C13,MATCH(1E+100,INDEX(D2:AJ13,0,MAX(IF(D2:AJ13<>"",COLUMN(D2:AJ13)-COLUMN(D2)+1)))))

Then I used Ctl+Shift+Enter to commit the formula.

And then I put the Conditional Formatting to each cell from C2:C13 to read
in Condition 1 Formula Is = C2=$AK$2 to format blue or green as applicable


"Loadmaster" wrote:

> Worksheet _change event? I take it that means to keep checking back until
> someone has time to put the code together? One thing I forgot to mention is
> all previous month values will remain in the cells.
>
> "Barb Reinhardt" wrote:
>
> > As I look at your request, I'm thinking you'll need a worksheet_Change event
> > to do this. I don't have time to put together the code, but you can read
> > about worksheet events here.
> > --
> > HTH,
> > Barb Reinhardt
> >
> >
> >
> > "Loadmaster" wrote:
> >
> > > Cells C2:C13 has the Months Jan thru Dec. Cells D1:AJ1 has the years 2006
> > > thru 2038. When I enter a value (ie 21.9) in cell F9 (Corresponding to Aug
> > > 2008) , I would like cell C8 to change back to white from blue and cell C9 to
> > > change to green from white. When I enter a value (ie 43.1) in cell F10, I
> > > would like cell C9 to change back to white and cell C10 to change to blue.
> > > Using conditional formatting, these changes I would like back and forth from
> > > blue to green each time I enter a value in the sheet corresponding to the
> > > month and year. Can you help me out?

 
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
green bars or blue Windows XP Basics 2 8th Nov 2005 03:42 AM
hue sat lum red green blue =?Utf-8?B?Q29sb3JibGluZEJydWlu?= Windows XP General 4 18th Jan 2005 09:35 PM
green to blue =?Utf-8?B?b2xsZQ==?= Windows XP Basics 2 18th Sep 2004 01:37 PM
green and blue filenames =?Utf-8?B?cGV0ZQ==?= Windows XP Help 1 4th Jun 2004 03:53 AM
Blue/Green Screen Dan Windows XP MovieMaker 1 22nd Dec 2003 03:11 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:06 PM.