Conditional Formatting in an 'if' statement

  • Thread starter Thread starter dansul
  • Start date Start date
D

dansul

I am trying to have one cell turn red when another cell is
less than a set amount or other cell. Basically, if
cell 'a4' = if('a1'<'a2', 'a5' - black font, 'a5' - red
font).
any ideas using an if statement or should i just implement
this through a macro?

thanks.
 
If I understand you correctly (which i'm not entirely sure I do)
you want cell A4 to display the contents of cell A5 regardless of
what is in it.

In cell A4 type =A5
(if the font isn't black change it to black)

In the conditional formatting window, put
Formula Is: =(A1>A2)=TRUE
change the conditional format to red font
Hit OK

Dan E
 
That's it - thanks Dan E.
-----Original Message-----
If I understand you correctly (which i'm not entirely sure I do)
you want cell A4 to display the contents of cell A5 regardless of
what is in it.

In cell A4 type =A5
(if the font isn't black change it to black)

In the conditional formatting window, put
Formula Is: =(A1>A2)=TRUE
change the conditional format to red font
Hit OK

Dan E




.
 
Back
Top