This tutorial shows how to use the Combine Sheets add-on to join tables from multiple sheets together. Learn how to save the column order and initial formatting of combined tables and put the result where you decide. Have the united data pasted as values or get it as a formula to reflect all future changes made in the original sheets.
Please bear in mind that Google Sheets limits the total number of possible cells in your file up to 10 million cells.
Run the add-on from the Google Sheets menu: Extensions > Combine Sheets > Start:
On this step, you choose the spreadsheets you want to combine:
Tip. If you plan to combine using a formula and want to select some blank sheets where the data may appear later, make sure these sheets have the same header row as in other sheets. Otherwise, the formula won't be able to include such sheets in the result.
As for the range for such sheets, don't specify it (like A1:F1). Instead, keep it as All data, and the add-on will do the rest.
Then simply enter the word your spreadsheet name may contain and press Search.
The add-on will scan the selected Drive folder for both exact and partial name matches.
When the sheets you want to work with are selected, click Next.
Decide which columns from your tables should be combined at this stage:
The add-on lets you personalize the way it's going to combine data:
Note. In Combine Sheets within Power Tools, you can also manually enter the path to the destination folder.
As the final confirmation, you will see the message saying how many sheets have been combined. Your data will be collected together in a new place according to the options you selected.
When you combine data from different files and choose to have the result as a formula, the add-on uses standard Google Sheets IMPORTRANGE to pull records together.
By default, for the function to work properly, you must grant it permissions to connect to other spreadsheets. Otherwise, you will see formula errors rather than the combined data.
Our add-on suggests the way of doing that correctly. See how to do that in the following video or read the instructions below.
Just hover your mouse over the errors in the Access status column and press each Allow access button that will appear:
Once all spreadsheets are connected, go to the Combined data tab and wait a bit till the result is loaded.
Along with our own custom functions, the resulting formula uses a couple of standard ones: QUERY and IMPORTRANGE. Here are some things you should know about the result returned by the formula:
However, QUERY makes us place strings of spaces into these cells turning them into non-blanks. If you try and use COUNTA on such a column, the result will be misleading since COUNTA processes whitespaces as well.
Combine Sheet offers a way to quickly add a few more sheets to the previously combined data.
The add-on will add additional selected sheets to the existing result and update the formula accordingly if you use it. Once it's finished, you'll see a corresponding result message:
If you combined sheets using a formula but need to adjust the sorting, there's no need to restart the add-on. You can update the sorting order or change the columns used for sorting directly within the formula.
Note. You can only use column names that you selected to combine on Step 2. Any column not included in the original selection won't work.
If you constantly combine multiple Google sheets, you most likely would like to save time when going over the same steps and picking the same options over and over again. To help you with that, we introduced scenarios.
A scenario is a saved set of the options you select on each step of the add-on.
You save the settings when the add-on processes your data and shows the resulting message. Then you just run this scenario, and the tool start to combine the info from multiple sheets immediately.
To create your scenario, click Save scenario in the resulting message once the add-on is done with your data:
You will see your future scenario outline with the options you've just used. You can adjust a few of them to your convenience:
Note. You cannot change these options here. To modify them, please restart the add-on to pick the correct settings on steps 1-3.
Once everything's set, click Save and the scenario will be created.
To start the scenario, go to Extensions > Combine Sheet > Scenarios, find the necessary name and click Start.
Note. If you don't see Scenarios in the menu, just click Extensions > Combine Sheets > Start to open the add-on itself once. This is necessary for new spreadsheets and those where the add-on hasn't been run yet. Your scenario (and all future ones) will then appear in the menu automatically.
This will run the tool and start processing your data right away per all the settings.
In the end, you will get the resulting message saying what scenario has been used, how many sheets have been combined and where to look for the result:
To edit your existing scenario, go to Extensions > Combine Sheet > Scenarios, pick the scenario and click Edit:
You will see the familiar scenario outline. The editable fields are the same: name, sheets, and data ranges:
Press Delete to remove the scenario forever, Save to keep the changes, or Run to start it right away with the new settings.
You can share all or only certain scenarios with your teammates or between your different Google accounts.
To share only certain scenarios, go to Extensions > Combine Sheets > Scenarios > your scenario > Export & share:
You will be prompted to save the scenario to your computer:
Click Save, and your browser will let you select a place where you'd like to save a file with a selected scenario. Once your browser downloads the file, you can close the add-on window.
Send this saved file to any Combine Sheets user so they could import it to their add-on and make use of this scenario.
To share all scenarios you've created, go to Extensions > Combine Sheets > Scenarios, and then right to Export & share all scenarios:
The add-on will let you know that you're about to save the file with all scenarios to your computer:
Click Save, and your browser will let you select a place where you'd like to save the file with scenarios. Once you download it, you can close the add-on window.
Send this saved file to any Combine Sheets user so they could import it to their add-on for future use.
To import the scenarios someone has shared with you, go to Extensions > Combine Sheets > Scenarios > Import scenarios:
Combine Sheets will ask you to pick the file with scenarios from your computer using your browser File Manager. Click Browse to do that:
When you add the required file, the add-on will let you know how many scenarios from that file have been imported:
Tip. The add-on imports all scenarios from the files by default. But if you already have some of them or if something goes wrong, the add-on will inform you accordingly.
All imported scenarios will appear in your Combine Sheets > Scenarios menu:
You can run them right away if you know what spreadsheets they're created for, or review and edit them beforehand.
Responses
Post a comment
Seen by everyone, do not publish license keys and sensitive personal info!