简体   繁体   English

如何在谷歌表格中对每一天的值求和

[英]How to sum values for each day in google sheets

I want to make two columns one that has date and the other that has sum for the number of violations occurred on that day.我想制作两列,一列具有日期,另一列具有当天发生的违规次数的总和。 Have a look at the data below.看看下面的数据。

看图片

use:利用:

=QUERY({B:C}; "select Col1,sum(Col2) where Col1 is not null group by Col1 label sum(Col1)''")

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2025 STACKOOM.COM