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

Within a cell, thisis basically what I want to do but am having trouble:
if the value is between 95-100 background = green
else if value is between (90-95) or between (100-105) background = yellow
else if value is <90 OR 105) background = red

Any ideas?
  #2   Report Post  
Gordon
 
Posts: n/a
Default

Ryno wrote:
Within a cell, thisis basically what I want to do but am having
trouble: if the value is between 95-100 background = green
else if value is between (90-95) or between (100-105) background
= yellow else if value is <90 OR 105) background = red

Any ideas?


If you click the "Add" button after having set the first condition, you can
then set other conditions.


  #3   Report Post  
Gordon
 
Posts: n/a
Default

Ryno wrote:
Within a cell, thisis basically what I want to do but am having
trouble: if the value is between 95-100 background = green
else if value is between (90-95) or between (100-105) background
= yellow else if value is <90 OR 105) background = red

Any ideas?


Unfortunately you are limited to 3 conditions!


  #4   Report Post  
Jason Morin
 
Posts: n/a
Default

Set your three conditions use "Formula Is" on the drop-
down arrow and use these 3 statements:

Green:

=AND($A1=95,$A1<=100)

Yellow:

=OR(AND($A1=90,$A1<95),AND($A1100,$A1<=105))

Red:

=OR($A1<90,$A1105)

This works for col. A. Change the cell reference if
needed.

HTH
Jason
Atlanta, GA

-----Original Message-----
Within a cell, thisis basically what I want to do but am

having trouble:
if the value is between 95-100 background = green
else if value is between (90-95) or between (100-

105) background = yellow
else if value is <90 OR 105) background = red

Any ideas?
.

  #5   Report Post  
Debra Dalgleish
 
Posts: n/a
Default

Select the cells that you want to format
Choose FormatConditional Formatting
From the first dropdown, choose Formula Is
Type a formula that refers to the active cell
(its address is in the Name Box, to the left of the formula bar)
For example, if A1 is active: =AND(A1=95,A1<=100)
Click the Format button, and on the Pattern tab,
select the Green colour
Click OK
Click the Add button

From the first dropdown, choose Formula Is
Type a formula that refers to the active cell
For example, if A1 is active: =AND(A1=90,A1<=105)
Click the Format button, and on the Pattern tab,
select the Yellow colour
Click OK
Click the Add button

From the first dropdown, choose Formula Is
Type a formula that refers to the active cell
For example, if A1 is active: =ISNUMBER(A1)
Click the Format button, and on the Pattern tab,
select the Red colour
Click OK, click OK

Ryno wrote:
Within a cell, thisis basically what I want to do but am having trouble:
if the value is between 95-100 background = green
else if value is between (90-95) or between (100-105) background = yellow
else if value is <90 OR 105) background = red

Any ideas?



--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html



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 in Charts? Todd Charts and Charting in Excel 1 January 11th 05 06:32 PM
Print cells that meet conditional formatting criteria Roundy Excel Discussion (Misc queries) 1 December 14th 04 12:13 AM
conditional formatting blank cell TREK5200 Excel Discussion (Misc queries) 1 December 6th 04 02:23 AM
conditional formatting frank Excel Discussion (Misc queries) 1 December 2nd 04 09:57 PM
Adding more than three Conditions to 'Conditional Formatting' David McRitchie Excel Discussion (Misc queries) 1 November 27th 04 06:03 PM


All times are GMT +1. The time now is 03:34 PM.

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"