我正在尝试进行创建百分比的查询。不幸的是,涉及零值。百分比是为员工创造分数 - 目前无效在我们的Excel表中算作正面。当我们访问访问时,他们真的不应该算作员工的正面或负数。我目前将其设置为以下查询:
QAScore: (NZ([UtilizedScript])+NZ([NeedsAssessment])+NZ([PlanRecommendation])+NZ([AskedForSale])+NZ([OvercameObjections]))/200
因此,在加法方面,零值被计为零。但是,我希望总的得分反映出输入无效的得分。因此,例如,如果利用的订阅价值50点,而列举估计为20,而对于员工来说,这些实例都不适用,那么他们可能获得的总金额不会是200个 - 那将是130。添加此逻辑以在这些实例中计算,而不会影响总计200的实例?我是一个新手,所以我感谢我能获得的任何帮助!
(我还应该提到这些值不仅不是全部或全部。
这是我目前所在的地方(IK是一个怪物)Qascore :( NZ([[fituriedscript])) nz([[gathingedInfo]) nz([hold]) nz([[calldisposition])) nz([[builtrapport]) nz([[forvefiveCommuntication])) nz([[所有权]) nz([usedResources]) nz([[professionalconduct]) nz([cecuctateInformation]) nz([callcontrol]) nz([cliquifiedcallerereleligibility]) nz([nextSteps]) nz([需求评估]) nz([[planRecommendation]) nz([[quastforsale]) nz([claseCameObjections])))/(= iif(eval(evalizedScript] in(" 6"," 3"," 3",",")0")," 6"," 0") iif(eval(" cathingedinfo)"(" 14"," 7"," 0"))," 14"," 0") iif(eval(eval)[hold] in(" 6"," 3"," 0"))," 6"," 0") iif(eval([callDisposition] in(" 10"," 5"," 0")))," 10"," 0") iif(eval(" [builtrapport))(" 10"," 5"," 0"))," 10"," 0") iif(eval(eval([效率)(" 6"," 3"," 0")," 6"," 0") iif(eval(phoneetiquette] in(" 10"," 5"," 0"))," 10")," 10"," 0") iif(eval("所有权)"(" 8"," 4"," 0"))," 8"," 0") iif(eval([underResources] in(" 8")," 4"," 0"))," 8"," 0") iif(eval([professionalConduct] in(" 20"," 10"," 0"))," 20"," 0"," 0") iif(eval(" cecuctate formation")(" 18"," 9"," 0"))," 18"," 0") iif(eval([callcontrol] in)(" 10"," 5")," 0"))," 10"," 0") iif(eval([cliquifiedcallereligibility] in(" 10"," 5"," 0"))," 10"," 0") iif(eval([[nextSteps] in(" 8"," 4"," 0"))," 8"," 0") iif(eval([需求评估])(" 14"," 7"," 7"," 0")," 14"," 0") iif(eval(" [planRecmendation] in)(" 14"," 7"," 0"))," 14"," 0") iif(est]在(" 18"," 9"," 0")中10"," 0"))
我认为您想要的表达是:
(NZ([UtilizedScript]) + NZ([NeedsAssessment]) +
NZ([PlanRecommendation]) + NZ([AskedForSale]) +
NZ([OvercameObjections])
) /
(IIF([UtilizedScript]>=0,1,0) + IIF([NeedsAssessment]>0,1,1) +
IIF([PlanRecommendation]>=0,1,0) + IIF([AskedForSale]>=0,1,0) +
IIF([OvercameObjections]>=0,1,0)
)
如果您的数据是每行的一个分数,而不是在单独的列中进行分数。