取整:
=INT((IF(B3<=1000000,B3*0.005,IF(B3<=5000000,5000+(B3-1000000)*0.003,IF(B3<=10000000,5000+4000000*0.003+(B3-5000000)*0.002,IF(B3>10000000,5000+(5000000-1000000)*0.003+(10000000-5000000)*0.002+(B3-10000000)*0.001,0))))))*D5
向上取整:
=ROUNDUP((IF(B3<=1000000,B3*0.005,IF(B3<=5000000,5000+(B3-1000000)*0.003,IF(B3<=10000000,5000+4000000*0.003+(B3-5000000)*0.002,IF(B3>10000000,5000+(5000000-1000000)*0.003+(10000000-5000000)*0.002+(B3-10000000)*0.001,0))))),0)* D5
四舍五入取整:
=ROUND((IF(B3<=1000000,B3*0.005,IF(B3<=5000000,5000+(B3-1000000)*0.003,IF(B3<=10000000,5000+4000000*0.003+(B3-5000000)*0.002,IF(B3>10000000,5000+(5000000-1000000)*0.003+(10000000-5000000)*0.002+(B3-10000000)*0.001,0))))),0)* D5
=ceiling((IF(B3<=1000000,B3*0.005,IF(B3<=5000000,5000+(B3-1000000)*0.003,IF(B3<=10000000,5000+4000000*0.003+(B3-5000000)*0.002,IF(B3>10000000,5000+(5000000-1000000)*0.003+(10000000-5000000)*0.002+(B3-10000000)*0.001,0))))),1)*D5