Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我目前正在创建一个电子表格,其中包含 KS3 学生的考试结果。成绩是:
2C 2B 2A 3C 3B 3A etc. ... up to 8A
有六次考试,每个学生都会有一个结果。
如何创建一个公式来平均所有考试成绩并获得总体平均水平?
基于@Bathsheba 提到的方法和@barry houdini 的改进:
创建一个 table_array,如镜像中的 L2:M20 所示。我将其命名为DictL2:L20 Dalph, M2:M20 Denum。
Dict
Dalph
Denum
公式是:
在 B10 中向下复制到 G13:
=VLOOKUP(B2,Dict,2,0)
在 H10 中复制到 H13:
=ROUND(AVERAGE(B10:G10),0)
在 H2 中复制到 H5:
=INDEX(Dalph,MATCH(H10,Denum,0))
假设要求是学生。