我最拿手的EXCEL函数用法就是擅长用IF函数对各种条件设置了,A1输入任意数,B1==IF(A1<10,5,IF(AND(10<=A1,A1<=20),10,IF(A1>=20,15,)))。
=IF(A1<10,"5",IF(A1<20,"10","15"))
=5*MAX(1,INT(A1/10)+1)
=if(a1>=20,15,if(a1>=10,10,5))