When the same records take several lines, the Combine Duplicate Rows add-on is your best assistant for bringing all relevant information together. This page shows how to combine rows with duplicate entries that have unique information in adjacent columns in 3 simple steps.
The add-on processes values only. There is no technical possibility for it to keep your formulas when it combines data from several rows into one.
The add-on doesn't process merged cells. If there are any in the rows you want to combine, they will be unmerged, and only the value from the top-left cell will be kept.
We care about your data and suggest you always create backup copies of your spreadsheets. A special option of the add-on will do that for you if you select it.
Go to Extensions > Remove Duplicates > Combine duplicate rows to run the add-on:
Here you are to adjust the range where you want to combine duplicated rows:
The add-on picks the used range — cells with data till the blank row & column — by default.
To modify it, either enter the changes right in the field or click on the Select range icon. The latter will bring up a dialog window that will display any range you choose manually. Select the necessary cells and click OK to confirm the reference:
To quickly highlight the used range back, use the Auto select button.
We always recommend ticking off the option to Create a backup copy of the sheet. It will duplicate the original spreadsheet before its records are combined.
Click Next to continue to step 2.
This step lets you define the columns with duplicate key values that you want to combine:
Once you specify key columns on this step, click Next to follow to the last step.
Or choose Back to change the range with data.
The last step lets you identify the values to merge in your selection along with the way to do it:
For example, if you are combining rows by order IDs and merging names, one ID may take several rows with the same name. You can keep the first occurrence of the name in the resulting row and avoid repetitions.
Pick one of standard delimiters (Line break, Semicolon, Comma, Space) from the drop-down list or enter any custom separators in the same field. For example, you can bring all book titles to the same cell and use a line break to separate them within a cell:
Once you set up the action for all columns with the values you'd like to keep, click Finish and see the summary of the merged rows in the add-on window:
If Combine Duplicate Rows is your go-to add-on, chances are you run it often and go through the same options over again. To help you automate the process a bit, we implemented scenarios for this tool.
A scenario is a set of all options that you choose on each step of the add-on. You can save these settings to run later either on the same table with new data or on another table of the same structure.
When the add-on finishes combining duplicate rows and shows you the result message, click Save scenario:
You will see a short summary of all options you have used just now — this is your scenario preview:
If everything looks good, click Save.
To start the scenario, go to Extensions > Remove Duplicates > Scenarios, select the required scenario and click Start.
Combine Duplicate Rows will begin to work with the data according to the scenario settings.
Once it's done, you will get the result message saying what scenario has just worked and what it's processed:
To view the scenario or to change the sheet and the range you want to alter, go to the same Extensions > Remove Duplicates > Scenarios menu, pick the scenario and select Edit this time:
You will see the entire scenario outline again:
You can give it a new name and select other sheet & range.
If you make any changes, press Save to keep them. Click Run to start the scenario right away, or hit Delete to remove it completely.
You can easily export one or more scenarios and share them with your teammates or sync across your different Google accounts.
To share a single scenario, go to Extensions > Remove Duplicates > Scenarios > desired scenario > Export & share:
You’ll be prompted to save the scenario on your computer:
Click Save, and your browser will prompt you to pick a location to store the file. Once the file is saved, close the add-on window.
You can now share the file with anyone using Combine Duplicate Rows, and they’ll be able to import the scenario directly.
To export all the scenarios you’ve created, navigate to Extensions > Remove Duplicates > Scenarios, then select Export & share all scenarios:
The add-on will notify you that all scenarios will be saved to your computer:
Click Save, and your browser will open a window to specify the save location. After saving, you can close the add-on window.
Now you can send this file to other people using Combine Duplicate Rows, and they’ll be able to import all the scenarios into their tool.
To bring in scenarios shared with you, go to Remove Duplicates > Scenarios > Import scenarios:
The add-on will ask you to choose the file with the saved scenarios. Click Browse:
After importing, a message will display the number of scenarios successfully added:
Tip. The tool imports all scenarios from the file by default. If conflicts occur with your already existing scenarios, you’ll be notified.
You’ll find all imported scenarios under Remove Duplicates > Scenarios, ready to be used or modified:
Responses
Post a comment
Seen by everyone, do not publish license keys and sensitive personal info!