Combine duplicate rows and sum values
Group rows by a key column, add up the number columns and join the text columns, so each key appears once and nothing is thrown away.
- Free
- No sign-up
- Works on any device
About Combine duplicate rows and sum values
Paste a table or open a CSV or Excel sheet, pick the key column, and every group of rows with the same key becomes one row. Columns that hold only numbers are added up, text columns are joined with a semicolon, and a count column tells you how many rows were merged. Unlike a remove-duplicates tool, nothing is lost: three Acme orders of 10, 2 and 3 units become one Acme row with 15 units. A second key column lets you group by customer and product together. Matching ignores capitals and extra spaces unless you turn that off.
How to use Combine duplicate rows and sum values
- Paste your table, or open a CSV or XLSX file, with the column names in the first row.
- Choose the key column, and a second key if two columns together identify a group.
- Check the combined table, then copy it or download it as CSV or XLSX.
Why use this tool?
- Private: everything happens in your browser. Nothing you enter is uploaded.
- Free, with no sign-up, no watermark and no limit on how often you use it.
- Works on phones, tablets and computers: Android, iPhone, Windows, Mac and Linux. Nothing to install.
Also known as
Frequently asked questions
How does it decide which columns to add up?
A column is added up when every filled cell in it is a plain number. If one cell holds text, the whole column is treated as text. You can force a number column such as a phone number to be treated as text.
Will the sums show cents correctly?
Yes. Each sum uses the largest number of decimals found in its column, and it adds whole cents instead of floating point fractions, so 100.50 plus 20.25 gives exactly 120.75.
What happens to the text columns of merged rows?
By default the different values are joined with a semicolon in the order they appeared. You can also keep only the first or last value, or leave the cell empty.
Is Combine duplicate rows and sum values free?
Yes. Combine duplicate rows and sum values on Toolipedia is free to use, with no sign-up and no watermark.
Is it safe to use?
Yes. Everything is worked out in your browser, and nothing you enter is sent to our server.
Does it work on my phone?
Yes. It works in any modern browser on Android and iPhone, as well as on tablets and computers. There's nothing to install.
Do I need an account?
No. Just open the page and use the tool. There's no sign-up and no email needed.