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.
我想复制=averageif,但是对于标准偏差并且没有太多运气
=averageif
=STDEV(IF(Sheet1!$C:$C,"6",Sheet1!$AL:$AL))
其中column C= 我正在搜索的条件,例如:6 和 AL 是我希望它根据它计算 std dev 的列
column C
我的模拟数据在 D2:E439 中。
在最新版本的 Excel 中,您可以使用 FILTER 函数返回一个数组以传递给 STDEV.S 函数:
=STDEV.S(FILTER($D$2:$D$439,$E$2:$E$439=6))
在旧版本中,使用这个(使用 Ctrl+Shift+Enter 输入):
{=STDEV(IF($E$2:$E$439=6,$D$2:$D$439,""))}