谈谈为学生成绩分等级

 谈谈为学生成绩分等级

湖北省宜昌市第十五中学 (443001)
夏忠焱

  为学生成绩分等级,不用编写宏。其实在Excel中有现成的函数可用。应如下使用函数:
=Choose(int(分数/相邻等级分数的差)+1,相应的等级列表),其中等级列表的项数应如下计算:满分/相邻等级分数的差整商再加1
  该文中就应这么使用公式
=Choose(int(分数/15)+1,"D","D","D","D","C","B","A");

如Choose(int(74/15)+1,"D","D","D","D","C","B","A")
=Choose(5,"D","D","D","D","C","B","A")=C

   又如宜昌的计分方法120-100为A,99-90为B,89-80为C,79-70为D,69-60为E,60分以下为F,则使用公式
=Choose(int(分/10)+1,"F","F","F","F","F","F","E","D","C","B","A","A","A")
如某生成绩为112,则int函数结果为11,加1后则最后结果为"A";

  
  
  
  
邮政编码:443001
通信地址:湖北省宜昌市第十五中学
姓    名:夏忠焱
电    话:13177089736
电子信箱:[email protected]

你可能感兴趣的:(电脑应用心得)