How to set text color based on value in cell compared to constant

P

Pishta V

I would like to change the text color or cell color based on a comparison of
the cell value to a constant. The value in the cells are number inputs not
results of formulas.
 
S

Sheeloo

Use conditional formatting
Enter the value you want in the condition cell and format as you wish.
 
G

Gord Dibben

Format>Conditional Formatting>Formula is:

=A1<>constant

constant can be hard entered or a cell reference like $D$1


Gord Dibben MS Excel MVP

On Tue, 26 Aug 2008 13:34:07 -0700, Pishta V <Pishta
 

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