[英]How do i add values from other google sheets together and display them on one sheet?
So I've created a few google sheets to track the hours I've worked with different clients and I'd like to create a master sheet that displays this as the total hours worked each day.所以我创建了一些谷歌表格来跟踪我与不同客户合作的时间,我想创建一个主表格,将其显示为每天的总工作时间。 My current sheets are already formatted like calendars with the hours inputed on a daily basis so its really just adding the same "day" across 6 or 7 sheets and displaying them on one.
我当前的工作表已经像日历一样格式化,每天输入时间,所以它实际上只是在 6 或 7 张工作表中添加相同的“天”并将它们显示在一张上。
I've tried the importrange function but every time i get a new client i have to add the new importrange manually to every day's sum for that month.我已经尝试过 importrange function 但每次我得到一个新客户时,我都必须手动将新的 importrange 添加到该月每天的总和中。 There must be an easier way no?
一定有更简单的方法不是吗?
Currently, I have this:目前,我有这个:
=SUM(IMPORTRANGE("client 1 link", "January!F10"), IMPORTRANGE("client 2 link", "January!F10"), IMPORTRANGE("client 3 link", "January!F10"), IMPORTRANGE("client 4 link", "January!F10"), IMPORTRANGE("client 5 link", "January!F10"))
This solution will only have 1 tab for each client in the overview workbook.此解决方案在概览工作簿中仅为每个客户提供 1 个选项卡。 You select the month you want to summarize, and it will import just that month into each client's tab.
您 select 您要汇总的月份,它将仅将该月份导入每个客户的选项卡。
Refer to these two sheets:参考这两张表:
Individual Client Workbook个人客户工作簿
Overview Workbook概述工作簿
In the workbook you will be using to aggregate all of the separate client sheets, add tabs for each client in addition to the overview tab, also add extra tabs so you don't need to update the formulas each time.在工作簿中,您将用于聚合所有单独的客户工作表,除了概述选项卡外,还为每个客户添加选项卡,还添加额外的选项卡,这样您就不需要每次都更新公式。
On the overview tab, Create a dropdown that has the Month_Year named ranges, this will select the month that will be imported into each client's tab.在概览选项卡上,创建一个包含 Month_Year 命名范围的下拉菜单,这将 select 将导入每个客户选项卡的月份。 In this example it is B3.
在本例中,它是 B3。
In the same cell of each client tab add IMPORTRANGE("Client Workboook URL", B3) .在每个客户端选项卡的同一单元格中添加 IMPORTRANGE("Client Workbook URL", B3) 。 If you use A1, then place the formula in A1 on all tabs.
如果您使用 A1,则将公式放在所有选项卡上的 A1 中。 This will import only the month you selected on the overview tab.
这将仅导入您在概览选项卡上选择的月份。
Finally, on the overview tab, add your sum formula for the same cell on each tab.最后,在概览选项卡上,为每个选项卡上的同一单元格添加总和公式。 The key here is to have enough extra tabs to accommodate new clients.
这里的关键是有足够的额外标签来容纳新客户。 You can also change a tabs client as you add / lose clients.
您还可以在添加/丢失客户端时更改选项卡客户端。
Now you can go to the overview tab, select the month you want to view, and it will update each client's tab with that month, and add them all together on the overview tab.现在您可以 go 到概览选项卡,select 您要查看的月份,它会用该月份更新每个客户的选项卡,并将它们一起添加到概览选项卡上。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.