[英]Dynamically update the cell value of an excel sheet with another excel sheet cell values
I have two excel sheets, Test.xlsx and Sample.xlsx.我有两个 excel 表,Test.xlsx 和 Sample.xlsx。 I'm referring the "B10"cell value in the Test.xlsx with the "C10" of Sample.xlsx using the formula "='C:\\Users\\Happy\\Desktop\\Work[Sample.xlsx]Sheet1'!C10" in the B10 of Test.xlsx file.
我使用公式 "='C:\\Users\\Happy\\Desktop\\Work[Sample.xlsx]Sheet1'!C10" 引用 Test.xlsx 中的 "B10" 单元格值和 Sample.xlsx 的 "C10"在 Test.xlsx 文件的 B10 中。 Now I opened Sample.xlsx, edited C10 cell value, Saved it and Closed.
现在我打开 Sample.xlsx,编辑 C10 单元格值,保存并关闭。 I then opened Test.xlsx and the cell value "B10" in the Test.xlsx will not update until I just re-open the Sample.xlsx.
然后我打开了 Test.xlsx 并且 Test.xlsx 中的单元格值“B10”不会更新,直到我重新打开 Sample.xlsx。 Is there any way to just open Sample.xlsx, edit the C10 value and close it so that the value of the cell B10 in Test.xlsx will update with out re-opening the Sample.xlsx file.
有什么方法可以打开 Sample.xlsx,编辑 C10 值并关闭它,以便 Test.xlsx 中单元格 B10 的值将更新,而无需重新打开 Sample.xlsx 文件。 Please advice.
请指教。 Thank you.
谢谢你。
I just tested this using Excel 2010 and two .xlsx files.我刚刚使用 Excel 2010 和两个 .xlsx 文件对此进行了测试。 With both files open (in the same instance of Excel, mind you), changing one and then switching to the other automatically shows the other with the change.
打开这两个文件(在同一个 Excel 实例中,请注意),更改一个然后切换到另一个会自动显示另一个更改。
Then I tried what you said: Open source, make change, save and close, then open destination.然后我尝试了您所说的:开源,进行更改,保存并关闭,然后打开目标。 Same thing: the destination updated.
同样的事情:目的地更新了。 The only caveat is that I first needed to hit the Enable Content button in the destination.
唯一需要注意的是,我首先需要点击目标中的“启用内容”按钮。
Perhaps your Excel is set to manually update formulae?也许您的 Excel 设置为手动更新公式? In Excel 2010, it's on the Formulas ribbon, Calculation Options |
在 Excel 2010 中,它位于公式功能区、计算选项 | Automatic.
自动的。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.