Formatting cells Auto fill color using “Ifâ€

M

Masatami

I have the following formula in a cell:
=IF(Q28<0.65,"BLACK",IF(Q28<0.85,"RED",IF(Q28<1,"YELLOW","GREEN")))
I am attempting to change the color of Green to Bright Green. I assumed
changing the formula to:
=IF(Q28<0.65,"BLACK",IF(Q28<0.85,"RED",IF(Q28<1,"YELLOW","BRIGHTGREEN")))
would work but in changing the formula resulted in a Black filled cell not
bright green.

If some one could advise how to change to a different color it would be
appreciated.
 
D

Dave R.

Where to begin...

WIth reference to your first formula, that formula will return "BLACK" for
any value less than 1 (that is, <1).. any number more than 1 and you'll get
"GREEN" or "Brightgreen".. you either have the signs or the order mixed up.

You cannot change colors like that. If you want to change colors, see
conditional formatting under online help (F1).
 
M

Masatami

Dave,

Thank you for pointing me in the correct direction your time is appreciated.
 
G

Gord Dibben

Masatami

Are you saying that with that formula the cell background color actually
changes to red or black or green or yellow?

How do you do that?


Gord Dibben Excel MVP
 

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