PC Review


Reply
Thread Tools Rate Thread

Condition Format with 2 cell

 
 
Kim
Guest
Posts: n/a
 
      26th Feb 2009
Can someone give me the right formula to set condition for below

C D E F
3 In the Programme 5,110.39 1,217.39 40.76%
4 Not In Programme 20,079.87 0.00%
5 In the Programme 161,544.56 7,759.40 95.42%

The formula I've been using but it's not right
=AND($C3=""In the Programme,($F3<0.5))

What I want is if cell C = In the programme and cell F is less than 50%,
colour RED.
Example above, cell F3 should be in red.

Thanks.





 
Reply With Quote
 
 
 
 
Ron@Buy
Guest
Posts: n/a
 
      26th Feb 2009
Try rearranging thus:
=AND($C3="In the Programme",$F3<0.5)

"Kim" wrote:

> Can someone give me the right formula to set condition for below
>
> C D E F
> 3 In the Programme 5,110.39 1,217.39 40.76%
> 4 Not In Programme 20,079.87 0.00%
> 5 In the Programme 161,544.56 7,759.40 95.42%
>
> The formula I've been using but it's not right
> =AND($C3=""In the Programme,($F3<0.5))
>
> What I want is if cell C = In the programme and cell F is less than 50%,
> colour RED.
> Example above, cell F3 should be in red.
>
> Thanks.
>
>
>
>
>

 
Reply With Quote
 
Gary Brown
Guest
Posts: n/a
 
      26th Feb 2009
Assuming you are highlighting Column F, you need to start with F1...
=AND($C1="In the Programme",$F1<0.5)
--
------------
Hope This helps,
Sincerely,
Gary Brown



"Kim" wrote:

> Can someone give me the right formula to set condition for below
>
> C D E F
> 3 In the Programme 5,110.39 1,217.39 40.76%
> 4 Not In Programme 20,079.87 0.00%
> 5 In the Programme 161,544.56 7,759.40 95.42%
>
> The formula I've been using but it's not right
> =AND($C3=""In the Programme,($F3<0.5))
>
> What I want is if cell C = In the programme and cell F is less than 50%,
> colour RED.
> Example above, cell F3 should be in red.
>
> Thanks.
>
>
>
>
>

 
Reply With Quote
 
francis
Guest
Posts: n/a
 
      26th Feb 2009
Select the cells you want to apply color, in this case F3 and down
Format >> Conditional Formatting
Choose Formula Is under Condition 1
place this
=AND(C3="In the Programme",F3<50%)
Click on Format >> Pattern >> choose RED
OK out
--
Hope this is helpful

Pls click the Yes button below if this post provide answer you have asked


Thank You

cheers, francis










"Kim" wrote:

> Can someone give me the right formula to set condition for below
>
> C D E F
> 3 In the Programme 5,110.39 1,217.39 40.76%
> 4 Not In Programme 20,079.87 0.00%
> 5 In the Programme 161,544.56 7,759.40 95.42%
>
> The formula I've been using but it's not right
> =AND($C3=""In the Programme,($F3<0.5))
>
> What I want is if cell C = In the programme and cell F is less than 50%,
> colour RED.
> Example above, cell F3 should be in red.
>
> Thanks.
>
>
>
>
>

 
Reply With Quote
 
Kim
Guest
Posts: n/a
 
      27th Feb 2009
Thanks. It's working now.

"Ron@Buy" wrote:

> Try rearranging thus:
> =AND($C3="In the Programme",$F3<0.5)
>
> "Kim" wrote:
>
> > Can someone give me the right formula to set condition for below
> >
> > C D E F
> > 3 In the Programme 5,110.39 1,217.39 40.76%
> > 4 Not In Programme 20,079.87 0.00%
> > 5 In the Programme 161,544.56 7,759.40 95.42%
> >
> > The formula I've been using but it's not right
> > =AND($C3=""In the Programme,($F3<0.5))
> >
> > What I want is if cell C = In the programme and cell F is less than 50%,
> > colour RED.
> > Example above, cell F3 should be in red.
> >
> > Thanks.
> >
> >
> >
> >
> >

 
Reply With Quote
 
Bernard Liengme
Guest
Posts: n/a
 
      27th Feb 2009
I selected the F Colum and use this for the conditional formatting formula:
=AND(C3="In the Programme", F3<50%)
F3 went red, as did F5 when I change its value to .4, and F4 when I change
C4 to "In the Programme"
best wishes

--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"Kim" <(E-Mail Removed)> wrote in message
news:F70FA962-D1F0-4622-A483-(E-Mail Removed)...
> Can someone give me the right formula to set condition for below
>
> C D E F
> 3 In the Programme 5,110.39 1,217.39 40.76%
> 4 Not In Programme 20,079.87 0.00%
> 5 In the Programme 161,544.56 7,759.40 95.42%
>
> The formula I've been using but it's not right
> =AND($C3=""In the Programme,($F3<0.5))
>
> What I want is if cell C = In the programme and cell F is less than 50%,
> colour RED.
> Example above, cell F3 should be in red.
>
> Thanks.
>
>
>
>
>



 
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
If function using cell format as the condition Janie Microsoft Excel Worksheet Functions 2 9th Dec 2009 07:20 AM
Cell format as condition mars Microsoft Excel Worksheet Functions 1 24th Nov 2008 02:17 AM
Format Cell Background on Condition =?Utf-8?B?UEN1bGxlbg==?= Microsoft Excel Programming 2 21st Jan 2005 07:59 PM
format cell based on condition. Question_123 Microsoft Excel Programming 2 26th May 2004 05:03 PM
How do i change the format of a cell based on the condition of another cell in same row? scott23 Microsoft Excel Programming 1 6th Jan 2004 03:03 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:29 AM.