gpt4 book ai didi

google-sheets - 具有日期条件的 Google 表格摘要

转载 作者:行者123 更新时间:2023-12-05 07:22:49 24 4
gpt4 key购买 nike

尝试使用 SUMIFS 公式获取我在另一个 Google 表格上花费一个月的钱时出现错误。我是编写公式的新手,这是我未能找到的第一个瓶颈。

我试图在我的谷歌表格中写一个公式,但出现错误。我是新手,所以请原谅我。

在 Google 表格中,我有三个表格(摘要,这是主要的)、Leads 和 Spend。

我正在尝试编写一个公式来获取我在特定月份的花费。在支出表中,我有日期、姓名和金额的列。

这是我试过但没有运气的公式。

Spend!G:G = Column with text for type of spend (Google PPC)
Spend!E:E = Column with cost of each spend
Spend!A:A = Column with the date

=SUMIFS(Spend!G:G,"Google PPC",Spend!E:E,Spend!A:A,">=1/1/2019", Spend!A:A,"<=1/31/2019")

它应该只是给我在给定日期花费的总金额。但我收到一条错误消息,提示“SUMIFS 的数组参数大小不同”

最佳答案

第一个参数应该是要求和的单元格范围。然后遵循一系列范围和标准。

=SUMIFS(Spend!E:E, 
Spend!G:G,"Google PPC",
Spend!A:A,">=1/1/2019",
Spend!A:A,"<=1/31/2019")

参见:SUMIFS documentation

关于google-sheets - 具有日期条件的 Google 表格摘要,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56381986/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com