if function would also work be be a nightmare and very long

like for first couple of ranges

=if(A1<=25.6,10,if(and(A1>25.6,A1<=26.1),8,(CONTINUE ADDING IN THE FALSE TILL THE END)))