making a cell a certain font color based on condition

R

Robin

How do i make a macro or piece of code which will change the font color of a
cell if the number is a certain value? For example, if the value of the
number in a certain cell is 1,3,5,7 make the cell font red otherwise make it
black.
 
R

RonaldoOneNil

With your relevant cell selected, click on the toolbar Format and then
conditional formatting. Add your conditions of cell value is equal to 1, 3
etc and click on the format button to change the colour to the one you
require.
 

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