Conditional formatting on formulas?

D

deelish

Can you do a conditional formatting function on a cell with a formula?
For example, if the cell A1 is a formula that generates "Yes", can you
have A1 be conditionally formatted to turn red when that cell is "Yes"?
I seem to be having trouble doing this and it seems that the
conditional format only works when you have an absolute value and not a
formula.

Thanks!
 
P

Peo Sjoblom

Yes.

To simplify assume you have a formula in B2 like this

=IF(A2>2,"Yes","No")

to use conditional formatting in B2 for red yes,
select B2, use formula is and

=A2>2

select a red font..
 

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