conditional format a cell based on the value of a second cell

P

peter terry

Is it possible to make the conditional format of a cell dependant on the
value of a different cell?

I would like to have the text in cell A2 change colour if cell B2 has a
value of zero, but there doesn't appear to be an option to "target" a
different cell.


TIA

pete
 
R

RagDyeR

You have to expand the left box and choose "Formula Is".
Then enter this formula:
=B2=0

This does however, make A2 display Red even when B2 is empty.

If you want A2 to be Red *only* when B2 is zero, use this formula:
=AND(B2=0,B2<>"")
--


HTH,

RD
==============================================
Please keep all correspondence within the Group, so all may benefit!
==============================================

Is it possible to make the conditional format of a cell dependant on the
value of a different cell?

I would like to have the text in cell A2 change colour if cell B2 has a
value of zero, but there doesn't appear to be an option to "target" a
different cell.


TIA

pete
 

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