change the order and use stop if true


or

=AND( D8>A5+60, D8<A5+90)

you say A8 and you are using A5

you could use today()

is D8 the date you want to test

what is A5?


assuming D8

=D8<today()-90 for RED

=D8<today()-60 for Amber

=D8<today() for green - so today does colour

put in that order and stop if true