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


I have a col on numbers in Col A
I want the background of A2 to be GREEN, if the value of A1 is LESS than A2
, ORANGE is the value of A2 is EQUAL to A1 or RED if the Value of A1 is MORE
that A2
How can I do this for every line(I have about 30 lines in col A)
Thanks

--
Norton Professional 2004 says this email is clean...believe it


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 618
Default conditional format?

Hi

okay, click on cell A2, choose format / conditional formatting ...
choose
formula is
type
=AND($A2=$A1,$A2<"")
click on FORMAT, choose Patterns, choose ORANGE
click on ADD
choose
formula is
type
=AND($A2<$A1,$A2<"")
click on FORMAT, choose Patterns, choose RED
click on ADD
choose
formula is
type
=$A2$A1
click on FORMAT, choose Patterns, choose GREEN
click OK

now, click on A2, click on the format painter (big yellow paintbrush,
standard toolbar), click on A3 and drag as far as you want.

Hope this helps
Cheers
JulieD

"PCOR" wrote in message
...

I have a col on numbers in Col A
I want the background of A2 to be GREEN, if the value of A1 is LESS than
A2 , ORANGE is the value of A2 is EQUAL to A1 or RED if the Value of A1 is
MORE that A2
How can I do this for every line(I have about 30 lines in col A)
Thanks

--
Norton Professional 2004 says this email is clean...believe it



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default conditional format?

Hi
- select A2:A30
- goto 'Format - Conditional format'
- enter the following formula
=A1<A2
- choose your green format (This assumes that you want to compare for
the next row A3 with A2. If you always want to compare the row with A1
change the formula to
=A$1<A2

The other two conditions have the formulas
=A1=A2 (For yellow)
and
=A1A2 (for red)


--
Regards
Frank Kabel
Frankfurt, Germany


PCOR wrote:
I have a col on numbers in Col A
I want the background of A2 to be GREEN, if the value of A1 is LESS
than A2 , ORANGE is the value of A2 is EQUAL to A1 or RED if the
Value of A1 is MORE that A2
How can I do this for every line(I have about 30 lines in col A)
Thanks


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 77
Default Thanks to both of you

Does work great Many thnaks
Ian M
"PCOR" wrote in message
...

I have a col on numbers in Col A
I want the background of A2 to be GREEN, if the value of A1 is LESS than
A2 , ORANGE is the value of A2 is EQUAL to A1 or RED if the Value of A1 is
MORE that A2
How can I do this for every line(I have about 30 lines in col A)
Thanks

--
Norton Professional 2004 says this email is clean...believe it



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
Capture conditional format as cell format Diddy Excel Discussion (Misc queries) 2 June 23rd 09 11:01 PM
New Conditional Format Overriding Previous Conditional Format Rene Excel Discussion (Misc queries) 3 February 27th 08 06:08 PM
Multiple conditional on conditional format formula Frank Kabel Excel Programming 1 July 27th 04 06:24 PM
Multiple conditional on conditional format formula Bob Phillips[_7_] Excel Programming 0 July 27th 04 05:30 PM
Keep format after paste from other worksheets - conditional format or EnableControl solution doesn't work No Name Excel Programming 0 May 3rd 04 12:22 PM


All times are GMT +1. The time now is 11:17 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"