PC Review


Reply
Thread Tools Rate Thread

Conditional Formatting Confusion...

 
 
frakincaprica
Guest
Posts: n/a
 
      9th Apr 2010
What I am trying to do seems simple to me.

I have a forumla in A2. A2 = B3-B2
I want to know when A2 is not equal to a value in F2. (Red)
I want to know when A2 is equal to a value in F2. (Green)
F2 is a number selected from a VLOOKUP function (referencing a table in
Sheet2), that is determined by a pull down list (also referencing sheet2).

So I select a value from my pull down list, and F2 corresponds to a number
from the table.

It seems like I can use the "cell value is" condition and it works to tell
me something like A2 "greater than" F2 (red). And I tried A2 "less than" F2
(green). And that worked. But it gets confused when A2 = F2 and makes it
green (which isn't mathematically possible, if A2 = F2 it's not "less than"

I've also tried this with "Formula Is" =AND(A2<>F2) (red) =AND(A2=F2)
(green), result was always red. I tried testing =AND(A2>F2) (red) and
=AND(A2<F2) (green), works except when A2=F2, it stays green even though that
is not a true condition A2=F2 does not meet the parameter of being "less
than" F2.

I also just tried using a reference cell (instead of my VLOOKUP cell) in
case that was throwing me. Just put a number in the cell and tried it. Same
results.

Any help is appreciated. I've been messing with this for 2 hours and
absolutely cannot figure it out despite looking at examples, excel help, and
trying everywhich way. I'm in excel 2003.
 
Reply With Quote
 
 
 
 
Ms-Exl-Learner
Guest
Posts: n/a
 
      9th Apr 2010
Place the cursor in A2 cell and press Cntrl+Spacebar. Now the total A column
will be getting selected and the A2 will be the Active cell (Active Cell will
have a white Background after selection).

Format>>Conditional Formatting>>Condition 1>>Formula Is>>
=AND($A2<>"",$A2<>$F2)
Then Click the Format command button and choose your desired Font and
Pattern colour.

Press Add Command button to add another Condition
Condition 2>>Formula Is>>
=AND($A2<>"",$A2=$F2)
Then Click the Format command button and choose your desired Font and
Pattern colour.

Click Ok…

--
Remember to Click Yes, if this post helps!

--------------------
(Ms-Exl-Learner)
--------------------


"frakincaprica" wrote:

> What I am trying to do seems simple to me.
>
> I have a forumla in A2. A2 = B3-B2
> I want to know when A2 is not equal to a value in F2. (Red)
> I want to know when A2 is equal to a value in F2. (Green)
> F2 is a number selected from a VLOOKUP function (referencing a table in
> Sheet2), that is determined by a pull down list (also referencing sheet2).
>
> So I select a value from my pull down list, and F2 corresponds to a number
> from the table.
>
> It seems like I can use the "cell value is" condition and it works to tell
> me something like A2 "greater than" F2 (red). And I tried A2 "less than" F2
> (green). And that worked. But it gets confused when A2 = F2 and makes it
> green (which isn't mathematically possible, if A2 = F2 it's not "less than"
>
> I've also tried this with "Formula Is" =AND(A2<>F2) (red) =AND(A2=F2)
> (green), result was always red. I tried testing =AND(A2>F2) (red) and
> =AND(A2<F2) (green), works except when A2=F2, it stays green even though that
> is not a true condition A2=F2 does not meet the parameter of being "less
> than" F2.
>
> I also just tried using a reference cell (instead of my VLOOKUP cell) in
> case that was throwing me. Just put a number in the cell and tried it. Same
> results.
>
> Any help is appreciated. I've been messing with this for 2 hours and
> absolutely cannot figure it out despite looking at examples, excel help, and
> trying everywhich way. I'm in excel 2003.

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Conditional Formatting confusion - Excel 2003 Ann Scharpf Microsoft Excel Misc 3 16th Mar 2010 07:54 PM
Conditional Formatting Confusion Karen Microsoft Excel Worksheet Functions 8 5th Mar 2010 03:08 PM
Conditional Confusion jneaves@clemson.edu Microsoft Excel Worksheet Functions 1 16th Aug 2007 03:36 PM
Conditional formatting confusion Keith Microsoft Excel Worksheet Functions 7 6th Feb 2007 11:27 PM
Confusion...(conditional formatting) nishapurohit Microsoft Excel New Users 4 31st Jan 2006 09:37 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:36 AM.