如何引用外部电子表格中的单元格或范围?
我已经保存了一个包含一些数据的电子表格,然后在同一硬盘驱动器上同一文件夹中的新电子表格中,我尝试引用先前保存的电子表格文件中的单元格。
根据我的阅读,我应该点击顶部菜单上的插入
,然后点击链接到外部数据
,然后选择文件和单元格中的文件和单元格。外部数据弹出对话框。但在我选择文件后,“确定”按钮保持禁用状态,并且“可用表/范围”框保持空白。 Linux 和 Windows XP 版本中都会发生这种情况。
我做错了什么?
如果我选择“更新间隔”复选框,则没有区别;我仍然无法执行任何操作,因为“确定”按钮仍然处于禁用状态。
I have one spreadsheet already saved with some data, then in a new spreadsheet in the same folder on the same hard drive I'm trying to reference a cell in the previously saved spreadsheet file.
From what I've read, I'm supposed to click Insert
on the top menu, then Link to External Data
, then choose the file and cell(s) in the External Data popup dialog. But after I choose the file, the OK button remains disabled, and the "Available Tables/ranges" box remains blank. This happens both in the Linux and Windows XP versions.
What am I doing wrong?
If I select the "Update every" checkbox there is no difference; I still can't do anything because the OK button remains disabled.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
对于另一个电子表格中的数据,最简单的解决方案是使用外部引用。您可以通过“文件的绝对或相对路径”#Sheet3.A1:Sheet3.B5 引用数据,或者如果您想要将更大的外部区域投影到具有相同大小的区域,请结合使用数组公式和外部引用。
使用 Libreoffice 3.5,您甚至可以创建对未保存文件的外部引用,并且在第一次保存引用文件时会调整引用。
然后,正如您正确提到的那样,还有链接功能。对于此功能,您需要在链接文档中创建一个范围名称来引用您要链接的区域。 (请参阅http://help.libreoffice.org/Calc/Link_to_External_Data)
For data in another spreadsheet the easiest solution is to use external references. You can reference data by 'absolute or relative path to file'#Sheet3.A1:Sheet3.B5 or if you want project a bigger external area to an area with the same size use array formulas in combination with external references.
With Libreoffice 3.5 you are even able to create external references to unsaved files and the references are adjusted the first time the referenced file is saved.
Then there is as you correctly mention also the link feature. For this feature you need to create a range name in the linked document that refers to the area you want to link. (see http://help.libreoffice.org/Calc/Link_to_External_Data)
最简单的方法:
在 TargetSpreadsheet 中选择一个单元格并输入 =,然后立即切换到 SourceSpreadsheet,单击您想要从中获取数据的单元格,然后按 Enter。
The easiest way:
In TargetSpreadsheet select a cell and type =, then immediately switch to the SourceSpreadsheet and click on the cell you want the data from and press Enter.