【问题标题】:Excel sum of values if specific date is in specific period and text values are the same如果特定日期在特定期间且文本值相同,则 Excel 值总和
【发布时间】:2018-12-30 01:52:07
【问题描述】:

我有两个表:Table11 和 Table1510 在 Table11 中,我有三列:日期、数值和文本值 在 Table1510 中,我有 4 列:开始日期、结束日期、文本值和空列

现在我的公式需要做的是: 表[1510] 空列 =

如果 Table11[date] = Table1510[Startdate] + Table1510[enddate] 之间

and Table11[文本值] = Table[1510]文本值

然后对所有的Table11[数值]求和。

我想在 Table1510 中自动填充这个公式,所以也许我必须用一个数组公式来做,但我不能让它工作。

我尝试了以下方法,但没有成功:

=SOMMEN.ALS('Productiegegevens nieuw.xlsm'!Tabel11[Downtime door technische fout];[@Equipment];'Productiegegevens nieuw.xlsm'!Tabel11[Equipment];[@[Datum uitvoering]];"<="&'Productiegegevens nieuw.xlsm'!Tabel12[Datum];[@[Datum eind uitvoering]];">="& 'Productiegegevens nieuw.xlsm'!Tabel12[Datum])

【问题讨论】:

  • 您在寻找 SUMIFS (SOMMEN.ALS) 的 NL-NL 区域语言支持时遇到问题吗?
  • 为什么不单独构建每个部分,然后在每个部分工作后将它们组合起来?

标签: excel excel-formula


【解决方案1】:

在谷歌翻译的帮助下,我试图确定您的公式存在的问题。看起来至少有一个条件范围和条件不同步,如果翻译正确,则您的日期与 &gt;=&lt;= 运算符不匹配。

Datum uitvoering                 Date of execution (startdate)
Datum eind uitvoering            Date of completion (enddate)
Downtime door technische fout    Downtime due to technical error (numerical value)
Equipment                        Equipment (text value)

您必须将外部工作簿名称添加到 Table11,但这是我想出的。

=SUMIFS(Tabel11[Downtime door technische fout], Tabel11[Datum], ">="&[@[Datum uitvoering]], Tabel11[Datum], "<="&[@[Datum eind uitvoering]], Tabel11[Equipment], [@Equipment])

【讨论】:

    猜你喜欢
    • 2018-04-23
    • 2018-02-11
    • 1970-01-01
    • 1970-01-01
    • 2017-08-25
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多