You could also work the other way round;

=if(G6>0.75*G13,10,if(G6>0.5*G13,7.5,if(G6>0.25*G13,2.5,if(G6=G13,10))))

Hope this helps

Peter1999