ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Issue with conditional formatting (https://www.excelbanter.com/excel-discussion-misc-queries/265077-issue-conditional-formatting.html)

The Rook[_2_]

Issue with conditional formatting
 
D1 has the following conditional formatting applied to it
=AND(D6<0,E6<0)

What I am trying to do is colour D1 if both D6 & E6 are populated with 0.

Thia seem to do it if any are populated with 0

What an I doing wrong

Jacob Skaria

Issue with conditional formatting
 
Try the below instead

=COUNTIF(D6:E6,0)=2

--
Jacob (MVP - Excel)


"The Rook" wrote:

D1 has the following conditional formatting applied to it
=AND(D6<0,E6<0)

What I am trying to do is colour D1 if both D6 & E6 are populated with 0.

Thia seem to do it if any are populated with 0

What an I doing wrong


FSt1

Issue with conditional formatting
 
hi
try
=and(d6=0,e6=0)

you have to set up as not equal 0

regards
FSt1

"The Rook" wrote:

D1 has the following conditional formatting applied to it
=AND(D6<0,E6<0)

What I am trying to do is colour D1 if both D6 & E6 are populated with 0.

Thia seem to do it if any are populated with 0

What an I doing wrong



All times are GMT +1. The time now is 03:50 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com