推荐两种方法:方法1、用if函数进行多重嵌套计算;=if(条件1,结果1,if(条件2,结果2,if(条件3,结果3,结果4)));此方法理解较为抽象。
方法2:用ifs函数计算:=ifs(条件1,结果1,条件2,结果2,条件3,结果3,条件n,结果n)
示例:在B1单元格输入以下公式
=IFS(A1<=100000,A1*8%,A1<=500000,A1*7%,A1<=1000000,A1*5%,A1<=2000000,A1*3%,A1<=5000000,A1*1.6%,A1<=10000000,A1*0.7%,A1<=20000000,A1*0.3%,A1<=50000000,A1*0.12%,A1>50000000,A1*0.05%)