Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Advanced Conditional Formatting Ideas Needed! (ok, maybe not that advanced...)


Two questions:

1. Can I have a conditional format that is dependant on two different
cells? For example in Cell A2 I want to have the cell turn bright red
if A2 is greater than zero and B2 equals zero. I want to then drag
this down for every cell in column A.

2. I cell C2 I want to turn this cell bright red if cell D2 gets the
error message "DIV/0!" to flag there is an error. Is this possible?

Thanks


--
shadestreet
------------------------------------------------------------------------
shadestreet's Profile: http://www.excelforum.com/member.php...fo&userid=7092
View this thread: http://www.excelforum.com/showthread...hreadid=563687

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 618
Default Advanced Conditional Formatting Ideas Needed! (ok, maybe not that advanced...)

"shadestreet"
wrote in message
...

Two questions:

1. Can I have a conditional format that is dependant on two different
cells? For example in Cell A2 I want to have the cell turn bright red
if A2 is greater than zero and B2 equals zero. I want to then drag
this down for every cell in column A.


Formula is:
=AND($A20,$B2=0)

2. I cell C2 I want to turn this cell bright red if cell D2 gets the
error message "DIV/0!" to flag there is an error. Is this possible?


Formula is:
=(ERROR.TYPE(D2)=2)
--
David Biddulph


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Advanced Conditional Formatting Ideas Needed! (ok, maybe not that advanced...)


Hi shadestreet,

Try this,

Conditional formatting for B2
formula is =IF(A20,IF(B2=0,TRUE,FALSE))
select formatting required

Formula in cell C2
=IF(ISERROR(D2),"Error","")

Conditional formatting for C2
formula is =ISERROR(D2)
select formatting required

Is this what you require?

oldchippy :)


--
oldchippy
------------------------------------------------------------------------
oldchippy's Profile: http://www.excelforum.com/member.php...o&userid=19907
View this thread: http://www.excelforum.com/showthread...hreadid=563687

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
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
enhanced conditional formatting Stuart Excel Discussion (Misc queries) 13 November 13th 05 07:20 PM
difficulty with conditional formatting Deb Excel Discussion (Misc queries) 0 March 23rd 05 06:13 PM
Conditional Formatting in Excel Help Please..... Willie T Excel Discussion (Misc queries) 4 February 9th 05 02:28 PM


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

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

About Us

"It's about Microsoft Excel"