Linking one google docs spreadsheet to another [closed]

穿精又带淫゛_ 提交于 2019-12-03 03:45:35

问题


I have data in one google docs. Call it docA.

I would like to reference this data in docB. Something along the lines of =docA!Sheet1!A2

How would I be able to go about this? I do not mind changing security settings and the like


回答1:


First go to the spreadsheet that you want to import the data from (docA) and observe the value of the key mentioned in the URL (Eg: https://docs.google.com/spreadsheet/ccc?key=ABC#gid=0, in this case the key is "ABC").

Now go to the cell in docB and use the importRange function to import the data.

=importRange(, !:)

Eg: =importRange("ABC", "Sheet1!A1:B10")

If you want to import just one cell: E.g. =importRange("ABC", "Sheet1!A1");

If you don't mention the name of the sheet, the first sheet is used.



来源:https://stackoverflow.com/questions/14008661/linking-one-google-docs-spreadsheet-to-another

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!