About this tool
Merge Excel and CSV tables: append rows by column name, or match on a 1–5 column composite key with left, inner or full joins (like VLOOKUP). Choose fields to bring across and export unmatched records.
Typical uses
- Combine monthly reports from several stores into one sheet
- Bring shipping status into an orders table by order number
- Find records that do not match between two tables
How to use
Add CSV, TSV or XLSX files; choose the encoding for new files, select worksheets and arrange append order.
Append by column name, or match 1–5 pairs of key columns using a left, inner or full join. Select which right-table fields to add. Check previews and match counts, then download the result or original unmatched tables. Save column-mapping presets and continue to cleanup, filtering or splitting.
Customer 001 appears in both East and West in an order table. Match customer ID and region as two key pairs, with one right-table row per pair, to retain all orders and add their cities. Review unmatched counts on both sides and export the original unmatched rows. Reuse a saved column-mapping preset with the next files of the same structure.
Up to 10 files totaling 20 MB. Each table and result: 20,000 rows, 200 columns, 200,000 cells; output 10 MB. Non-empty right composite keys must be unique; any blank component prevents a match. Duplicates report source rows. Original values are retained; missing preset columns require remapping. Full joins copy unmatched right keys verbatim into the corresponding left key columns, leaving other left fields blank. Formulas use cached values; missing caches and unsafe numbers raise errors. Styles are discarded.
Trimmed headers are case-sensitive. Repeated non-empty right composite keys report their source rows and stop the join; duplicate left rows remain, and blank keys never match. Full joins copy unmatched right keys verbatim into corresponding left key columns; other right fields follow your selection. Excel may auto-convert IDs in CSV; choose XLSX to preserve text. Original workbook styles are not retained.
The three join types on the same data
In “Match columns” mode every left-table row looks up the right table by the key columns; when it finds a row, the right-table fields are added to the end. “Join type” only decides what happens to rows that find nothing. Here the left table holds orders, the right table holds customers, and the key is customer.
| order | customer | name |
|---|---|---|
| A1 | C01 | Ada |
| A2 | C02 | Lin |
| A3 | C01 | Ada |
| A4 | — | Walk-in |
| A5 | c03 | Mei |
| customer | name | city |
|---|---|---|
| C01 | Ada Lee | Leeds |
| C02 | Lin Hu | York |
| C03 | Mei Chen | Bath |
| C04 | Kai Wu | Hull |
| — | (no ID) | Ely |
This is the output of “Full: all records from both tables”. The first column shows which join types also output the row (Left = Left: all left rows, Inner = Inner: matched rows only). A dash marks an empty cell.
| Output by | order | customer | name | right.name | city |
|---|---|---|---|---|---|
| Left · Inner · Full | A1 | C01 | Ada | Ada Lee | Leeds |
| Left · Inner · Full | A2 | C02 | Lin | Lin Hu | York |
| Left · Inner · Full | A3 | C01 | Ada | Ada Lee | Leeds |
| Left · Full | A4 | — | Walk-in | — | — |
| Left · Full | A5 | c03 | Mei | — | — |
| Full | — | C03 | — | Mei Chen | Bath |
| Full | — | C04 | — | Kai Wu | Hull |
| Full | — | — | — | (no ID) | Ely |
- The statistics are identical for all three types: 3 of 5 left rows matched, 2 of 5 right rows were used, 2 left and 3 right rows are unmatched. Only the row count changes: Left 5, Inner 3, Full 8.
- Both tables have a name column, so the right one is appended as right.name. If the left table already had right.name, it would become right.name_2, then right.name_3.
- In a full join, a row that exists only on the right has its key copied verbatim into the left customer column; the other left fields stay empty.
- Order A5 has customer c03 in lower case and does not match C03 by default. With “Ignore key case” the left matches rise to 4 and the unmatched right rows fall to 2.
- The “Original unmatched left” and “Original unmatched right” downloads keep each table’s own columns and values without the added fields, ready to hand to whoever fixes the data.
Key rules: composite keys, blanks and duplicates
“Load two example tables” loads exactly this data: an order table matched to a contact table on two key pairs, id = customer_id and region = region. Customer 001 has one contact in East and one in West, so the ID alone cannot tell them apart.
| id | region | name | quantity | right.name | city |
|---|---|---|---|---|---|
| 001 | East | Ada | 2 | Ada Lee | Shanghai |
| 001 | West | Lin | 3 | Lin Hu | Chengdu |
| 002 | East | Sam | 1 | — | — |
| 001 | East | Ada | 4 | Ada Lee | Shanghai |
- Every key column must be equal for a match. Both 001 / East orders receive the same contact: duplicates on the left are fine and each row is kept. 002 / East has no contact, so its added fields are empty.
- Matching on id alone, 001 appears twice in the contact table and the tool stops with: “The right table has 1 repeated non-empty composite keys. No join was performed. Worksheet row numbers including the header: 2 ↔ 3. Deduplicate or add matching columns.” That prevents one order from silently turning into two rows, or from picking one contact at random.
- If any key column is blank, the row takes no part in matching: on the left it goes to the unmatched list, and blank right-table keys never trigger the duplicate error.
- “Trim keys when matching” (on by default) and “Ignore key case” affect the comparison only; the output keeps the original values.
- All values are compared as text: a left “001” and a right “1” give 0 matches. A number displayed as 001 by Excel’s 000 format is read as 1, so make both sides text first.
- Up to 5 key pairs. Which right-table fields are added is chosen under “Add right-table fields”; the default is “Auto: non-key fields”.
Appending rows: columns line up by name
“Append rows” aligns columns by header name, not by position. The headers of all files are combined in the order they first appear, and a file that lacks a column gets empty cells. Headers are trimmed when read (“␣id␣” becomes “id”) and are case-sensitive after that. Two files appended:
| id | amount | |
|---|---|---|
| 1 | ana@example.com | 120 |
| id | source_file | |
|---|---|---|
| bo@example.com | 2 | crm |
| id | amount | source_file | source_file_2 | ||
|---|---|---|---|---|---|
| 1 | ana@example.com | 120 | — | — | jan.csv |
| 2 | — | — | bo@example.com | crm | feb.xlsx [Sheet1] |
- Email and email became two columns. Rename headers to match before appending, for example with Split and merge columns.
- With “Add a source-file column” ticked a source_file column is added. The second file already had one, so the new column is named source_file_2. CSV rows record the file name; XLSX rows record “file name [sheet name]”.
- Files are output in queue order, which the arrow buttons change. Up to 10 files and 20 MB per batch.
Messages and limits
| Message | Cause | What to do |
|---|---|---|
| Every column needs a non-empty header. | A header cell is empty. You also get this when a data row has one cell more than the header: the reader pads the header with an empty name, so the message is “Every column needs a non-empty header.” rather than a row-length error. | Name every column; look for a stray delimiter or the wrong delimiter setting. |
| Duplicate headers found. Rename columns first. | Two columns share a name, so a key or field would be ambiguous. | Rename one of them. |
| (duplicate-key message) | Non-empty right-table keys are not unique. Up to 12 pairs of worksheet row numbers (header included) are listed. | Deduplicate the right table, or add another key pair. |
| Select valid tables and matching columns. | The same table is chosen on both sides, a key column is used twice, or a key is missing. | Reselect tables and columns. |
| Add at least two tables. | Only one file was added. | Add at least two. |
| Limit: 10 files and 20 MB of source files per batch. | More than 10 files or more than 20 MB in one batch. | Merge in batches, then merge the results. |
| Each XLSX file must be at most 10 MB. | One XLSX is over 10 MB (CSV: 5 MB; an XLSX may expand to at most 50 MB). | Remove unused sheets or save as CSV. |
| Limit: 20,000 rows, 200 columns and 200,000 cells including headers. | A table or the merged result is over the limit. | Work in smaller batches. |
| Cannot decode this file. Choose its correct encoding and read again. | Wrong encoding. Encoding and delimiter apply only to files added afterwards. | Change the encoding and add the file again. |
| The workbook contains unsafe numeric values. Store long IDs as text and import again. | A long number exceeds safe precision. | Store the column as text in Excel. |
| A formula has no cached result. Recalculate and save in Excel or compatible software, then import again. | A formula has no saved result. | Recalculate and save in Excel. |
- For a workbook the tool picks the first sheet that has a valid header row, skipping a cover sheet; switch sheets in the file list if you need another one.
- CSV downloads include “Add UTF-8 BOM to CSV” by default so Excel recognises UTF-8; choosing Tab as the export delimiter saves a .tsv file.
- XLSX downloads write every value as text, so leading zeros survive; source formatting is not carried over.
Frequently asked questions
How is this different from VLOOKUP?
It supports composite keys and several join types, brings in many columns at once and exports unmatched and duplicate-key records separately.
What if the right table has duplicate keys?
Right-table keys must be unique; duplicates are reported with their rows so you can fix them first.
How many files?
Up to 10 files totaling 20 MB; each table up to 20,000 rows and 200 columns.
Suggest an improvement to this tool
Missing an option, something awkward to use, or a wrong result? Let us know.