View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
Ben
 
Posts: n/a
Default Applying colour to my Formula

Hi
Someone on this site previous has make up this great formula for me (see
below)
What i need now is when the following answer is displayed the text colour
changes accordingly:
On Time (blue)
Late by(Red)
Early by(green)
I believe it's to do with conditional formating but just can't work it out.
Thanks

=IF(J5+K5=N5+T5,"On-Time",IF(J5+K5N5+T5,"Early by
"&TEXT(J5+K5-(N5+T5),"d""days & ""hh:mm"),"Late by "&
TEXT(N5+T5-(J5+K5),"d""days & ""hh:mm")))