top of page

You are learning Power Query in MS Excel

How to import data from Excel tables or ranges into Power Query?

There are two main ways to import data from Excel tables or ranges into Power Query:

Method 1: Using "From Table/Range"

1. Select the table or range: In your Excel worksheet, click on any cell within the table or highlight the entire range of data you want to import.

2. Go to Power Query Editor: Navigate to the "Data" tab in the Excel ribbon. In the "Get Data" group, click on "From Table/Range."

This will automatically launch the Power Query Editor with your selected table or range data loaded as a new query.

Method 2: Using "From Excel Workbook"

1. Open the "Get Data" window: Navigate to the "Data" tab and click on "Get Data" in the "Get Data" group.

2. Select "From Excel Workbook": In the "Get Data" window, choose "From Excel Workbook" from the available options.

3. Browse and select the file: A file explorer window will open. Locate and select the Excel workbook containing the table or range you want to import.

4. Choose the table or range: Once you select the workbook, a dialog box might appear displaying available tables or named ranges within the chosen file. Select the specific table or named range you want to import.

5. Transform or Load: Click on "Transform Data" to open the Power Query Editor and work on the data before loading it into Excel, or choose "Load" to directly import the data based on your selection.

Additional Notes:

* Whichever method you choose, Power Query will import the data structure (columns and headers) of your table or range.
* You can further clean, transform, and manipulate the data within the Power Query Editor before loading it into your Excel worksheet.

For more advanced scenarios, you can also use formulas within Power Query M language to reference specific tables or ranges by name within your Excel workbook.

bottom of page