Excel "IF" function question
Author
Discussion

hornet

Original Poster:

6,333 posts

268 months

Tuesday 24th February 2004
quotequote all
Does anyone know if it's possible to add a font colour argument to an IF function? I've got a formula returning either "Negative" or "Positive" based on the values of a range of cells, which from a purely aesthetic point of view I want in different font colours. I could do it manually, but wondered if some sort of condition could be included in the IF statement? For example, IF(E2<0,"Negative",font colour red, "Positive",font colour blue). Anyone got any ideas?

greenv8s

30,967 posts

302 months

Tuesday 24th February 2004
quotequote all
You can achieve this with conditional formatting (on the format menu).

hornet

Original Poster:

6,333 posts

268 months

Tuesday 24th February 2004
quotequote all
greenv8s said:
You can achieve this with conditional formatting (on the format menu).


Sorted! Thanks.