在excel中,如何同时对两个单元格数值的大小,进行判断后再进行相应计算?

2024-11-19 02:46:17
推荐回答(3个)
回答1:

C2公式:
=IF(MAX(A2:B2)<=400,0.6,IF(MAX(A2:B2)<=1000,0.8,IF(MAX(A2:B2)<=2500,1,1.2)))

回答2:

=IF(MAX(A1,B1)<=400,0.6,IF(MAX(A1,B1)<=1000,0.8,IF(MAX(A1,B1)<=2500,1,1.2)))

回答3:

=if(max(a1,b1)>2500,1.2,if(and(max(a1,b1)>1000,max(a1,b1)<=2500),1,if(and(max(a1,b1)>400,max(a1,b1)<=100),0.8,0.6)))