我正在创建一个工作表,其中每组中有x个候选项。我想检查每组中所有候选人已经完成的最低掌握水平。显然会有候选人已超过该级别,但最低级别适用于该组的所有成员。我希望根据该组所有成员所达到的水平增加一个乘法常数。兴趣水平如下:
"Participation in activity"
"Mastery Level 1"
"Mastery Level 2"
"Mastery Level 3"
etc.
还有一个“缺席”级别,我想从分析中排除。我尝试使用各种形式的IF函数来解决这个问题,但是无法用它来取得任何进展。非常感谢任何帮助!
"Group 1"
**Name** **Mastery Level** **Points**
"Person A" "Mastery Level 2" "2"
"Person B" "Absent" "0"
"Person C" "Mastery Level 1" "1"
"Person D" "Mastery Level 2" "2"
"Person E" "Mastery Level 3" "3"
**SUBTOTAL** "8"
_Multiplier_ "Mastery Level 1" "x2"
**TOTAL** "16"
"Group 2"
**Name** **Mastery Level** **Points**
"Person F" "Mastery Level 2" "2"
"Person G" "Absent" "0"
"Person H" "Mastery Level 2" "2"
"Person I" "Mastery Level 2" "2"
"Person J" "Mastery Level 3" "3"
**SUBTOTAL** "9"
_Multiplier_ "Mastery Level 2" "x3"
**TOTAL** "27"
答案 0 :(得分:0)
在工作簿的某个地方,您将以某种方式从定性标准到(因此新制作的)定量标准制作对应表。 E.g。的
**qualit. Level** **quant. Level**
"Mastery Level 1" 1
"Mastery Level 2" 2
"Mastery Level 3" 3
"Absent" =""
假设上表位于您想要的工作表中的A1:C5
。然后,在同一工作表中,假设您的group1表位于D1:F6
。为了清楚起见,没有vba和报告group1的表,我会做类似
**Name** **Mastery Level** **Points**
"Person A" "Mastery Level 2" =VLOOKUP($E2,$A$2:$B$5,2,False)
"Person B" "Absent" =VLOOKUP($E3,$A$2:$B$5,2,False)
"Person C" "Mastery Level 1" =VLOOKUP($E4,$A$2:$B$5,2,False)
"Person D" "Mastery Level 2" =VLOOKUP($E5,$A$2:$B$5,2,False)
"Person E" "Mastery Level 3" =VLOOKUP($E6,$A$2:$B$5,2,False)
**SUBTOTAL** =SUM(F2:F6)
**Min mast. Lev.** =MIN(F2:F6)
**TOTAL** =F7*COUNTIF(F2:F6,F8)
VLOOKUP
表示例如单元格F2
上的那个,
在表格
$A$2:$B$5
中,搜索单元格E2
中的值,返回第二个相邻列,并且不进行近似操作