我有以下結構
Column1 Column2
Foo 100
Baa 200
我怎樣才能有一個值是所有 column2 值的總和,其中它的 column1 值等于 Foo?
uj5u.com熱心網友回復:
很多解決方案,例如:
=SUMIF(A1:A; "Foo"; B1:B)
=SUMIFS(B1:B; A1:A; "Foo")
=INDEX(SUM((A1:A="foo")*B1:B))
=SUM(FILTER(B1:B; A1:A="Foo"))
=SUMPRODUCT(B1:B*(A1:A="Foo"))
=QUERY(A1:B; "select sum(B) where A = 'Foo'")
轉載請註明出處,本文鏈接:https://www.uj5u.com/houduan/456357.html
上一篇:谷歌作業表復選標記條件格式
下一篇:比例公式谷歌表格
