计算比较标准列表

时间:2016-04-11 14:22:40

标签: excel excel-formula

我已经获得了与外部供应商的距离列表,并且我想检查它们的准确性。我在列 1. The failure of any individual command in a multi-command pipeline shall not cause the shell to exit. Only the failure of the pipeline itself shall be considered. 2. The −e setting shall be ignored when executing the compound list following the while, until, if, or elif reserved word, a pipeline beginning with the ! reserved word, or any command of an AND-OR list other than the last. 3. If the exit status of a compound command other than a subshell command was the result of a failure while −e was being ignored, then −e shall not apply to this command. This requirement applies to the shell environment and each subshell environment separately. For example, in: set -e; (false; echo one) | cat; echo two the false command causes the subshell to exit without executing echo one; how‐ ever, echo two is executed because the exit status of the pipeline (false; echo one) | cat is zero. 中的距离与我们在N列中经过验证的距离表的距离。作为次要并发症,并非Q中的所有单元格都已填充。

Distance columns

以绿色突出显示的行表示相同的距离;浅红色背景表示轻微错误(10%边距以外的错误标记为亮橙色,此处未显示),蓝色文本低于实际值,红色高于实际值。

我希望通过将Q(每行)中的单元格总数除以下来显示(在单元格AW1中,而不是重要)精度百分比已填充的col Nx=Qx中的单元格数。我想我应该可以用Q来做,但我似乎无法找到合适的标准。

目前,我使用COUNTIF/COUNTIFS查找COUNTIF($Q$3:$Q$3781, NOT(ISBLANK($Q3)))中的非空单元格数量,但它根本不正确。尝试Q作为对方的标准更是不成功。

有人能指出我正确的方向吗?

1 个答案:

答案 0 :(得分:1)

使用此公式:

=SUMPRODUCT(($N$3:$N$3781=$Q$3:$Q$3781)*1)/COUNT($Q$3:$Q$3781)

它将计算匹配的数字,并除以Q列中带有数字的单元格数。