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.
我希望找到 A 列值的总和,其中相应的 B 列值大于或等于某个 X 并且小于某个 Y。
我试过了:
=SumIf(Sheet1!B:B, and(>=x, <y), Sheet1!A:A)
但它会引发解析错误。
我了解,SUMIF(谷歌电子表格)允许单一标准,并且有必要使用其他功能来实现所需,例如
=SUM(FILTER(A:A; B:B >= X; B:B < Y))
或者
=SUM(QUERY(A:B; "SELECT A WHERE B >= X AND B < Y"))