Skip to content

Instantly share code, notes, and snippets.

@michaelcarwile
Created January 6, 2014 22:36
Show Gist options
  • Select an option

  • Save michaelcarwile/8291073 to your computer and use it in GitHub Desktop.

Select an option

Save michaelcarwile/8291073 to your computer and use it in GitHub Desktop.
Use VMERGE and importRange() to merge data from multiple spreadsheets in Google Drive
/* requires VMERGE Google Script to be installed */
/* Insert into formula bar where you want process to begin */
=sort(
vmerge(
importrange( "sheet_key_from_url" ; "sheet_tab_name!A2:E2000" );
importrange( "sheet_key_from_url" ; "sheet_tab_name!A2:E2000" );
)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment