请问高手在EXCEL表中,当0<A<=50时B1=A1*1;当50<A<=100时B1=A1X2;当A1>100时B1=200。如何做到?

2025-01-05 16:40:24
推荐回答(4个)
回答1:

=IF(AND(A1>0,A1<=50),A1,IF(A1<=100,A1*2,IF(A1>100,200,"")))
B1输入上式

回答2:

参考
if( a< 50, "值1“, if(a<100, "值2", "值3"))

回答3:

=IF(A1<=50,A1,IF(50100,200,"")

回答4:

=IF(A1="A",MIN((B1-50)/100,10),IF(A1="B",MIN(B1/100,5),""))