I have a datas as below:-
Marks Total
95 100
500 200
100 100

I want to apply an excel formula,If my total is > marks then should be 1,if total is < marks then should be 2 and if total is = to the marks then it should show 0.Is it possible through excel formula?