Connecting Tableau to Excel
Connect to an Excel workbook, handle multiple sheets, fix data types, and understand joins vs unions
Excel is the most common data source for Tableau in real-world analyst jobs. Almost every business has data in spreadsheets — sales reports, HR rosters, inventory logs — and you will regularly be asked to visualise Excel data in Tableau. This chapter covers everything you need to know about Excel connections.
Connecting to Excel in Tableau is straightforward, but there are several things that trip up beginners. First: the row where your data starts matters. Tableau expects the first row to be column headers, not a title or a merged cell. If your Excel file has a formatted title in row 1 and headers in row 2, Tableau will misread the headers and your fields will have generic names like "F1", "F2". You fix this in the Data Source page.
Second: Excel files often have multiple sheets. Tableau lets you work with multiple sheets in two ways — Joins (combine columns from two sheets that share a common key, like joining orders to products on product_id) or Unions (stack rows from sheets that have the same structure, like combining January, February, and March sales tabs).
Third: data types. Excel sometimes stores dates as text, or numbers as text because a cell had a leading apostrophe. Tableau inherits these problems. Always check and fix data types on the Data Source page before building any charts.
- How to connect Tableau to an Excel workbook step by step
- How to join two Excel sheets on a matching key column
- How to union multiple sheets to stack rows
- How to fix the most common Excel connection problems
Steps to connect Tableau to the EVIKA Excel file
Step 1: Open Tableau Desktop / Tableau Public
Step 2: Connect pane (left) → Microsoft Excel
Step 3: Browse to and open evika_data.xlsx
Step 4: Tableau opens the Data Source page
You see the Sheets panel on the left:
📋 orders
📋 products
📋 customers
Step 5: Drag the "orders" sheet onto the canvas
Tableau previews the first 1,000 rows
Step 6: Check data types (top of each column):
order_id → Abc (text) — OK for an ID field
order_date → 📅 (date) — must be Date, not Abc
total_amount → # (number) — correct
Step 7: If order_date shows Abc, click the Abc icon
→ select Date
Step 8: Click Sheet 1 tab → start buildingJoining two Excel sheets (orders + products)
Goal: add product_name and category to each order row
Step 1: Drag "orders" sheet onto the canvas (already there)
Step 2: Drag "products" sheet next to "orders" on the canvas
Tableau auto-detects a matching field and shows a Join circle
Step 3: Click the Join circle to open the Join dialog
Join Type: Inner ✅
Left key: orders.Product Id
Right key: products.Product Id
Step 4: Preview — columns from both sheets now appear:
order_id | order_date | total_amount | product_name | category
Result:
order_id | order_date | total_amount | product_name | category
1001 | 2026-10-01 | 899 | Wireless Mouse | Electronics
1002 | 2026-10-02 | 1499 | USB-C Hub | Electronics
1003 | 2026-10-03 | 495 | Notebook A5 | StationeryUnioning sheets (stacking rows)
Union is for stacking rows — same columns, different sheets.
Example: Jan_Sales, Feb_Sales, Mar_Sales all have:
date | product_name | category | amount
Step 1: Drag Jan_Sales onto the canvas
Step 2: Drag Feb_Sales below Jan_Sales (not beside it)
Tableau shows a Union icon (stack symbol)
Step 3: Rows are stacked — you now have 3 months of data
in one flat table
Step 4: Tableau adds a "Sheet" column automatically
so you can filter or colour by month
Wildcard Union (for many sheets):
Right-click any sheet → New Union → Wildcard (Automatic)
Pattern: Sales_* ← matches Jan_Sales, Feb_Sales, Mar_SalesCommon Excel connection problems and fixes
PROBLEM 1: Headers in row 2, title in row 1 Symptom: Fields named "F1", "F2", "F3" Fix: Data Source page → Data Interpreter button (top left) PROBLEM 2: Date stored as text (Abc icon) Symptom: No year/month drill-down available Fix: Click the Abc icon on the column → select Date PROBLEM 3: Numbers stored as text Symptom: SUM gives wrong result or Measure shows Abc Fix: Click the data type icon → select Number (decimal) PROBLEM 4: Blank rows at top or bottom Symptom: Aggregates include nulls Fix: Data Source page → Filters > Add → Exclude Null PROBLEM 5: Merged cells in Excel Symptom: Tableau reads only the first cell of merged range Fix: Unmerge cells in Excel and fill down before connecting
Join types in Tableau
| Join type | Keeps | Use when |
|---|---|---|
| Inner | Rows matching in BOTH sheets | You only want rows with data in both tables |
| Left | All rows from left + matching from right | You want all orders even if product is missing |
| Right | All rows from right + matching from left | Rare — Left Join is usually clearer |
| Full Outer | All rows from both, NULLs where no match | Audit: find rows missing from either side |
Key Points
- ✓Always check data types (especially dates) on the Data Source page before building charts
- ✓Use Data Interpreter if Excel has titles or merged cells in header rows
- ✓Join = combine columns from two sheets sharing a key; Union = stack rows from same-structure sheets
- ✓Tableau adds a "Sheet" column automatically in a Union — useful for filtering by source sheet
- ✓Extract your Excel connection for faster performance on files over 10,000 rows
Tips
FAQ
You have two Excel sheets: "orders" (order_id, product_id, total_amount) and "products" (product_id, product_name, category). You want one table with order details AND product names. What do you do?