![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: May 2002
Location: Montana
Posts: 4
|
I am comparing two cells, B10 and B11. If B10-B11>=.01 I want cell B11 to turn red if the statement is false I want B11 to have no pattern. Anyhelp would be appreciated. Thanks Everyone.
|
|
|
|
|
|
#2 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Columbus, OH, USA
Posts: 3,519
|
Have a look at conditional formatting. Format|Conditional Formatting...
HTH |
|
|
|
|
|
#3 |
|
New Member
Join Date: May 2002
Location: Montana
Posts: 4
|
If I use the conditional formating I can change the color of B12, but I can't figure out how to change the color of B11 since B11 is part of the formula for the conditional format
|
|
|
|
|
|
#4 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Helena, MT
Posts: 13,690
|
Formula is =B10-B11>=0.01
|
|
|
|
|
|
#5 |
|
Board Regular
Join Date: Feb 2002
Posts: 7,743
|
Do the conditional format in B11
Go to Format/Conditional formatting/Formula is =b10-b11>=.01 click format/pattern OK OK |
|
|
|
|
|
#6 |
|
New Member
Join Date: May 2002
Location: Montana
Posts: 4
|
Brian, I think I did exactly what you said. If I go through the steps in a cell other than b11 it works fine. However, when I use the conditional formatting in b11 nothing happens.
|
|
|
|
|
|
#7 |
|
Board Regular
Join Date: Feb 2002
Posts: 7,743
|
What values are in B10 and B11?
|
|
|
|
|
|
#8 | |
|
MrExcel MVP
Join Date: Mar 2002
Location: Michigan USA
Posts: 11,452
|
Quote:
Brian's formula should work. Please post the CONDITIONAL FORMAT formula you used for cell B11. Also did you choose the color 'red' as Pattern? |
|
|
|
|
|
|
#9 |
|
New Member
Join Date: May 2002
Location: Montana
Posts: 4
|
Brian, I think I got it figured out. I had parenthesis around my cells in the equation and for some reeason it did not like it. I took out the parenthesis and it seems to work. Thank you and everyone else for the help.
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|