【发布时间】:2013-04-11 15:18:38
【问题描述】:
注意:我的问题类似于 Googe Spreadsheets 的 ImportRange 函数。
是否可以在 Google 电子表格或 Microsoft Excel 中根据单元格值导入数据?
例如,我可以将 Sheet1 的内容复制到 B == "foo" 列的另一个工作表吗?
目标(表 1):
目标表应该只复制第 2 行和第 4 行,因为它们是唯一包含“foo”的行
编辑:
对于 Google Docs,我正在寻找这样的东西:
=ImportRange("spreadsheetkey", QUERY('sheetname'!A6:E10, "SELECT A, B = 'foo'")) 但是我无法让它工作。
【问题讨论】:
-
使用工作表函数,不太可能(虽然我没有对 GoogleDocs 做过任何事情)使用 VBA 或 GoogleDocs 脚本是可能的。
-
For example, can I copy contents of Sheet1 to another sheet where column B == "foo"?是的,你可以。看到这个链接stackoverflow.com/questions/11631363/…
标签: excel spreadsheet google-sheets google-docs google-drive-api