Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 14
Default Conditional Formatting Q

I am trying to put an IF & AND function into Conditional Formating but I am
not getting the required result.

I am trying to express "If D7 = Yes AND D8=0 THEN Change Font in D8 to Red"

How would I express this in Conditional Formatting?


Thanks



  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11
Default Conditional Formatting Q

Good question.
I don't think you can.
I think the IF has to refer to the cell itself.


"John" a écrit dans le message de news:
...
I am trying to put an IF & AND function into Conditional Formating but I am
not getting the required result.

I am trying to express "If D7 = Yes AND D8=0 THEN Change Font in D8 to
Red"

How would I express this in Conditional Formatting?


Thanks





  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default Conditional Formatting Q

No need for IF

=AND(D7="Yes",D8=0)

change the condition to formula is.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"John" wrote in message
...
I am trying to put an IF & AND function into Conditional Formating but I

am
not getting the required result.

I am trying to express "If D7 = Yes AND D8=0 THEN Change Font in D8 to

Red"

How would I express this in Conditional Formatting?


Thanks





  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 14
Default Conditional Formatting Q

Thanks Bob, I was trying to work the formula as you would a normal cell
formula, leaving the IF in





"Bob Phillips" wrote in message
...
No need for IF

=AND(D7="Yes",D8=0)

change the condition to formula is.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"John" wrote in message
...
I am trying to put an IF & AND function into Conditional Formating but I

am
not getting the required result.

I am trying to express "If D7 = Yes AND D8=0 THEN Change Font in D8 to

Red"

How would I express this in Conditional Formatting?


Thanks







  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default Conditional Formatting Q

In CF that is not necessary John, as CF just wants a TRUE or a FALSE. In
other words, the IF is implied, the formatting is the action.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"John" wrote in message
...
Thanks Bob, I was trying to work the formula as you would a normal cell
formula, leaving the IF in





"Bob Phillips" wrote in message
...
No need for IF

=AND(D7="Yes",D8=0)

change the condition to formula is.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"John" wrote in message
...
I am trying to put an IF & AND function into Conditional Formating but

I
am
not getting the required result.

I am trying to express "If D7 = Yes AND D8=0 THEN Change Font in D8 to

Red"

How would I express this in Conditional Formatting?


Thanks











  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 195
Default Conditional Formatting Q

Hi John,

Just write the formula into conditional formatting formula box of Cell
D8
=AND(D7="Yes",D8=0)

and do the formatting as you want


this will do the required thing

thanks

Shail

John wrote:
I am trying to put an IF & AND function into Conditional Formating but I am
not getting the required result.

I am trying to express "If D7 = Yes AND D8=0 THEN Change Font in D8 to Red"

How would I express this in Conditional Formatting?


Thanks


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
sorting a range with conditional formatting renie Excel Worksheet Functions 2 June 2nd 06 10:43 PM
conditional formatting glitches Kat Excel Discussion (Misc queries) 2 May 26th 06 08:16 PM
Keeping conditional formatting when sorting Andrea A Excel Discussion (Misc queries) 0 April 4th 06 03:00 PM
conditional formatting Rich Excel Discussion (Misc queries) 2 April 1st 06 10:27 AM
cannot use ISEVEN or ISODD functions in Conditional Formatting Scott Paine Excel Worksheet Functions 6 December 6th 05 09:44 PM


All times are GMT +1. The time now is 09:34 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"