简体   繁体   English

如何在谷歌表格中的复选框之间求和?

[英]How do I sum between check boxes in google sheets?

I have a google sheet file that I'm using to collect data from boss drops in a game.我有一个 google 表格文件,用于从游戏中的老板掉落中收集数据。 Every once in awhile there is special loot.每隔一段时间就会有特殊的战利品。 That special loot comes on average every 867,000 points.这种特殊的战利品平均每 867,000 点就会出现一次。 What I'm trying to do in the sheet is create a way to see how many points it has been since I received a special loot.我试图在表格中做的是创建一种方法来查看自从我收到特殊战利品以来已经获得了多少积分。 A cell called "points dry".称为“点干”的细胞。

The easy way is to just manually sum the points from the two checkboxes.简单的方法是手动将两个复选框中的点相加。 =sum(B26:B48) or something like that. =sum(B26:B48)或类似的东西。 But I'd like to automate it so that it just sums between the last two checkboxes in column I. I'm pretty stumped on this and I don't know how to approach it.但我想自动化它,以便它只是在第一列中的最后两个复选框之间求和。我对此很困惑,我不知道如何处理它。

Here are some screenshots from my spreadsheet.这是我的电子表格中的一些屏幕截图。

在此处输入图片说明

在此处输入图片说明

...just sums between the last two checkboxes in column I ...只是第一列中最后两个复选框之间的总和

=ARRAYFORMULA(SUM(INDIRECT(
 ADDRESS(LARGE(IF(I:I=TRUE, ROW(I:I), ),  2)+1, 2, 4)&":"&
 ADDRESS(  MAX(IF(I:I=TRUE, ROW(I:I), )), 2, 4))))

在此处输入图片说明

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

相关问题 如何在 Google 表格中反转数组? - How do I reverse an array in Google Sheets? 如何评估Google表格中的公式? - How do I evaluate a formula in Google Sheets? 使用两个谷歌工作表之间的多个条件对一列求和 - sum a column using multiple criteria between two google sheets 如何从表格中计算谷歌应用脚​​本中的持续时间? - How do I calculate duration in google apps script from sheets? 如何将几个 Google Sheets 列转换为 JSON 字符串? - How do I convert a couple of Google Sheets columns into a JSON string? Google 表格:如何从下拉菜单中求和总计 - Google Sheets: How can I SUM total from drop down menu 如何在Google表格中使用大括号在数组中描绘空白单元格? (aka为什么我不能在Google表格中使用“ {;”“”)?) - How do I delineate an empty cell in an array using curly brackets in Google Sheets? (aka Why can't I use “{ , ; ”“ , ”" } In Google Sheets?) Google表格数组总和不起作用? 我哪里错了? - Google Sheets Array sum not working? where am I going wrong? 如何检查对象是否与数组中的每个对象发生冲突?(图片框) - How do I check if an object collides with every object in an array?(Picture boxes) 如何使用表格从数组动态创建复选框? - How do I dynamically create check boxes from an array using the form?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM