Merge 3 Tables in Excel Power Query: Full Guide

How-to basics · Updated November 23, 2026

To merge three tables in Excel Power Query, you use the Merge Queries command twice: first merge Table A with Table B, then merge the result with Table C, expanding the columns you need after each step. This creates a single combined table without writing any formulas, and the whole process is repeatable when your source data changes.

Why Merge in Power Query Instead of VLOOKUP or PivotTables

Power Query (Get & Transform Data) is Excel’s built-in ETL tool, available on the Data tab in Excel 2016 and later, including Microsoft 365. Unlike VLOOKUP, which only pulls one column at a time and can break if you insert columns, Power Query merges are explicit, auditable, and refreshable. Unlike PivotTables, which aggregate data, a merge simply joins rows side-by-side based on matching keys, preserving every detail row. It also handles large datasets (hundreds of thousands of rows) more gracefully than worksheet formulas, and it keeps the original data untouched—everything happens in the query editor.

Step-by-Step: Merging Three Tables

Assume you have three Excel tables: Orders (OrderID, CustomerID, Amount), Customers (CustomerID, Name, City), and Regions (City, Region). You want one table with OrderID, Amount, Customer Name, and Region.

  1. Select any cell inside the Orders table, then go to Data > From Table/Range. This opens the Power Query Editor with Orders loaded.
  2. With Orders selected in the Queries pane, go to Home > Merge Queries (the dropdown arrow next to it) and choose Merge Queries as New if you want to keep Orders intact, or just Merge Queries to modify Orders in place.
  3. In the Merge dialog, select Customers as the second table. Click the CustomerID column in both previews to match them. Choose a join kind—Left Outer keeps all orders even if a customer is missing. Click OK.
  4. You now see a new column named Customers (or similar). Click the expand icon (double arrow) in that column header. Uncheck Use original column name as prefix if you want clean names, then select the columns you need (Name, City). Click OK.
  5. Now merge the result with Regions. With the combined query selected, go to Home > Merge Queries again. Select Regions, match on City in both tables, choose Left Outer, OK.
  6. Expand the Regions column, select Region, and click OK.
  7. Go to Home > Close & Load to put the merged table into a new worksheet. To refresh later, right-click the table and choose Refresh, or use Data > Refresh All.

On Mac, the path is Data > Get & Transform Data > From Table/Range, and the Merge command is under the Add Column or Home tab depending on your Excel version—the dialog is identical.

Choosing the Right Join Kind

The join kind determines which rows survive. For merging three tables, you will commonly use:

  • Left Outer – keeps all rows from the first (left) table, even if no match exists in the second. Best when the first table is your primary fact table (e.g., orders).
  • Inner – keeps only rows that match in both tables. Use when you only want complete records.
  • Full Outer – keeps all rows from both tables, filling blanks where no match. Useful for reconciling lists.
  • Right Outer – keeps all rows from the second table. Rarely needed in a three-table merge unless the second table is the driver.

When merging three tables, the join kind you choose at each step matters. For example, if you merge Orders with Customers using Left Outer, then merge that result with Regions using Left Outer, you keep all orders even if a region is missing. If you used Inner at the second step, orders with missing regions would disappear.

Common Problems and How to Fix Them

  • Duplicate rows after expand: If the second table has multiple rows per key (e.g., multiple orders per customer), the merge multiplies rows. To avoid this, aggregate or deduplicate before merging, or use Group By in Power Query to collapse duplicates.
  • Column name conflicts: When expanding, two tables may have a column named the same (e.g., both have “ID”). Use the Use original column name as prefix checkbox, or rename columns before merging.
  • Data type mismatches: If CustomerID is text in one table and number in another, the merge fails silently (no matches). Fix by selecting the column, going to Home > Data Type, and setting both to the same type.
  • Merge not available: If the Merge button is greyed out, you likely have a table selected that is already loaded, or you are in a view that doesn’t support it. Make sure you are in the Power Query Editor, not the worksheet.
  • Slow performance with large tables: Merging three 100k-row tables can be slow. Reduce columns before merging (remove unneeded ones), and consider using Reference queries to avoid duplicating data.

Merge vs. Append: Which One Do You Need?

People often confuse merging with appending. Merge combines columns side-by-side based on a key—like VLOOKUP. Append stacks rows on top of each other—like pasting two lists vertically. If you have three tables with the same columns (e.g., sales from three regions), you want Append Queries (Home > Append Queries), not Merge. If you have three tables with different columns but a common ID, you want Merge. A common mistake is trying to merge tables that should be appended, which creates a wide, sparse table with many blank cells.

Refreshing and Maintaining the Merge

One of the biggest advantages of Power Query is that the merge is a saved query. When you update the source tables (e.g., add new orders), you simply click Refresh on the merged table, and Power Query re-runs the entire merge automatically. To edit the merge later, go to Data > Queries & Connections, double-click the query, and modify the merge steps. If you rename a source table, update the query’s Source step to point to the new name. If you add columns to a source table, they won’t appear in the output until you re-expand the merge column—go back to the query, click the expand icon, and select the new columns.

Frequently Asked Questions

Can I merge three tables at once in Power Query?

No, Power Query only merges two tables at a time. You must perform two sequential merges. There is no “merge three” command. However, you can chain them as shown above, and the second merge uses the result of the first as its left table.

What if my key columns have different names in each table?

That’s fine. In the Merge dialog, you select the column from each table independently. They don’t need to have the same name—just the same data type and matching values. For example, one table might call it “ID” and another “CustomerID”.

Does merging change my original data?

No. Power Query works on an in-memory copy. Your original tables remain untouched. The merged result is a new table in a new worksheet (or loaded to the data model). If you delete the merged table, the source data is unaffected.

Can I merge tables from different workbooks?

Yes. When creating a query, use Data > Get Data > From File > From Workbook to load each workbook as a separate query. Then merge those queries in the Power Query Editor. The same steps apply—just select the query names instead of worksheet tables.

Why does my merged table show “null” values?

Nulls appear when there is no match for a row in the right table. For example, if an order has a CustomerID that doesn’t exist in the Customers table, the Name column will be null. To fix, either correct the source data or use an Inner join to exclude unmatched rows.

Is there a way to merge without expanding columns?

Yes. You can keep the merged column as a structured column (a table within a cell) and later reference it using Table.Column or by expanding only when needed. But for most purposes, expanding immediately is simpler and clearer.

Related

Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.

More in How-to basics

Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources

Spotted an error in this guide? Let us know.