Combine the sheets of an Excel file
Upload a workbook with several tabs and download it as a single table, with every row one after another.
The problem it solves
It is the most common file in the world: a workbook with twelve tabs,
January, February, March… each holding the same table again. It is
comfortable to fill in and impossible to analyse. No pivot table reads twelve
sheets at once, and any yearly total ends up as a formula adding twelve cells
across twelve tabs, which breaks the moment someone adds a sheet.
What you need is one continuous table with the rows from every sheet one after another. That is exactly what you download here.
The sheet-name column
When you flatten the workbook, the information held in the tab name — "this row
is March" — disappears, because the tab no longer exists. That is why the "Add
a column with the sheet name" option is on by default: it appends a column
holding the name of the sheet each row came from. It is called Sheet by
default, and you can rename it to something meaningful such as Month or
Branch.
Without that column, a workbook organised by month becomes a pile of undated rows. With it, you have exactly the column to group by in a pivot table.
When the sheets do not share columns
They do not have to be identical. The columns in the result are the union of
them all, in the order they first appear: if October's sheet has a Returns
column the others lack, that column exists in the result and stays empty on the
rows from the other months.
Matching is by column name, so Amount goes with Amount even if it sits in a
different position on each sheet.
A workbook with only one sheet
If you upload a file with a single sheet there is nothing to combine, and the tool says so rather than handing you back a copy of your file. That usually means you uploaded the wrong file, or that the "tabs" you thought you had are in fact separate files — in which case what you want is Merge by stacking rows.
Frequently asked questions
Is each sheet's header row repeated?
No. The header row on every tab is recognised as such, and the result has just one, at the very top.
Can I upload a CSV?
No, for a simple reason: a CSV is always a single table and has no sheets. This tool accepts .xlsx and .xls.
Are numbers and dates preserved?
Yes. Every cell keeps its type, so you can sum the amounts in the result straight away. For formulas, the computed value is kept.
What order do the rows come out in?
The order of the sheets in the workbook: all the rows from the first tab, then those from the second, and so on.
How do I split them apart again?
With Split by sheet if the workbook still has
tabs, or with Split by column using the
Sheet column this tool added.