View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.misc
David Biddulph[_2_] David Biddulph[_2_] is offline
external usenet poster
 
Posts: 8,651
Default Conditional Formatting dependent on whether cell is populated.

Depends what you mean by "a value". Is the null string "" a value in your
terms?
CF/ Formula Is/ =AND(C2<"",G2="") for Amber [or
=AND(NOT(ISBLANK(C2),ISBLANK(G2))]
Either modify the above for your Green condition, or =COUNTA(C2,G2)=2
--
David Biddulph

"Tel" wrote in message
...
I want to conditionally format cell G2 dependent upon whether there is a
value in cell C2 AND G2

Therefore,
if cell C2 has a value in it and cell G2 doesn't then cell G2 color =
Amber
if cell C2 has a value in it and cell G2 has a value then cell G2 color =
Green

Any helpful hints or useful suggestions?

Thanks

Tel