Tutorials › Tableau › Connecting Tableau to Excel

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.

What you will learn
  • 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 building
💡 Always check data types before going to the worksheet. Fixing them afterwards requires going back to the Data Source page.

Joining 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     | Stationery
💡 Use Inner Join when you only want rows that exist in both sheets. Use Left Join when you want all rows from the left sheet even if no matching row exists in the right.

Unioning 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_Sales
💡 Join = combining columns (horizontal). Union = stacking rows (vertical). They solve different problems.

Common 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 typeKeepsUse when
InnerRows matching in BOTH sheetsYou only want rows with data in both tables
LeftAll rows from left + matching from rightYou want all orders even if product is missing
RightAll rows from right + matching from leftRare — Left Join is usually clearer
Full OuterAll rows from both, NULLs where no matchAudit: 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

💡 Always rename Excel sheets to clear names (orders, products) before connecting — "Sheet1" is confusing in Tableau.
💡 If you update the Excel file after connecting, go to Data menu → Refresh Data to pull in the changes.
💡 Use the Metadata view (toggle at bottom of Data Source page) to see all field names and types at a glance.
💡 Extract your Excel connection for faster performance — especially for files over 10,000 rows.

FAQ

Can Tableau connect to a password-protected Excel file?
No — Tableau cannot open password-protected Excel files. Remove the password in Excel first (File → Info → Protect Workbook → Encrypt with Password → delete the password), then reconnect in Tableau.
What is the difference between a Join in Tableau and a JOIN in SQL?
Conceptually identical — both combine columns from two tables on a matching key. The difference is where: SQL JOINs run on the database server; Tableau joins run in Tableau's extract engine for file connections. The result is the same flat table of combined columns.
My Excel file has 50 sheets — do I drag each one manually?
No. Use a Wildcard Union if the sheets have the same structure and a consistent naming pattern. If structures differ, consider restructuring the Excel file first.
Practice Question

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?

Union the two sheets
✅ Join the two sheets on product_id
Create a calculated field
Use a parameter
Explanation: You need a Join on product_id — this combines columns from both sheets for rows that share the same product_id. Union would stack rows (requiring both sheets to have the same columns), which is not what you want here.
← Tableau Interface OverviewThe Data Source Page in Depth →
Want live Tableau training?
EVIKA Academy, Noida Sector 51 — hands-on projects, job-ready curriculum
Book a Free Demo →