Conditional Format IF AND

P

Paul Moles

In order to quickly identify missing entries on a spreadsheet I want to
conditionally format a cell if it is blank AND the adjacent cell contains a
value. eg. IF cell F96 is blank AND cell G96 contains a value then F96 should
background red.
I also want to be able to reverse this, IF G96 is blank AND F96 has a value
then G96 should background red. If both cells are blank then no format
applied.

I am sure its just some simple entry in the appropriate Formula Is, boxes,
for the two cells, just I cannot seem to get it.

Blank, Zero, or value less than one, would all work equally well in this case.
It doesn't need to specifically check for BLANK.

Excel 2002

Many Thanks

Paul Moles
 
M

Mike H

Paul,

This as conditional format formula in F96
=AND(ISBLANK($F$96),$G$96<>"")
with a colour of red selected
and this in G96
=AND(ISBLANK($G$96),$F$96<>"")
Once again with red selected
Mike
 
R

Rich

using the cells you specified , in cell f96 , goto conditional formatting in
the format option

change the cell value = , to formula =g96>""

click the format button and select the colours you want

in g96 do the same but change the formula to f96>""
 
D

Dave

Hi Paul,
Try this in the CF windows:
F96: =AND($F$96=0,$G$96>1)
G96: =AND($G$96=0,$F$96>1)
Regards - Dave.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top