Formating a cell conditionaly

D

DB

Is there a way to have the result of a if function format the text in a cell?
As an example, fi the test is true, the function will turn the text red.
 
Top