Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Duser
 
Posts: n/a
Default Conditional Formatting

Can I conditionally format one cell that is affected by another cells
numbers? For example can i conditionally format a1 to be green if cell b2 is
<= to 100%, yellow if =95 but <100, and red if <95. And if so what is the
key stroke for <= in a function statement?
  #2   Report Post  
Ray A
 
Posts: n/a
Default

one way in cell A1
Condition one formula is =if(b2<95,1,0) and format red
Condition 2 formula is =if(b2=95,if(B2<100,1,0),0) and format to yellow
If cell b2 is formated to % change to decimal .95 and 1.0
HTH

"Duser" wrote:

Can I conditionally format one cell that is affected by another cells
numbers? For example can i conditionally format a1 to be green if cell b2 is
<= to 100%, yellow if =95 but <100, and red if <95. And if so what is the
key stroke for <= in a function statement?

  #3   Report Post  
David Billigmeier
 
Posts: n/a
Default

Yes you can -
First, go into Format-Conditional Formatting.

Under Condition 1, choose "Formula Is" and enter this function:
=IF(B2=1,TRUE,FALSE)
and format this to green.

Choose "Add" to add another condition, choose "Formula Is" again, and enter
this function into condition 2:
=IF(AND(B2=.95,B2<1),TRUE,FALSE)
and format this to yellow.

Similarly add another condition, "Formula Is" again, and enter this formula
into condition 3:
=IF(B2<.95,TRUE,FALSE)
and format this to red.
--
Regards,
Dave


"Duser" wrote:

Can I conditionally format one cell that is affected by another cells
numbers? For example can i conditionally format a1 to be green if cell b2 is
<= to 100%, yellow if =95 but <100, and red if <95. And if so what is the
key stroke for <= in a function statement?

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
Conditional Formatting Error ddate Excel Worksheet Functions 0 May 5th 05 09:00 PM
difficulty with conditional formatting Deb Excel Discussion (Misc queries) 0 March 23rd 05 06:13 PM
conditional formatting question Deb Excel Discussion (Misc queries) 0 March 23rd 05 02:07 AM
Determine cells that drive conditional formatting? Nicolle K. Excel Discussion (Misc queries) 2 January 7th 05 01:08 AM
Conditional formatting not available in Excel BAB Excel Discussion (Misc queries) 2 January 1st 05 03:33 PM


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