you can use conditional formatting
but it would be useful to know the layout of the data
what cell is the "value" you are comparing in
lets assume it was in A1
and all the other values are in
A2 to Z2
the you would setup three rules
for 2007 or 2010 excel version
Conditional Formatting
Highlight applicable range >>
A2:Z2
Home Tab >> Styles >> Conditional Formatting
New Rule >> Use a formula to determine which cells to format
Edit the Rule Description: Format values where this formula is true:
= A2<$A$1
Format… [Number, Font, Border, Fill] - Fill RED
choose the format you would like to apply when the condition is true
OK >> OK
Next formula
=AND( A2>= $A$1 , A2<= $A$1 )
fill for Green
=A2 > $A$1
fill for yellow
Excel Workbook |
---|
|
---|
| A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z |
---|
1 | 10 | | | | | | | | | | | | | | | | | | | | | | | | | |
---|
2 | 1.5 | 2 | 2.5 | 3 | 3.5 | 4 | 4.5 | 5 | 5.5 | 6 | 6.5 | 7 | 7.5 | 8 | 8.5 | 9 | 9.5 | 10 | 10.5 | 11 | 11.5 | 12 | 12.5 | 13 | 13.5 | 14 |
---|
|
---|