View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
LinLin LinLin is offline
external usenet poster
 
Posts: 46
Default IF Statement - compare to coloured cell

Hi Everyone

I'm not sure how to write an IF statement.

If Cell A1 is shaded RED, I want cell B1 to to say OK
If A1 is not red, then no message.

The IF statement is obviously in cell B1.

As far as I can see, conditional formatting will not work, because I want a
message in B1, not a format.

Any ideas?

many thanks