原帖由 半榻茶烟 于 2002-10-21 22:40 发表
=IF(A1=1,"A",IF(A1=2,"B",IF(A1=3,"C",IF(A1=4,"D",IF(A1=5,"E",IF(A1=6,"F",IF(A1=7,"G",IF(A1=8,"H",""))))))))&IF(A1=9,"I",IF(A1=10,"J",IF(A1=11,"K",IF(A1=12,"L",IF(A1=13,"M",IF(A1=14,"N",IF(A1=15,"O",IF ...
六楼的这个方法很好用,而且可以复制公式到新的单元格,我用这个方法解决了我的问题:
D3 D4
90--100 4.0
85--89 3.7
81--84 3.3
78-80 3.0
75--77 2.7
72--74 2.3
69--71 2.0
66--68 1.7
63--65 1.3
60--62 1.0
D4里的公式:=IF(D3>=90,"4.0",IF(AND(D3>=85,D3<=89),"3.7",IF(AND(D3>=81,D3<=84),"3.3",IF(AND(D3>=78,D3<=80),"3.0", IF(AND(D3>=75,D3<=77), "2.7",IF(AND(D3>=72,D3<=74), "2.3",IF(AND(D3>=69,D3<=71), "2.0","")))))))&IF(AND(D3>=66,D3<=68),"1.7",IF(AND(D3>=63,D3<=65),"1.3",IF(AND(D3>=60,D3<=62),"1.0",0))) |