How to Merge Excel and CSV Files Into One Sheet (Stack or Join)

How to Merge Excel and CSV Files Into One Sheet (Stack or Join)
Try it: Excel & CSV MergerFree, runs in your browser, nothing uploaded

Twelve monthly sales sheets that need to become one. A list of students and a separate list of their marks. Branch reports that each use slightly different column names. The free Excel & CSV Merger handles both kinds of merge in your browser — no formulas, no copy-paste, and your data stays on your device.

Two kinds of merge

  • Stack rows puts files under each other. Use it when the files have the same kind of columns — January, February and March sales; one sheet per branch; survey exports from different days.
  • Join on a key puts columns side by side for rows that share a value such as an ID, roll number, phone or email. It’s what people usually use VLOOKUP or XLOOKUP for.

Stack rows

  1. Drop all the files onto Excel & CSV Merger. Every sheet of a workbook appears; untick any you don’t want and drag them into order.
  2. Choose Stack rows. Columns with the same or similar names are matched automatically.
  3. Where names differ, use the drop-down for that file: point “Phone” in one file at “Mobile No.” in another and they become one column. You can rename output columns or drop ones you don’t need.
  4. Keep Add a “Source” column on to see which file each row came from.

Join on a key

  1. Choose Join on a key and pick the ID column in each file — the tool guesses one that appears in all of them.
  2. Choose which rows to keep:
    • All rows of the first file (left join) — like VLOOKUP: every row of your main list, with matching data added where found.
    • Only rows found in every file (inner join) — just the matches.
    • All rows from all files (full join) — everything, with blanks where there was no match.

Tip: keys are compared as text, so make sure they’re written the same way in both files. Send the files through the data cleaner first to trim spaces or standardise phone numbers if matches are missing.

Preview and download

The merged rows are previewed before you download one Excel or CSV file. Then press Clean merged data to remove duplicate rows straight away — see how to clean spreadsheet data.

Frequently asked questions

Will leading zeros and IDs be kept?

Yes. Values are copied as text, so 00123 stays 00123. In Excel output, only plain numbers without leading zeros are stored as numbers, and you can turn that off.

Are formulas and formatting kept?

No. The merge copies the values you see; colours, formulas, charts and macros aren’t carried over.

Are my files uploaded?

No. Everything happens in your browser, so it’s safe for payroll, customer and student data.

Open Excel & CSV MergerUse it now — your files stay on your device