change font color of cell based on critera

  • Thread starter Thread starter amrezzat
  • Start date Start date
A

amrezzat

heloo
suppose that i have 6 coloumns as follw

1 2 3 4 5 6

i want to change the font color of the third and forth column to re
when the fifth and sixth column is not blank



how can i do that in excel
 
With Conditional Formatting of the cells in columns 3 & 4, use Formula Is,
and this formula:

=AND(NOT(ISBLANK($E1)), NOT(ISBLANK($F1)))

Set the format to Font colour Red.

Mike F
 
One way:

Select the third and fourth column (say, C:D, with C1 active). Choose
Format/Conditional Formatting:

CF1: Formula is =COUNTA(E1:F1)<2
Format1: <patterns>/<red>
 

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