Excel操作

时间:2022-12-11 03:27:28

区间范围计算

方法一:用IF函数

方法二:构建一个辅助区域,用VLOOKUP函数

方法一:用IF函数

在F3中输入:=IF(E3>=90%,5%,IF(E3>=80%,4%,IF(E3>=70%,3%,IF(E3>=60%,2%,1%))))

向下拖动,搞定。

示例:

=IF(BB2<=0.5,"50及以下",IF(AND(BB2>0.5,BB2<=0.6),"50-60",IF(AND(BB2>0.6,BB2<=0.7),"60-70",IF(AND(BB2>0.7,BB2<=0.8),"70-80",IF(AND(BB2>0.8,BB2<=0.9),"80-90","90以上")))))

Excel操作Excel操作