Locked lesson.
About this lesson
You won't always want to format your source data as an Excel Table, and in this module we will show you how to get it into Power Pivot anyway.
Exercise files
Download this lesson’s related exercise files.
Getting Data from Excel Ranges.xlsx561.6 KB Getting Data from Excel Ranges - Completed.xlsx
672.4 KB
Quick reference
Getting Data from Excel Ranges
An overview of importing data from defined Excel ranges.
When to use
When you want to bring data from a worksheet into Power Query without applying table formatting.
Instructions
To define a named range you can either:
- Highlight the range in the worksheet --> Formulas --> Name Manager --> New --> type name
- Select the range in the worksheet --> go to the Name box --> type name
To load data to Power Query from a named range
- Select the name from the Name box to ensure it is selected
- Create a new query --> From Other Sources --> From Table/Range
- Prepare the data as required
Unpivoting Data
- Select the column(s) that you want to keep as is
- Right click the column header and select Unpivot Other Columns
- Rename the Attribute and Values columns
- Set data types as needed
- Name the query
- Click the Close & Load To… button
Hints & tips
- Quickly select the entire range of data in a worksheet by clicking on the first cell, then holding down the SHIFT key and pressing CTRL + END
- The Fill function fills data up or down, but only into cells containing the null keyword
Lesson notes are only available for subscribers.