Assuming reference cell is A1

=If(and(A1<=1,A1>.98),25,If(and(A1<.98,A1>=.95),10,0))

=if(and(A1>0,A1<.2),50,if(and(A1>.19,A1<.25),25,0))