请教Excel里面IF函数,高手指教:

当输入某个数值时,得出来入库费和出库费的总费用谢谢,
2024-12-17 11:17:40
推荐回答(5个)
回答1:

设入库量在a列,在b2输入:
=MIN(2,IF(A2="",0,IF(A2<=1,0.06,IF(A2<=2,0.1,ROUNDUP(A2,-1)*0.02))))
设出库量在c列,在d2输入:
=MIN(20,IF(C2="",0,IF(C2<=1,0.5,IF(C2<=2,0.55,ROUNDUP(C2,-1)*0.1))))

回答2:

=IF(A1<=1,0.06+0.5,IF(A1<=2,0.1+0.55,IF(A1<=10,0.2+1,IF(A1>10,MIN(ROUNDDOWN(A1/10,0)*2*(0.2+1),20+2)))))

回答3:

=IF(IF(A1<=1,0.06+0.5,IF(A1<=2,0.1+0.55,IF(A1<=10,0.2+1,IF(A1>10,ROUNDDOWN(A1/10,0)*2*(0.2+1)))))>22,22)

回答4:

给个附件再帮你做啦,这个公式不难的,
你这样的话给个图片数据点位置也不知道,不好帮你直接写下来公式

回答5:

if(a,b,c),如果条件a成立,则输出b,如果不成立,则输出c