在 Google 表格中的表格中汇总相同的单元格 [英] Sum the same cell across the sheets in Google Sheets

查看:26
本文介绍了在 Google 表格中的表格中汇总相同的单元格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我每个月都有一张工作表.在每个月底,我需要对所有选项卡中的相同单元格求和.以下工作:

I have a sheet for every day in the month. At the end of every month, I need to sum the same cell across all tabs. The following works:

=SUM(March31!L2,March30!L2,March29!L2,March28!L2,March26!L2,March25!L2,March24!L2)

然而,在月底,公式将是巨大的.尝试了以下方法:

However, at the end of the month, the formula will be tremendous. Tried the following:

=SUM(March31:March1!L2)

不起作用.甚至有可能吗?

Doesn't work. Is it even possible?

推荐答案

SUM(March31:March1!L2)

这行不通,但您可以使用某种生成器:

that won't work, but you can use kind of a generator:

={" "; ARRAYFORMULA("=SUM("&TEXTJOIN(", ", 1, TEXT(ROW(INDIRECT(
 DATEVALUE("2020/01/01")&":"&DATEVALUE("2020/12/31"))), "mmmmd!L2"))&")")}

它会给你你需要的完整公式,所以你需要做的就是复制粘贴下面的单元格

which will give you the full formula you need so all you need to do is copy-paste the cell bellow

这篇关于在 Google 表格中的表格中汇总相同的单元格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆