excel表格中,如果A1小于20那么A2等于0,如果A1大于等于20,那么A2等于A1乘以2......

2024-11-05 20:27:42
推荐回答(4个)
回答1:

=IF(A1<20,0,IF(A1<30,A1*2,IF(A1<40,A1*4,IF(A1<50,A1*6+100,A1*8+100))))

回答2:

=IF(A1<20,0,IF(A1>=50,A1*8+100,IF(A1>=40,6*A1+100,IF(A1>=30,4*A1,A1*2))))

回答3:

=IF(A1<40,,100)+LOOKUP(A1,{0,0;20,2;30,4;40,6;50,8})*A1

回答4:

=IF(A1>=50,A1*8+100,IF(A1>=40,A1*6+100,IF(A1>=30,A1*4,IF(A1>=20,A1*2,0))))