简体   繁体   English

Excel 2010不更新链接

[英]Excel 2010 not updating links

I have a summary .xls workbook that is pulling data from numerous other workbooks. 我有一个摘要.xls工作簿,它从许多其他工作簿中提取数据。 When the summary sheet is opened, the linked cells only show #VALUE! 打开摘要表时,链接的单元格仅显示#VALUE! . If I open all the other workbooks, then the summary workbook works fine. 如果我打开所有其他工作簿,则摘要工作簿可以正常工作。

I am using SUMIF formulas, which I believe need to have the corresponding workbooks open to work, but if you use SUMPRODUCT you do not need to have them open. 我正在使用SUMIF公式,我认为需要让相应的工作簿开放工作,但是如果你使用SUMPRODUCT ,则不需要打开它们。

I just tried replacing the wording SUMIF with SUMPRODUCT but am still getting the same error. 我刚尝试用SUMPRODUCT替换措辞SUMIF ,但仍然得到相同的错误。

=IF(A6="","",
SUMIF('[Stock_count KN.xls]Summary'!$A:$A,A6,'[Stock_count KN.xls]Summary'!$C:$C)
+SUMIF([Stock_count2.xls]Summary!$A:$A,A6,[Stock_count2.xls]Summary!$C:$C)
+SUMIF([Stock_count5.xls]Summary!$A:$A,A6,[Stock_count5.xls]Summary!$C:$C)
+SUMIF([Stock_count4.xls]Summary!$A:$A,A6,[Stock_count4.xls]Summary!$C:$C)
+SUMIF([Stock_count3.xls]Summary!$A:$A,A6,[Stock_count3.xls]Summary!$C:$C)
+SUMIF([Stock_count1.xls]Summary!$A:$A,A6,[Stock_count1.xls]Summary!$C:$C))

Your provided formula with SUMPRODUCT would look like this: 您提供的SUMPRODUCT公式如下:

=IF(A6="","", SUMPRODUCT(('[Stock_count KN.xls]Summary'!$A:$A=A6)*('[Stock_count KN.xls]Summary'!$C:$C)) +SUMPRODUCT(([Stock_count2.xls]Summary!$A:$A=A6)*([Stock_count2.xls]Summary!$C:$C)) +SUMPRODUCT(([Stock_count5.xls]Summary!$A:$A=A6)*([Stock_count5.xls]Summary!$C:$C)) +SUMPRODUCT(([Stock_count4.xls]Summary!$A:$A=A6)*([Stock_count4.xls]Summary!$C:$C)) +SUMPRODUCT(([Stock_count3.xls]Summary!$A:$A=A6)*([Stock_count3.xls]Summary!$C:$C)) +SUMPRODUCT(([Stock_count1.xls]Summary!$A:$A=A6)*([Stock_count1.xls]Summary!$C:$C)))

or with SUM and IF as ARRAY FORMULA: CTRL + SHIFT + ENTER 或者使用SUMIF作为ARRAY FORMULA:CTRL + SHIFT + ENTER

=IF(A6="","",
SUM(IF('[Stock_count KN.xls]Summary'!$A:$A=A6,'[Stock_count KN.xls]Summary'!$C:$C))
+SUM(IF([Stock_count2.xls]Summary!$A:$A=A6,[Stock_count2.xls]Summary!$C:$C))
+SUM(IF([Stock_count5.xls]Summary!$A:$A=A6,[Stock_count5.xls]Summary!$C:$C))
+SUM(IF([Stock_count4.xls]Summary!$A:$A=A6,[Stock_count4.xls]Summary!$C:$C))
+SUM(IF([Stock_count3.xls]Summary!$A:$A=A6,[Stock_count3.xls]Summary!$C:$C))
+SUM(IF([Stock_count1.xls]Summary!$A:$A=A6,[Stock_count1.xls]Summary!$C:$C)))

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM