0

All answers I have reviewed say use IMPORTRANGE by referencing the "KEY=" in the URL of the source cell. I find no "KEY=" in the source URL. So I always receive a "parse error."

1

You can use the entire url:

=IMPORTRANGE("https://docs.google.com/spreadsheets/d/1QDCf2MDkN7eopuTT-EieQI39Bpc_Y6D-3EWefimpk/edit#gid=0", "A:A")

But just the spreadsheet id should also work:

=IMPORTRANGE("1QDCf2MDkN7eopuTT-EieQI39Bpc_Y6D-3EWefimpk", "A:A")

More generally the google sheets url is structured like this:

https://docs.google.com/spreadsheets/d/spreadsheetId/edit#gid=sheetId

The spreadsheet id's used in this answer don't exist and are only included as examples.

Documentation Spreadsheet id

Documentation importrange.

| improve this answer | |
  • 1
    Thanks. I had been omitting the quotation marks. The link is now working. Problem solved. – Mike Dec 10 '19 at 12:18
  • Can you accept my answer if it has solved your problem? – Bas van der Linden Dec 10 '19 at 12:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.