Excel cannot link tables because the feature you are thinking of (Power Pivot relationships) is not available in every edition, the tables are not formatted as real Excel Tables, or the link is being attempted from the wrong place. The quickest fix is to confirm your Excel edition supports relationships, convert both ranges to proper Tables with unique, clean headers, and create the link inside the Data Model rather than on the worksheet. If you only need to pull values from one table into another, a lookup formula is the simpler and more reliable route.
What You'll Need
- Excel for Microsoft 365, Excel 2021, 2019, or 2016 (Windows or Mac). Excel for the web and Excel Starter do not support the Data Model or table relationships.
- Two or more data ranges, each with a single header row and no blank rows or merged cells.
- One column in each table that holds matching values (a key), such as Customer ID, Product Code, or Email.
- Optional but helpful: the Power Pivot add-in enabled if you want to manage relationships visually. Go to File > Options > Add-ins, choose COM Add-ins in the Manage dropdown, click Go, and tick Microsoft Power Pivot for Excel.
Step-by-Step
- Check your Excel edition first. Click File > Account and look at the product name. If it says Excel for the web, Excel Starter, or an older perpetual version before 2013, the Data Model and relationships are not available. You will need a desktop subscription or a newer perpetual licence, or you must use lookup formulas instead (see Step 8).
- Convert each range to a real Excel Table. Select a cell inside the first range and press Ctrl+T (Windows) or Command+T (Mac). Confirm the range and tick "My table has headers". Repeat for the second range. Give each table a meaningful name on the Table Design tab (called Table on Mac) in the Table Name box, for example tblCustomers and tblOrders.
- Clean the headers. Every column must have a unique, non-blank header. Remove merged cells, remove duplicate header names, and make sure there are no blank rows inside the data. Relationships fail silently or throw errors when headers are duplicated.
- Check the key columns. The column you will link on should contain the same data type in both tables. If one table stores Customer ID as text and the other as a number, the relationship will not work. Use Data > Text to Columns or a helper column with VALUE() or TEXT() to make them match.
- Add both tables to the Data Model. Click inside the first table, then go to Power Pivot > Add to Data Model (or Data > Manage Data Model). Repeat for the second table. If you do not see Power Pivot on the ribbon, enable the add-in as described in What You'll Need.
- Create the relationship. In the Power Pivot window, go to Design > Manage Relationships > Create. Choose the first table and its key column, then the second table and its matching key column. If the key is unique in one table (for example Customer ID in tblCustomers), that table should be the "one" side; the other is the "many" side. Click OK.
- Verify the link. In the Power Pivot diagram view, you should see a line connecting the two tables. In a PivotTable based on the Data Model, drag fields from both tables and confirm the values line up. If the line is missing, the relationship was not saved.
- Use a formula if relationships are not available. If your edition lacks the Data Model, use XLOOKUP or INDEX/MATCH. For example, in tblOrders add a column with =XLOOKUP([@CustomerID], tblCustomers[CustomerID], tblCustomers[CustomerName], "Not found"). This pulls the customer name into the orders table without any relationship.
Common Mistakes
- Linking plain ranges instead of Tables. Relationships require structured Tables or Data Model tables. A plain range will not appear in the Manage Relationships dialog.
- Duplicate or blank headers. Excel will not create a relationship if a table has two columns with the same name or a blank header. Fix the headers first.
- Mismatched data types. A numeric ID in one table and a text ID in the other is the most common cause of a relationship that appears to work but returns blank or wrong results.
- Duplicate keys on the "one" side. The table you treat as the lookup side must have unique values in the key column. If it does not, Excel cannot decide which row to use.
- Using Excel for the web. The web app does not support the Data Model or table relationships. You must open the file in desktop Excel.
- Forgetting to refresh. After adding rows to either table, refresh the Data Model (Data > Refresh All) or the PivotTable will show stale results.
Tips
- Name your tables descriptively. tblCustomers and tblOrders are easier to spot in the Manage Relationships dialog than Table1 and Table2.
- Keep key columns as the first column in each table where possible. It makes diagram view and formula writing clearer.
- Use Power Query (Data > Get & Transform Data) to clean and merge tables before loading them to the Data Model. It handles data type mismatches more gracefully than manual fixes.
- If you only need a few lookups, formulas are faster to set up and easier to audit than a full Data Model.
- Document your relationships. A simple note listing which table links to which on which column saves hours later.
Troubleshooting
The Create button is greyed out. This usually means one of the selected tables has no unique key column, or you are trying to link two tables that are already linked. Check for duplicate values in the intended "one" side.
The relationship is created but PivotTable values are blank. Check that the key values actually match. A trailing space, a leading apostrophe, or a number stored as text will break the match. Use TRIM() and VALUE() in helper columns to normalise.
Excel says the relationship already exists. Open Manage Relationships and delete the duplicate before creating a new one. Only one active relationship between two tables is allowed at a time.
Power Pivot tab is missing. Enable the COM add-in as described in What You'll Need. On Mac, Power Pivot is not available in all builds; check the version in File > Account.
Refresh fails with a data type error. One of the key columns changed type after an import. Open Power Query, set the column type explicitly, and reload.
If that did not work, fall back to lookup formulas (XLOOKUP or INDEX/MATCH). They work in every Excel edition and do not depend on the Data Model.
Frequently Asked Questions
Why can't I link two tables in Excel?
Most often because your Excel edition does not support the Data Model, the ranges are not formatted as Tables, or the key columns do not match in data type. Check the edition first, then the table formatting.
Do I need Power Pivot to link tables?
No. You can create relationships through Data > Manage Data Model without the Power Pivot add-in, but the add-in makes the process easier to see and manage.
Can I link tables in Excel for the web?
No. Excel for the web does not support the Data Model or table relationships. Open the workbook in desktop Excel to create or edit them.
What is the difference between a relationship and a lookup formula?
A relationship links two tables inside the Data Model and is used by PivotTables and Power Pivot. A lookup formula pulls a value from one table into a column in another and works on the worksheet in any edition.
Why does my relationship return blank values?
The key values do not match exactly. Check for trailing spaces, text stored as numbers, or case differences. Normalise both columns before linking.
Can I link more than two tables?
Yes. Add each table to the Data Model and create a relationship for each pair. Keep the keys consistent so the chain of relationships stays valid.