PDF download Download Article PDF download Download Article

This wikiHow teaches you how to use the Power Query feature in Excel 2016 on a Windows and Mac computer. Power Query is an Excel function that allows you to import data from a variety of sources (Excel tables, CSV files, online database, etc.), and easily reconfigure the data into a pivot table in a spreadsheet.[1] Microsoft released Power Query and Power Pivot as Excel Add-ons in 2010 but these features are now standard in Excel 2016 under the "Get and Transform" function.[2]

  1. It's the app icon that resembles a green spreadsheet with a white "X" on the cover.
  2. To open a new document, either click "New" in the green sidebar of the opening screen—or if you have an existing document open—click "File" and then click "New."
    Advertisement
  3. It's in the menu bar at the top of Excel 2016.
  4. It's next to an icon that resembles a table in front of a battery in the "Get and Transform" box. This displays a drop-down menu with a variety of source types you can import data from.
    • On Mac, click either "From HTML", "From Text", or click "New Database Query."
  5. The "New Query" drop-down menu contains a variety of sub-menus that allow you to import data from a variety of data source types. This opens a browser menu to browse source files. Click a file to select it, and then click "Import". The source type menus include:
    • From File: This menu allows you to import data from another Excel worksheet, a CSV file, XML file, JSON, and more.
    • From Database: This menu allows you to import data from a database such as MySQL or Oracle.
    • From Online Service: This menu allows you to import data from online sources, such as SharePoint, Microsoft Exchange, Salesforce, and Facebook.
    • From Other Sources: This menu allows you to import data from other sources, such as the web, Active Directory, OData, Hadoop files, ODBC, OLEDB, and a blank query.
  6. When you import data from an external file or source, a window pops up that allows you to select specific data from your source. Click the data type you want to load in the sidebar to the right. Then click "Load" in the lower-right hand corner of the window. This loads the data and creates a connection to the data source.
  7. All queries are listed under the "Workbook Queries" sidebar to the right. Double-clicking a query opens the query editor.
    • If the "Workbook Queries" sidebar isn't showing on-screen, click the "Data" tab and then click "Queries & Connections" in the "Get and Transform" section. On Mac, click the "Connections" button to list the current connections.
  8. The query editor has a ton of tools you can use to edit and transform your data. You can add or remove columns and rows, merge or append queries, and transform data in various ways.
    • If you are merging two data queries together, click "Merge Queries". Then you will need to select a common data field that the two queries will be merged together by. Then use the "Join Kind" drop-down menu to select what information will be included after they are merged.
  9. It's the button that has an icon of a purple disk in front of a sheet of paper. It's on the far-left under the "Home" tab. This exports the data from the query editor into the Excel worksheet.
  10. Advertisement

Expert Q&A

Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
Advertisement

Tips

Submit a Tip
All tip submissions are carefully reviewed before being published
Name
Please provide your name and last initial
Thanks for submitting a tip for review!

You Might Also Like

Import Web Data Into Excel on PC or Mac2 Ways to Import Data from the Web into Excel: Windows & Mac
Connect Excel to an Oracle Database Connect Excel to an Oracle Database
Create a Database from an Excel SpreadsheetCreate a Database from an Excel Spreadsheet
Create Pivot Tables in Excel Create Pivot Tables in Microsoft Excel to Analyze Data
Copy a Table from a PDF to Excel Copy a Table from a PDF to Excel
Convert XML to Excel2 Easy Ways to Import and Convert XML in Microsoft Excel
Use Microsoft AccessThe Ultimate Guide to Using Microsoft Access
Edit Data in Microsoft Excel3 Simple Ways to Edit Data in MS Excel
Consolidate in Excel Consolidate Data and Text in Microsoft Excel
Edit a Pivot Table in ExcelEdit a Pivot Table in Excel
Add Data to a Pivot TableAdd Data to a Pivot Table
Embed a SQL Query in Microsoft ExcelEmbed a SQL Query in Microsoft Excel
Open an SQL FileView and Edit SQL Files: MySQL Workbench, Excel, & More
Import Excel Into AccessA Complete Guide on Importing Excel into Access & Formatting Your Data
Advertisement

About This Article

Travis Boylls
Written by:
wikiHow Technology Writer
This article was co-authored by wikiHow staff writer, Travis Boylls. Travis has been a tech writer at wikiHow for more than 10 years. He has also worked in technical support for Dish Network and AT&T Wireless. He studied graphic design and web design at Pikes Peak Community College. He specializes in Windows, macOS, Linux, Android, iOS, and video game consoles. Travis has had a fascination with computers and technology that goes all the way back to childhood. He is proficient in all manner of software and computer operating systems. This article has been viewed 59,348 times.
How helpful is this?
Co-authors: 6
Updated: May 4, 2021
Views: 59,348
Categories: Microsoft Excel
Article SummaryX

1. Click the Data tab.
2. Click Get Data.
3. Select a data source and select your data to import.
4. Double-click a query to edit it.
5. Click Close and Load.

Did this summary help you?

Thanks to all authors for creating a page that has been read 59,348 times.

Is this article up to date?

Advertisement