sturdybits

Guides / Combine Sheets

How to combine multiple sheets into one in Excel

30 November 2026

To combine several sheets of a workbook into one, stack their rows under a single heading row: copy and paste for a few tabs, use =VSTACK(Jan:Mar!A2:D200) in Microsoft 365 or Excel 2024, or use Power Query in Excel for Windows. Excel's Consolidate command sounds like the answer but isn't: it adds up, averages or counts matching values rather than listing every row.

Consolidate adds up, it doesn't stack

Data > Consolidate takes the same range from several sheets and summarises it with a function such as Sum, either by position or by matching row and column labels. It's the right tool for adding twelve monthly budgets made from one template into a yearly total, as Microsoft's guide to consolidating shows. It won't give you one long list of every order or timesheet line from every tab, which is what most people mean by combining sheets.

1. Copy and paste

Good for: a few sheets, once.

  1. Add a new sheet for the combined list.
  2. Copy the first sheet's data, including the heading row, and paste it into A1.
  3. On each other sheet, copy the data without its heading row and paste it into the first empty row of the combined sheet.
  4. If you need to know which tab each row came from, type the sheet name in a spare column beside each block.

It works in every version, but it's a snapshot: change a tab and the combined sheet doesn't follow. It also stacks columns by position, so the tabs need their columns in the same order.

2. VSTACK (Microsoft 365 and Excel 2024)

Good for: a combined list that updates itself when the tabs change.

VSTACK stacks ranges on top of each other. Microsoft lists it for Excel for Microsoft 365, Excel for the web and Excel 2024, on Windows and Mac; Excel 2021 and earlier don't have it.

  1. Add a sheet for the combined list, outside the run of tabs you're stacking, for example to the left of the first one.
  2. Copy the heading row into row 1.
  3. In A2, enter the ranges to stack, leaving out their headings:
=VSTACK(Jan!A2:D200, Feb!A2:D200, Mar!A2:D200)

If the tabs sit next to each other, a 3-D reference stacks every sheet from the first to the last, in tab order: =VSTACK(Jan:Mar!A2:D200). That's why the combined sheet has to sit outside that run: inside it, the formula would refer to itself.

Each range includes its empty rows, so the result has rows of zeros wherever a tab has fewer than 199 rows of data. To drop them, filter on the first column:

=LET(d, VSTACK(Jan:Mar!A2:D200), FILTER(d, CHOOSECOLS(d, 1)<>""))

Blank cells in the rows you keep still show as 0. VSTACK stacks by position, so every tab needs the same columns in the same order, and a narrower range fills its missing columns with #N/A. The result is a formula: to send the list to someone, copy it and use Paste Values.

3. Power Query

Good for: large or growing tabs, in Excel for Windows, especially when the columns aren't in the same order.

  1. On each sheet, click in the data and press Ctrl+T to make it a table. On the Table Design tab, give each a name that starts the same way, such as Shop_Leeds and Shop_York.
  2. Choose Data > Get Data > From Other Sources > Blank Query.
  3. In the formula bar, type = Excel.CurrentWorkbook() and press Enter. You get a list of the workbook's tables.
  4. On the Name column's filter arrow, choose Text Filters > Begins With and type Shop_.
  5. Choose the double-arrow button in the Content column heading, pick the columns and choose OK.
  6. Choose Home > Close & Load.

Columns are matched by heading, so their order on each sheet doesn't matter, and the Name column says which table each row came from. Choose Data > Refresh All after changing a tab.

Step 4 matters. The combined result is itself a table in the same workbook, so without the filter the next refresh picks it up as a source and the rows double.

4. A VBA macro

Good for: a one-off stack of many tabs with the same layout, on Excel for Windows.

This adds a sheet called Combined and stacks every other visible sheet onto it, keeping the heading row once. It copies values, not formulas. Press Alt+F11, choose Insert > Module, paste the code and press F5.

Sub CombineSheets()
    Dim ws As Worksheet, target As Worksheet, data As Range, nextRow As Long
    Set target = Worksheets.Add(After:=Worksheets(Worksheets.Count))
    target.Name = "Combined"
    nextRow = 2
    For Each ws In Worksheets
        If ws.Name <> target.Name And ws.Visible = xlSheetVisible Then
            Set data = ws.Range("A1").CurrentRegion      ' headings in row 1, no blank rows
            If target.Range("A1").Value = "" Then
                target.Range("A1").Resize(1, data.Columns.Count).Value = data.Rows(1).Value
            End If
            If data.Rows.Count > 1 Then
                Set data = data.Offset(1).Resize(data.Rows.Count - 1)
                target.Cells(nextRow, 1).Resize(data.Rows.Count, data.Columns.Count).Value = data.Value
                nextRow = nextRow + data.Rows.Count
            End If
        End If
    Next ws
End Sub

Like copy and paste, it stacks by position. It stops if a sheet called Combined already exists, so rename or delete the old one before running it again.

When a tool is quicker

Copy and paste is fine for three tabs. When there are dozens, or the tabs were set up by different people with their columns in different orders, the formula and Power Query routes need care and testing.

That's why we made Combine Sheets. Drop in the workbook and tick the sheets you want; hidden sheets aren't listed. Columns are matched by their heading whatever their order, ignoring capitals, and a column that's only on some sheets gets its own column and is flagged. Once you tick more than one sheet from a file, each row is labelled with its sheet as well as its file. You see a preview, then download one sheet as an Excel workbook or a CSV file, with dates kept as dates and numbers as numbers. Each sheet's own colours and fonts aren't carried over. You can add other workbooks or CSV files to the same list.

It runs in your browser, on Windows or Mac, and your files never leave your computer. The free version combines up to 10 files at a time, however many sheets each has; Pro is £19 once and combines any number. You can try it with sample files first. To combine separate files rather than tabs, see how to combine Excel files into one sheet.

Quick answers

Can Consolidate combine sheets into one list? No. Consolidate summarises matching values with a function such as Sum. To list every row from every sheet, use copy and paste, VSTACK, Power Query or a macro.

What formula combines data from multiple sheets? VSTACK, in Microsoft 365, Excel for the web and Excel 2024. With a 3-D reference such as =VSTACK(Jan:Mar!A2:D200) it stacks every sheet from Jan to Mar.

Does VSTACK work in Excel 2021? No. Microsoft lists it for Microsoft 365, Excel for the web and Excel 2024. In Excel 2021 or earlier, use Power Query, copy and paste, or a macro.