How can I retrieve the format of a cell?

  • Thread starter Thread starter Chris
  • Start date Start date
C

Chris

Dear all,

A cell A1 is conditionally formatted so that it is either red (FF0000),
green (00FF00) or blue (0000FF). May I know if I can write a function for
another cell B1 such that it shows a word "RED" if A1 is red, a word "BLUE"
if A1 is blue and a word "GREEN" if A1 is green?

Thanks in advance.

Best Regards,
Chris
 
Dear all,

A cell A1 is conditionally formatted so that it is either red (FF0000),
green (00FF00) or blue (0000FF). May I know if I can write a function for
another cell B1 such that it shows a word "RED" if A1 is red, a word "BLUE"
if A1 is blue and a word "GREEN" if A1 is green?

Thanks in advance.

Best Regards,
Chris

If the color change is due to conditional formatting, the function that you
need to write is one that mimics the conditional formatting function.


--ron
 

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

Back
Top