Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Problem with conditional formatting


I am trying to apply background color to a range of cells if two
conditions are true. I have resorted to formatting each cell in the
range with the same "formula is" conditional format. My formula is
=IF(AND($A$3100),($I$32%)) I get no errors but the cell is formatted
even if both conditions are false. Any help?


--
DarrenMPY
------------------------------------------------------------------------
DarrenMPY's Profile: http://www.excelforum.com/member.php...o&userid=36787
View this thread: http://www.excelforum.com/showthread...hreadid=565433

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Problem with conditional formatting


You don't need the IF( ). All you need is the AND(cond1, cond2)


--
Excelenator


------------------------------------------------------------------------
Excelenator's Profile: http://www.excelforum.com/member.php...o&userid=36768
View this thread: http://www.excelforum.com/showthread...hreadid=565433

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default Problem with conditional formatting

Watch your parentheses:
Either:
=IF(AND(($A$3100),($I$32%)),TRUE)
or
=AND(($A$3100),($I$32%))
or
=AND($A$3100,$I$32%)



DarrenMPY wrote:

I am trying to apply background color to a range of cells if two
conditions are true. I have resorted to formatting each cell in the
range with the same "formula is" conditional format. My formula is
=IF(AND($A$3100),($I$32%)) I get no errors but the cell is formatted
even if both conditions are false. Any help?

--
DarrenMPY
------------------------------------------------------------------------
DarrenMPY's Profile: http://www.excelforum.com/member.php...o&userid=36787
View this thread: http://www.excelforum.com/showthread...hreadid=565433


--

Dave Peterson
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
Deferring conditional formatting? Pheasant Plucker® Excel Discussion (Misc queries) 14 March 17th 06 08:17 PM
Conditional formatting : amount of decimals belgian11 Excel Discussion (Misc queries) 0 December 25th 05 04:47 PM
Conditional formatting problem Bryan Excel Discussion (Misc queries) 3 July 16th 05 01:29 PM
Conditional formatting with dates formula problem. [email protected] Excel Discussion (Misc queries) 8 March 5th 05 11:47 PM
Conditional Formatting Problem msimpy22 Excel Discussion (Misc queries) 1 March 1st 05 04:17 AM


All times are GMT +1. The time now is 12:29 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"