Hi

In Conditional format rules.

1) =a2>a1 >> Color green>>ok

2) =a2<a1 >>Color Yellow>>ok.