Video | Excel | Data prep | Data visualisation

How to use excel named ranges in Tableau | Tableau tutorial

If a difficult Excel file has multiple tables stuffed onto one sheet, named ranges will save your bacon in Tableau.

Part of Tableau Key Concepts
Watch on YouTube
  • Named ranges let you define discrete tables within a single Excel sheet by setting the top-left and bottom-right cell boundaries via Formulas > Define Name.
  • Tableau Desktop and Tableau Prep both read Excel named ranges, showing them with a distinct icon and treating each as a separate connection you can union, join or relate.
  • If a named range that already exists isn't a formatted table, just highlight the range and define a name; an unnamed range borrows the first column's value as its name.
  • Tableau can cache Excel files, so close the workbook and reconnect, restart Tableau, or save under a new filename to force the freshest data through.
  • After a union, Tableau adds a Table Name field so you retain context on which named range each row originated from.
  • Named ranges are best reserved for dynamically updated Excel files with no better source; otherwise prefer pulling from the raw data, Tableau Prep or Alteryx.

You can connect to a named range or an Excel table (also known as an Excel list) in the same way as you connect to a worksheet. Both the named range and Excel table function as a table in Tableau.You create named ranges in Excel by selecting a range of cells and then selecting Define Name on the Formulas tab. Similar to named ranges, you can create an Excel table in Excel by selecting a range of cells, and then selecting Insert - Table. When you connect to a named range or Excel table in Tableau, an icon appears next to the sheet in the Data Source page, as shown below.00:00 - Intro00:16 - When to use this trick01:31 - Named ranges in Excel and how they work04:03 - How to connect to named ranges in Tableau Desktop06:34 - Working with the connections08:53 - Connecting to named range sin Tableau PrepFollow me on Twitter: https://twitter.com/TableauTim My recording gear & what’s on my desk. https://kit.co/TableauTim/desk-setup My website: https://www.tableautim.com/ My Screen Annotation Tool: https://j.mp/3HWc4MjMy technology Channel: https://j.mp/3F0d28f

The Drilldown
a just-tim newsletter

Liked this? Get the honest take most weeks.

New essays about the industry as they land. My running read on what's worth your attention. By email or on LinkedIn.

5,323 subscribers and counting

or
inRead it on LinkedIn

Email via beehiiv. No spam, unsubscribe any time.