Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default format cells depending on value range

Using Excel 2003 and am trying to format cells depending on a range of values
e.g.

If the value is less than 50.999% then colour the cell red

If the value is between 51% and 74.999% then colour the cell orange

If the value is more than 75% then colour the cell green

I have managed to get the first and third examples to work using conditional
formatting (formula is: =B4<0.50999) but can't seem to get it to work if the
value is between two specific values.

Any help would be appreciated.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,646
Default format cells depending on value range

Maybe

=B4<51% for red
=AND(B4=51%,B4<75%) for orange
=B4=75% for green


--
Regards!
Stefi



€˛gashman€¯ ezt Ć*rta:

Using Excel 2003 and am trying to format cells depending on a range of values
e.g.

If the value is less than 50.999% then colour the cell red

If the value is between 51% and 74.999% then colour the cell orange

If the value is more than 75% then colour the cell green

I have managed to get the first and third examples to work using conditional
formatting (formula is: =B4<0.50999) but can't seem to get it to work if the
value is between two specific values.

Any help would be appreciated.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default format cells depending on value range

Try it like this...

=AND(cell_reflower_boundary_value,cell_ref<upper_ boundary_value)

Or...

=AND(cell_ref=lower_boundary_value,cell_ref<=uppe r_boundary_value)

--
Biff
Microsoft Excel MVP


"gashman" wrote in message
...
Using Excel 2003 and am trying to format cells depending on a range of
values
e.g.

If the value is less than 50.999% then colour the cell red

If the value is between 51% and 74.999% then colour the cell orange

If the value is more than 75% then colour the cell green

I have managed to get the first and third examples to work using
conditional
formatting (formula is: =B4<0.50999) but can't seem to get it to work if
the
value is between two specific values.

Any help would be appreciated.



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,939
Default format cells depending on value range

CF's are evaluated in order. As soon as a conditon is met it stops evaluating
so all you need is

Less than 51%
Less than 75%
Greater than or equal to 75%

--
HTH...

Jim Thomlinson


"gashman" wrote:

Using Excel 2003 and am trying to format cells depending on a range of values
e.g.

If the value is less than 50.999% then colour the cell red

If the value is between 51% and 74.999% then colour the cell orange

If the value is more than 75% then colour the cell green

I have managed to get the first and third examples to work using conditional
formatting (formula is: =B4<0.50999) but can't seem to get it to work if the
value is between two specific values.

Any help would be appreciated.

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default format cells depending on value range

Use the below formulas for a selected range say A1:A10 with active cell A1.


=A1<50.999%
=MEDIAN(51%,A1,74.999%)=A1
=A175%


--
Jacob (MVP - Excel)


"gashman" wrote:

Using Excel 2003 and am trying to format cells depending on a range of values
e.g.

If the value is less than 50.999% then colour the cell red

If the value is between 51% and 74.999% then colour the cell orange

If the value is more than 75% then colour the cell green

I have managed to get the first and third examples to work using conditional
formatting (formula is: =B4<0.50999) but can't seem to get it to work if the
value is between two specific values.

Any help would be appreciated.



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default format cells depending on value range

Ofcourse the 1st one has to be this way to handle blanks

=AND(A1<"",A1<50.999%)

--
Jacob (MVP - Excel)


"Jacob Skaria" wrote:

Use the below formulas for a selected range say A1:A10 with active cell A1.


=A1<50.999%
=MEDIAN(51%,A1,74.999%)=A1
=A175%


--
Jacob (MVP - Excel)


"gashman" wrote:

Using Excel 2003 and am trying to format cells depending on a range of values
e.g.

If the value is less than 50.999% then colour the cell red

If the value is between 51% and 74.999% then colour the cell orange

If the value is more than 75% then colour the cell green

I have managed to get the first and third examples to work using conditional
formatting (formula is: =B4<0.50999) but can't seem to get it to work if the
value is between two specific values.

Any help would be appreciated.

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
count values in a range of cells depending on value in adjacent ce birdgirl31 Excel Worksheet Functions 1 November 17th 08 11:55 PM
How do I reference a range of cells depending on another cell valu batkinson Excel Discussion (Misc queries) 1 January 8th 08 09:58 PM
Scores of a Range Cells. Highest or lowest depending a parameter cradino Excel Worksheet Functions 1 March 11th 07 08:09 AM
Reference range of cells and perform subtraction or nothing depending on contents bob-hamilton Excel Worksheet Functions 3 February 5th 06 04:24 PM
Change decimal format of cells depending on conditions? Cornelius Excel Worksheet Functions 1 February 25th 05 12:57 AM


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