Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Merge Multiple Google Spreadsheets into One Sheet

I have a couple of Google Spreadsheets. This Spreadsheets have the same columns number and columns names, but diffrent data.

I want to merge all of this Spreadsheets into one Sheet. The closest thing i found is this: http://ctrlq.org/code/19980-merge-google-spreadsheets , but it make new Spreadsheet with diffrent Sheet for every Sheets on Spreadsheets. I want just one Sheet with all data. Do you guys have idea how to do that?

like image 814
traffic Avatar asked Dec 14 '22 14:12

traffic


1 Answers

Short answer

Use embedded arrays. The simplest form for spreadsheets with regional settings that use dot as decimal separator are

  • ={A1:A2;B1:B2} for vertical merging and
  • ={A1:A2,B1:B2} for horizontal merging.

Explanation

To merge vertically two ranges,

  • for spreadsheets using dot as a decimal separator and comma as function parameter separator

    ={Sheet1!A1:B5;Sheet2!A1:B5}

  • for spreadsheets using comma as a decimal and semicolon as function parameter separator

    ={Sheet1!A1:B5\Sheet2!A1:B5}

Reference

  • Using arrays in Google Sheets- Google Docs editors Help
like image 158
Rubén Avatar answered Dec 26 '22 02:12

Rubén