Connect to a web page (Power Query)

Note: Power Query is known as Get & Transform in Excel 2016. Information provided here applies to both. To learn more, see Get & Transform in Excel 2016.

With Power Query, you can access and discover data in a web page that can be combined with data within your organization. To learn more about how to import data from a web page into Excel, see Power Query 101.

  1. In the POWER QUERY ribbon tab, click From Web.

    Power Query Ribbon
  2. In the From Web dialog box, enter a Web page URL.

  3. Click OK.

  4. If the web page requires user credentials:

    1. In the Access Webdialog box, click a credentials option, and provide authentication values.

    2. Click Save.

Formula Example

You can use the Query Editor to write formulas for Power Query.

= Web.Page
(Web.Contents("http://en.wikipedia.org/wiki/UEFA_European_Football_Championship"))

Note: The Query Editor only appears when you load, edit, or create a new query using Power Query. The following video shows the Query Editor window appearing after editing a query from an Excel workbook. To view the Query Editor without loading or editing an existing workbook query, from the Get External Data section in the Power Query ribbon tab, select From Other Sources > Blank Query. The following video shows one way to display the Query Editor.

How to see Query Editor in Excel

Share Facebook Facebook Twitter Twitter Email Email

Was this information helpful?

Great! Any other feedback?

How can we improve it?

Thank you for your feedback!

×