excel - 如果特定日期在特定期间且文本值相同,则 Excel 值总和
问题描述
我有两个表:Table11 和 Table1510 在 Table11 中我有三列:日期、数值和文本值 在 Table1510 中我有 4 列:开始日期、结束日期、文本值和空列
现在我的公式需要做的是: Table[1510] empty column =
如果 Table11[date] = Table1510[Startdate] + Table1510[enddate] 之间
和 Table11[文本值] = 表 [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])
解决方案
在谷歌翻译的帮助下,我试图确定你的公式的问题。看起来至少有一个条件范围和条件不同步,如果翻译正确,那么您的日期>=
和<=
运算符不匹配。
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])
推荐阅读
- javascript - 在 GraphQL 中将参数从根传递到子查询
- javascript - document.evaluate 但对于任何节点
- c# - 如何在 C# 中截断为整数除法?
- java - 出于某种原因,getArrayList 被视为 int
- ruby-on-rails - ActiveRecord,嵌套包括计数器
- pine-script - Pinescript:结合两个指标
- git - 有没有办法批量删除 GitHub 分叉存储库?
- mpi - 使用不同的用户名在 LAN 集群上运行 MPI
- android - MotionLayout 中的 Android CustomAttribute 以更改 TextView 中的文本
- visual-studio-2017 - 错误 CS1061“DeviceClient”不包含“SetInputMessageHandlerAsync”的定义