Power Query Problems

How to Import Google Search Results into Excel with Power Query

John WilsonJohn Wilson Nov 2, 2026 869 views

Question details

The user wants to extract a list of local businesses, including names, addresses, and phone numbers, from Google search results directly into an Excel spreadsheet without copying manually.

How to Import Web Search Results into Excel Using Power Query
Product
Excel
Device & OS
not provided
Scenario
Scraping and importing web-based business contact lists into a structured spreadsheet format for lead generation or directory creation.
Observed behavior
Google search result pages lack a standard HTML table structure, making it difficult or impossible for Power Query to reliably recognize and import the data.
Before you start

Verify that your data extraction complies with the target website's terms of service and usage policies. Since Google Search pages do not present data in structured tables, you will have better success finding a local business directory website to use as your data source.

Solution 1Recommended

Use Power Query to Import Data from a Structured Directory Website

Bypass Google's unstructured search results by locating a directory website with stable tables, then use Excel's Get & Transform Data feature to import the list.

A standard Google search results page does not expose its underlying data in a format that works directly with Excel's Power Query. Web scraping tools require predictable, tabular data structures.

To accomplish your goal without manual copy-pasting, find an industry directory, chamber of commerce list, or registry website that organizes the contractors into standard HTML tables. Once located, Power Query can easily pull this information into your workbook.

1
Copy the Directory URL

Navigate to a business directory website containing the list of contractors you need and copy the page's URL from your browser's address bar.

2
Open Get Data in Excel

Launch Microsoft Excel, open your target workbook, and click on the 'Data' tab in the top ribbon. Click 'Get Data', hover over 'From Other Sources', and select 'From Web'.

3
Enter the Web URL

In the prompt that appears, paste the copied directory URL into the text box and click 'OK' to establish a connection to the website.

4
Select the Appropriate Table

The Navigator window will open, displaying all elements Excel found on the webpage. Click through the items under the 'Display Options' panel to preview them. Check the box next to the table containing the business names, addresses, and phone numbers.

5
Transform and Load the Data

Click 'Transform Data' to open the Power Query Editor. Here, you can delete unnecessary columns or filter out blank rows. Once the list is clean, click 'Close & Load' in the Home tab to import the finalized data directly into your spreadsheet.

Use Power Query to Import Data from a Structured Directory Website
Table Identification: If the Navigator window displays 'Document' instead of 'Table', the webpage does not contain structured HTML tables. You will need to find an alternative website to extract the data.
Free Microsoft Office alternative

Try WPS Office for Seamless Spreadsheet Data Management

If you find Microsoft Excel's Power Query too complex or are looking for a highly capable, cost-effective spreadsheet tool, WPS Office is an excellent choice. It provides a lightweight, familiar interface for managing your business lists and data securely.

Fully compatible with Microsoft Excel formats (.xlsx, .xls, .csv).Lightweight software that runs smoothly without draining system resources.Familiar ribbon interface requiring zero learning curve for standard Office users.Free to download and use with essential data sorting and formatting tools included.
microsoft office alternative - wps office

Frequently Asked Questions

Why doesn't Power Query recognize Google Search results as a table?

Google Search result pages are dynamically generated and use complex nested HTML elements instead of standard <table> tags. Power Query relies on conventional table structures to accurately identify and extract rows and columns of data.

Are there other tools that can extract data directly from Google?

Yes. While Power Query struggles with unstructured pages, dedicated web scraping extensions or Python scripts (using libraries like BeautifulSoup or Selenium) are better suited for scraping dynamic search engine results.

How do I clean up web data after importing it into a spreadsheet?

Once your data is loaded into the spreadsheet, you can use built-in tools like 'Text to Columns' to split addresses, 'Remove Duplicates' to clear redundant entries, and standard find-and-replace functions to format phone numbers uniformly.

Does WPS Spreadsheets support opening files generated by Power Query?

Yes. Once the data is imported and saved as a standard .xlsx or .csv file in Excel, you can open, edit, and manage that file seamlessly in WPS Spreadsheets without losing the text data.