合并和添加 3 列的内容
Combining and Adding Contents of 3 Columns
我正在设置一个新的 Sheet 来进行一些库存跟踪。如果前两列相同,我需要第三列的总和。
https://docs.google.com/spreadsheets/d/1HQ_HVa2vtxi241-jtJ5zc-j2IWQRSDmBLVueOQDsUCM/edit?usp=sharing
结果应该类似于输出部分。
=QUERY(A3:C,
"select A,B,sum(C)
where C is not null
group by A,B
label A'REF',B'LOT',sum(C)'QTY'", 0)
我正在设置一个新的 Sheet 来进行一些库存跟踪。如果前两列相同,我需要第三列的总和。
https://docs.google.com/spreadsheets/d/1HQ_HVa2vtxi241-jtJ5zc-j2IWQRSDmBLVueOQDsUCM/edit?usp=sharing
结果应该类似于输出部分。
=QUERY(A3:C,
"select A,B,sum(C)
where C is not null
group by A,B
label A'REF',B'LOT',sum(C)'QTY'", 0)