0

我试图I在另一个工作簿中找到大于 179 英镑的值的总和 [在单元格中引用B13] 在列H01/06/2014 到 30/06/2014 [在单元格中引用B1C1分别]。我不想编辑包含列HI.

这是我拥有的公式,但它错误,因为我假设您不能将总和范围也作为标准范围: =SUMIFS([anotherFilel.xlsx]sheet!$I$16:$I$99999, [anotherFilel.xlsx]sheet!$I$16:$I:$99999,>$B$13,[anotherFilel.xlsx]sheet!$H$16:$H$99999,<=$C2,[anotherFilel.xlsx]sheet!$H$16:$H$99999,>=$B2)

还有 anotherFile.xlsx 表:(包含空白行)

H           I
30/05/14    £1,072.00
















16/04/14    £179.00












25/04/14    £249.00

28/04/14    £169.50

            £358.00
30/04/14    £179.00
02/05/14    £1,146.00

01/05/14    £179.00
30/04/14    £796.00

01/05/14    £150.00



06/05/14    £179.00



08/05/14    £278.00
08/05/14    £1,440.00



19/05/14    £249.00


20/05/14    £179.00











02/06/14    £127.00
02/06/14    £269.00

05/06/14    £297.83
04/06/14    £23.50

12/06/14    £214.80
04/06/14    £318.00

25/06/14    £144.00


18/06/14    £538.00
12/06/14    £155.75



09/06/14    £298.00




17/06/14    £597.60


13/06/14    £302.00





17/06/14    £264.00
17/06/14    £49.50
17/06/14    £23.50











23/06/14    £134.00
4

2 回答 2

2

@Fabricator 的答案应该有效,但如果你想用 just 编写它SUMIFS,你需要引用你的条件并将你的值与&. Excel 没有任何问题,列既是条件/求和列。

=SUMIFS([anotherFilel.xlsx]sheet!$I$16:$I$99999, 
        [anotherFilel.xlsx]sheet!$I$16:$I$99999, ">" & $B$13,
        [anotherFilel.xlsx]sheet!$H$16:$H$99999, "<=" & $C2,
        [anotherFilel.xlsx]sheet!$H$16:$H$99999, ">=" & $B2)
于 2014-06-25T01:30:21.967 回答
1

您可以使用数组公式

{=SUM(IF((B1<=[anotherFilel.xlsx]sheet!H:H)
            *([anotherFilel.xlsx]sheet!H:H<=C1)
            *([anotherFilel.xlsx]sheet!I:I>B13),
         [anotherFilel.xlsx]sheet!I:I,0))}
于 2014-06-25T00:45:54.070 回答