简体   繁体   English

Google Sheets 在不断变化的工作表数量上对单元格求和

[英]Google Sheets Summing a cell over a changing number of sheets

I am trying to convert a Spreadsheet from Excel to Google Sheets.我正在尝试将电子表格从 Excel 转换为 Google 表格。 Most formulas have worked as expected, with the exception of this formula:大多数公式都按预期工作,除了这个公式:

=SUM('J Slater:Job Sheet'!C6)

I am trying to convert a Spreadsheet from Excel to Google Sheets.我正在尝试将电子表格从Excel转换为Google表格。 Most formulas have worked as expected, with the exception of this formula:除以下公式外,大多数公式均按预期工作:

=SUM('J Slater:Job Sheet'!C6)

I am using it to sum a specific cell over a range of sheets this formula allows sheets to be added between the range an also be added to the sum cell without any change to the formula.我使用它来求和一个工作表范围内的特定单元格,此公式允许在范围之间添加工作表,也可以将求和单元格添加到求和单元格中,而无需更改公式。 I can't find a way of replicating this in Google Sheets.我找不到在Google表格中复制此内容的方法。

Thank you for adding this.感谢您添加此内容。 My company will not allow for me to use add ons, so I cannot add the UTIL that is usually used for this.我的公司不允许我使用附加组件,因此我无法添加通常用于此目的的 UTIL。 However, when I tried this script, it did not work entirely.但是,当我尝试这个脚本时,它并没有完全起作用。 It filled a cell with a running string of all of the values from the tabs, but did not give the sum.它用选项卡中所有值的运行字符串填充了一个单元格,但没有给出总和。 Please check the script for accuracy.请检查脚本的准确性。

Any help in resolving this would be greatly appreciated.任何解决此问题的帮助将不胜感激。

"

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

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