Use one source table if you can. If not, merge matching ranges, relate tables that share a key, or load them to the Data Model when one PivotTable must read multiple sources. Skip the proper setup and PivotTable fields stay split, totals go wrong, or Excel blocks the layout. This guide gives the fastest fix for each setup and the exact decision path for merge, relate, or model.
What you'll need
- A clean source table or list with one header row and no blank rows inside the range.
- Matching field names if you plan to append rows from separate files or sheets.
- A shared key column, such as OrderID, CustomerID, or ProductID, if you plan to relate tables.
- Excel with Data Model support for modern multi-table reporting.
- Power Pivot if you are following Excel 2010-era guidance or need more advanced modeling.
- A date field if you want monthly, quarterly, yearly, or hourly grouping.
Which setup fits your data?
Choose the fix by structure, not by preference. If the tables have the same columns, append them into one list. If the tables are different but share a clean key, connect them through the Data Model. If you are on older Excel without model tools, use the legacy multiple-consolidation route.
Decision tree: pick one path and stop at the first match
If the tables have identical columns, append the rows into one table and stop there. If the tables are separate but share a key, relate them in the Data Model and stop there. If you are using older Excel without a model path, use legacy multiple consolidation. Do not mix paths in the same report.
Path 1: append identical columns
Use this when each source has the same header row and the same field layout. In Excel 2016+, turn both ranges into tables, stack the rows under one header, then use Insert > PivotTable on the combined table. Make sure the headers match exactly and that each source is a proper table before you combine them.
Path 2: relate separate tables with a shared key in the Data Model
Use this when the tables are different but have a common key, such as OrderID or ProductID. In Excel 2016+, load both tables to the Data Model, then use Data > Relationships to connect them before inserting the PivotTable. Check that the key columns use the same data type and that the lookup side has unique values.
Path 3: use legacy multiple consolidation in older Excel
Use this only when older Excel does not give you a practical model-based option. The classic route is Insert > PivotTable, then the PivotTable/PivotChart Wizard with multiple consolidation ranges. The main stop sign is limited field-level reporting, because this path is meant for basic consolidation rather than detailed multi-table analysis.
| Scenario | Recommended setup | Required prep | Most likely failure point |
|---|---|---|---|
| Same columns across files | Append into one table, then build one PivotTable | Match every header exactly; stack rows under one header row | One header is spelled differently, so Excel splits the field list |
| Shared key but different tables | Load both tables to the Data Model and create a relationship | Make key values unique on the lookup side; match data types | Text keys and number keys do not match, so the relationship fails |
| Need for appended rows | Combine the ranges into one normalized list | Add a source column if you need to separate files later | Blank rows break the list and stop refresh from picking up new records |
| Incompatible date fields | Fix the date column before grouping, or keep one date field per fact table | Convert text dates to true dates; keep one date type per column | Excel cannot group text dates, so month and quarter options stay disabled |
| Old Excel without Data Model | Use PivotTable/PivotChart Wizard with multiple consolidation ranges | Prepare each range as a simple block of data | Field-level reporting is limited, so separate dimensions are harder to analyze |
Why can't I use multiple data sources in one Excel pivot table
A standard PivotTable expects a single source structure, so Excel cannot auto-join unrelated ranges in the classic workflow. When sources differ, you must either append matching tables, relate tables through the Data Model, or use the legacy consolidation wizard. That is the practical limit, not a formatting problem.
What the limit looks like
In a normal layout, the PivotTable field list comes from one source shape. If the columns do not match, or if the data lives in separate related tables, Excel has no built-in rule for joining them in the classic workflow.
A common first-timer mistake is trying to place Sales on one sheet and Customers on another, then expecting both fields to appear in one standard PivotTable. That works only after you create a relationship in the Data Model.
How do I combine two tables into one pivot table in Excel?
If the tables have the same columns, combine them by stacking the rows into one normalized table. If the tables have different columns but share a key, keep them separate and use the Data Model. If neither applies and you are on older Excel, use the multiple-consolidation wizard.
Steps
- Compare the headers. Verify that both sources have the same field names and the same data types. If they do, append the rows under one header row so Excel treats the data as one list.
- Remove blanks. Delete blank rows inside the range, then convert the result to an Excel table if possible. Pivot tables work best when the source has no blank rows.
- Insert the PivotTable. Select the combined table, choose Insert > PivotTable, and then place fields in Rows, Columns, Values, and Filters as needed.
- Adjust the summary. Open Value Field Settings and pick Total, Count, or Average to match the result you want from the field.
Failure points
The most common breakpoints are mismatched headers, hidden blank rows, and date or number columns stored as text. If Excel treats one source differently, the field list splits or the PivotTable summarizes the wrong way.
Example
Suppose two monthly files both use Date, Region, Product, and Sales. Append them, add a SourceMonth column if you need to separate months later, then refresh the PivotTable from the combined table.
How do I build the model and relationship?
Use the Data Model when you need one PivotTable to summarize across related tables with different columns. Power Pivot and the Data Model let you load multiple tables, connect them through key columns, and then build a PivotTable from those relationships.
Steps: clean the key fields
- Clean the key fields. Make sure the join columns use the same type on both sides, such as text-to-text or whole number-to-whole number. Remove extra spaces and duplicate keys on the lookup side.
- Load both tables. Select each table, then add it to the Data Model through Insert > PivotTable and the model option, or through the Data tab when that path is available.
- Create the relationship. Open Data > Relationships, then link the two tables by their shared key column. The key values must match exactly.
- Build the PivotTable. Insert the report from the Data Model, then drag fields from both tables into the layout. Use Value Field Settings to change summaries if needed.
Failure points: relationships fail
Relationships fail when the lookup side is not unique, when the key types do not match, or when the columns contain extra spaces or inconsistent values. If the fields do not appear together in the PivotTable, the model connection is usually the issue.
Example: picture a Products
Picture a Products table with ProductID and Category, plus a Sales table with ProductID and Amount. Relate them by ProductID, then place Category in Rows and Amount in Values.
Do I need the Data Model to use multiple sources in a pivot table
No, but it is the modern path for related tables. Use the Data Model when the sources are separate tables with a shared key and you want one PivotTable to summarize them together. Use an appended table when the sources have the same columns. Use the legacy consolidation wizard only when model tools are unavailable.
When the Data Model is the right call
Choose it when the tables describe different parts of the same record set, such as Orders, Customers, and Products. It also helps when you need relationships between tables and want a PivotTable that can pull fields from more than one source without flattening everything into one sheet.
What is the best way to join related tables before making a pivot table
The best method is to join them logically, not by pasting columns together. Keep one table per subject, make the key fields clean, and create a relationship in the Data Model. That keeps source tables separate and still lets one PivotTable summarize across them.
Steps: both key columns use
- Both key columns use the same data type.
- The lookup table has one unique row per key.
- Header spelling is consistent across refreshes.
- Date fields are real dates if you plan to group by month, quarter, year, or hour.
Failure points: if the lookup side has
If the lookup side has duplicates or the key columns are stored differently, the relationship will not behave correctly. If dates are text, grouping options fail later even when the model itself is valid.
Example: a clean ProductID link keeps
A clean ProductID link keeps Products separate from Sales while still letting the PivotTable analyze sales by category, product, or other product-side fields.
How do I create a pivot table from multiple tables in Excel 2016 or later?
In modern Excel, add each table to the Data Model, create the relationships, and then insert the PivotTable from the model. That route supports multi-table reporting, drag-and-drop field layout, and the standard summary controls you expect from a PivotTable.
Steps: turn each range
- Turn each range into a table. Make sure each source has a clear header row and no blank rows inside the data before you build the PivotTable.
- Add the tables to the model. Load both tables into the Data Model so Excel can store the related sources together.
- Link the tables. Use Data > Relationships and connect the shared key columns.
- Build and verify. Insert the PivotTable from the model, then confirm both tables appear in the field list and the totals change when you move fields.
Failure points: if one table is not
If one table is not actually loaded to the model, or if the key columns are inconsistent, the PivotTable cannot combine the sources properly. Always verify the model before you format the report.
Example: use a Customers
Use a Customers table for names and regions, and a Sales table for amounts. After the relationship is in place, you can summarize sales by region without flattening the source data.
When should I use Power Pivot instead of a normal pivot table
Use Power Pivot when the report depends on multiple related tables, more advanced summaries, or a model that needs to persist across refreshes. A normal PivotTable is enough for one clean list; Power Pivot and the Data Model are the better fit when the layout needs fields from several tables.
Quick rule
If the data can be stacked into one list, stay with a normal PivotTable. If the data belongs in separate tables with keys between them, use Power Pivot or the Data Model.
Failure points: choose the wrong path
Choose the wrong path and you get split fields, awkward manual joins, or limited summaries. The main clue is whether the data has the same shape or needs a relationship.
Example: a single sales log fits
A single sales log fits a normal PivotTable. Separate Customers, Products, and Sales tables fit Power Pivot better because the report can use their shared keys.
Common mistakes and quick checks
Most failures come from source shape, not from the PivotTable itself. Check headers, key types, and blank rows first. Then verify the relationship and the field list.
Use this compact checklist before you build or refresh the report: confirm the headers match, confirm the key column matches, confirm blank rows are removed, and confirm dates are true dates before grouping. If the source passes those checks, the PivotTable usually behaves.
- Fix header mismatches. Make sure repeated fields use the exact same spelling across files. One extra space can split a field into two names.
- Match data types. Convert text dates, numbers stored as text, and mixed key formats before building the report.
- Remove blank rows. Blank rows inside the source block break refresh logic and can hide new records from the PivotTable.
- Test grouping. Right-click a date field and use Grouping for monthly, quarterly, yearly, or hourly reports. If grouping is disabled, the field is not a true date.
- Verify refresh behavior. Refresh the PivotTable after adding source rows. If new rows do not appear, the range was not converted to a table or the model was not updated.
Say your date column looks right but monthly grouping is grayed out. That usually means the column contains text dates, not date values. Convert the column, refresh the source, and try Group again.
Frequently asked questions
Can a pivot table pull from two different worksheets?
Yes, if the sheets hold tables that are either appended into one list or loaded into the Data Model with a relationship. The worksheet split itself is not the issue; the source structure and key fields are.